OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
cannot add new photos - permission problem (0 viewing) 

VehicleManager component support

Go to bottom Favoured: 0

Cannot add new photos - permission problem

info@myotragus.net (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
cannot add new photos - permission problem 11 Years, 7 Months ago
Karma: 0  
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
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8241
graph
User Offline Click here to see the profile of this user
Re:cannot add new photos - permission problem 11 Years, 7 Months ago
Karma: 101  
Hello,

True say, I not full understand how and what you move.

If you move - you was need move all files and database

Photos we save in
{yours site}/components/com_vehiclemanager/photos/

Thanks
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
info@myotragus.net (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:cannot add new photos - permission problem 11 Years, 7 Months ago
Karma: 0  
Hi. I've moved everything: database and photos.

My photos are there ({yours site}/components/com_vehiclemanager/photos/), and I can delete exising photos. But when I want to upload a new photo I get this error. Maybe is the copy function?
I noticed this error:
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)

Where does you upload the temporary files to the server before copying it to {yours site}/components/com_vehiclemanager/photos/?

thanks
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8241
graph
User Offline Click here to see the profile of this user
Re:cannot add new photos - permission problem 11 Years, 7 Months ago
Karma: 101  
Hello,

True say I not know where http server save self tmp files.

But as me seem - that must be good confugured.

Please try do backup copy old site(files with database), please do full uninstall Vihicle manager and again reinstall.
Please check how all work.

After that please recover Vehicle manager database (all tables with vehicles) and recover folder "photos"

Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»