I've purchased VechicleManager PRO, installed locally and then uploaded to my server via FTP.
So the owner of the files of the server is my FTP user, not Apache User.
I've configured the Joomla FTP Layer so Joomla works fine, and I can modify vehicles data.
But when I want to upload a new main photo (and additional photo) I'm getting this errors in Apache's error log:
[Wed Sep 12 19:12:07 2012] [error] [client ip] File does not exist: /var/
www/vhosts/mydomain.com/httpdocs/compone...anager/photos/_mini, referer:
mydomain.com/administrator/index.php
[Wed Sep 12 19:12:17 2012] [error] [client ip] PHP Notice: Undefined index: del_photos in /var/
www/vhosts/mydomain.com/httpdocs/adminis...n.vehiclemanager.php on line 1977, referer:
mydomain.com/administrator/index.php
[Wed Sep 12 19:12:25 2012] [error] [client ip] File does not exist: /var/
www/vhosts/mydomain.com/httpdocs/compone...anager/photos/_mini, referer:
mydomain.com/administrator/index.php
[Wed Sep 12 19:12:48 2012] [error] [client ip] PHP Warning: copy(/var/
www/vhosts/mydomain.com/httpdocs/compone...D8F7F402_oceanis.jpg) [<a href='function.copy'>function.copy</a>]: failed to open stream: Permission denied in /var/
www/vhosts/mydomain.com/httpdocs/adminis...n.vehiclemanager.php on line 1850, referer:
mydomain.com/administrator/index.php
[Wed Sep 12 19:12:48 2012] [error] [client ip] PHP Warning: copy(/var/
www/vhosts/mydomain.com/httpdocs/compone...beneteau_oceanis.jpg) [<a href='function.copy'>function.copy</a>]: failed to open stream: Permission denied in /var/
www/vhosts/mydomain.com/httpdocs/adminis...n.vehiclemanager.php on line 1933, referer:
mydomain.com/administrator/index.php
[Wed Sep 12 19:12:48 2012] [error] [client ip] PHP Notice: Undefined offset: 1 in /var/
www/vhosts/mydomain.com/httpdocs/adminis...n.vehiclemanager.php on line 1932, referer:
mydomain.com/administrator/index.php
[Wed Sep 12 19:12:48 2012] [error] [client ip] PHP Notice: Undefined offset: 1 in /var/
www/vhosts/mydomain.com/httpdocs/adminis...n.vehiclemanager.php on line 1933, referer:
mydomain.com/administrator/index.php
[Wed Sep 12 19:12:48 2012] [error] [client ip] PHP Warning: copy() [<a href='function.copy'>function.copy</a>]: open_basedir restriction in effect. File() is not within the allowed path(s): (/var/
www/vhosts/mydomain.com/httpdocs:/tmp) in /var/
www/vhosts/mydomain.com/httpdocs/adminis...n.vehiclemanager.php on line 1933, referer:
mydomain.com/administrator/index.php
[Wed Sep 12 19:12:48 2012] [error] [client ip] PHP Notice: Undefined index: del_photos in /var/
www/vhosts/mydomain.com/httpdocs/adminis...n.vehiclemanager.php on line 1977, referer:
mydomain.com/administrator/index.php
[Wed Sep 12 19:12:57 2012] [error] [client ip] File does not exist: /var/
www/vhosts/mydomain.com/httpdocs/compone...anager/photos/_mini, referer:
mydomain.com/administrator/index.php
I can delete existing vehicle's photos, the problem is that I can't upload new photos. I'm pretty sure it's a permission problem with a temp dir. Were does the images are being copied?
thanks