News:

Support the VirtueMart project and become a member

Main Menu

VM3 Safe Path

Started by jimleeder123, April 24, 2015, 17:58:30 PM

Previous topic - Next topic

jimleeder123

I've made a folder outside httpdocs (domain.co.uk/private/vmfiles) like it wants me to for the safe path, but its not picking it up. Permissions for the "private" and "vmfiles" are 755. Ami I doing anything wrong? Whats the url line for outside httpdocs? I've got it as /var/www/vhosts/domaingoeshere.co.uk/private/vmfiles/ like it suggests but no luck.

Alternatively how can I stop it saying about the safe path in cart page when paypal is selected?

I am using Plesk 10.3.1 which runs on CentOS for the server
Web Developer and blogger

Joomla 3.4.8  (2.5 on some)
VM 3.0.12
PHP 5.6 (5.4 on websites with Joomla 2.5)

http://jimleeder.co.uk

rlrick


jimleeder123

I have written it as required but it cannot seem to find the folder. I have tried it with permissions 777 and 755 and it doesn't work. Is it because it can't go outside of the httpdocs folder?
Web Developer and blogger

Joomla 3.4.8  (2.5 on some)
VM 3.0.12
PHP 5.6 (5.4 on websites with Joomla 2.5)

http://jimleeder.co.uk

jimleeder123

In admin area I get this error if helps - Warning: is_dir(): open_basedir restriction in effect. File(/var/www/vhosts/justgeordies.co.uk/private/vmfiles/) is not within the allowed path(s): (/var/www/vhosts/justgeordies.co.uk/httpdocs/:/tmp/) in /var/www/vhosts/justgeordies.co.uk/httpdocs/new/libraries/joomla/filesystem/folder.php on line 458
Web Developer and blogger

Joomla 3.4.8  (2.5 on some)
VM 3.0.12
PHP 5.6 (5.4 on websites with Joomla 2.5)

http://jimleeder.co.uk