VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: carbar on September 14, 2013, 16:18:53 PM

Title: Warning Message
Post by: carbar on September 14, 2013, 16:18:53 PM
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,
:)
Title: Re: Warning Message
Post by: jenkinhill on September 14, 2013, 16:29:09 PM
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

Title: Re: Warning Message
Post by: carbar on September 15, 2013, 10:37:42 AM
Thanks for the info Jenkin, logically I should upgrade Joomla first I guess?! :-\
Title: Re: Warning Message
Post by: jenkinhill on September 15, 2013, 10:50:54 AM
That should already have been done.   ???
Title: Re: Warning Message
Post by: carbar on September 15, 2013, 16:36:14 PM
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!!!
Title: Re: Warning Message
Post by: jenkinhill on September 15, 2013, 17:03:23 PM
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
Title: Re: Warning Message
Post by: carbar on September 17, 2013, 13:56:52 PM
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.