Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Big Images Contribution


Adyx

Recommended Posts

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. ;)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...