News:

Support the VirtueMart project and become a member

Main Menu

Warning Message

Started by carbar, September 14, 2013, 16:18:53 PM

Previous topic - Next topic

carbar

Hi,

I have VM 2.0.20b installed on joomla 2.5.7.

I get a bunch of warnings when I go to components/virtuemart such as:
Warning: file_put_contents(/joomladir/cache/com_virtuemart.updates.ini) [function.file-put-contents]: failed to open stream: Permission denied in /joomladir/libraries/joomla/filesystem/file.php on line 418

same thing for /administrator/components/com_virtuemart/liveupdate/classes/download.php


I guess I should change the ownership and rights, right? Will that be safe?

Thanks,
:)

jenkinhill

Directories should be 755 and files 644 - if anything less secure is required then there is likely to be a server configuration issue.


Note that your Joomla and VirtueMart versions are old and have known security issues.
http://forum.virtuemart.net/index.php?topic=118683.0
http://virtuemart.net/news/list-all-news/446-important-security-release-vm-team-at-joomladay-germany

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

carbar

Thanks for the info Jenkin, logically I should upgrade Joomla first I guess?! :-\

jenkinhill

That should already have been done.   ???
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

carbar

Thanks for your reply  :)
I could move a bit forward by changing some directory permissions but I got stuck in here:
Virtuemart 2 All in one Installer – Live Update
Quote
Warning: curl_exec() has been disabled for security reasons in /joomladir/administrator/components/com_virtuemart_allinone/classes/download.php on line 194
Live Update is not supported on this server

Your server indicates that Live Update is not supported. Please contact your host and ask them to enable the cURL PHP extension or activate the URL fopen() wrappers. If these are already enabled, please ask them to configure their firewall so that it allows access to the following URL:

http://virtuemart.net/index.php?option=com_ars&view=update&format=ini&id=4

You can always update Virtuemart 2 All in one Installer by visiting our site manually, downloading the latest release and installing it using Joomla!'s extension installer.

I'm not sure how to proceed now, please help!!!

jenkinhill

I'd be looking for a new host!

But you can update VM by using Joomla's extensions installer, which is the method I always use as it gives me control over what is happening. I described this in http://forum.virtuemart.net/index.php?topic=118569.msg402573#msg402573
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

carbar

Thanks Jenkin,

I upgrade VM as you instructed to version 2.022c. :)
Only the aio gave a warning message:
Quote
Warning: require(/joomladir/plugins/vmpayment/sofort/sofort.php) [function.require]: failed to open stream: No such file or directory in /joomladir/tmp/script.vmallinone.php on line 355
,which I guess won't be a big deal for now as I'm not yet using any payment gateway.