Adyx Posted July 4, 2008 Share Posted July 4, 2008 Hi, This contribution : http://www.oscommerce.com/community/contributions,614 Appears to have problems in php5/mysql5, specifically it fails to upload the images when adding a product. I think it must be the synax in admin/categories.php, but i am unsure of exactly which bit of the code needs to be changed. Any help would be greatly appreciated. ;) Quote Link to comment Share on other sites More sharing options...
Adyx Posted July 4, 2008 Author Share Posted July 4, 2008 Further checking on this, and it looks like it is not actually the contribution at fault. I tried the file manager to verify if any uploads would work. They dont! ~~~~~~~~~~~~~~~~~~~~~~~ PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0, referer: http://www.########.co.uk/admin/file_manag...p?action=upload PHP Warning: Unknown: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/vhosts/#####.co.uk/httpdocs:/temp/var/vhosts:/var/www/vhosts) in Unknown on line 0, referer: http://www.######.co.uk/admin/file_manager.php?action=upload ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Is this directly related to the server settings OR maybe the tmp directory is not in the correct place ? The weird thing is, another account on the same server is fine. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.