Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Oscaffiliate error when i try to upload


Recommended Posts



I use oscaffiliate (1.09 MS2)


When i try to upload a banner the script says:

Warning: copy(): open_basedir restriction in effect. File(/tmp/phpdGEjvK) is not within the allowed path(s): (/usr/local/psa/home/vhosts/witteraven.nl/httpdocs) in /usr/local/psa/home/vhosts/witteraven.nl/httpdocs/xs2discount/catalog/admin/affiliate_banners.php on line 71

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/psa/home/vhosts/witteraven.nl/httpdocs/xs2discount/catalog/admin/affiliate_banners.php:71) in /usr/local/psa/home/vhosts/witteraven.nl/httpdocs/xs2discount/catalog/admin/includes/functions/general.php on line 18


Does anyone know how to solve this?

Link to comment
Share on other sites

You provider set your php upload dir to /tmp (default)

but you aren't allowed to acess this.

-> contact you provider to fix his (miss)configuration


-> in newer OSC Versions there's a upload class which could handle this.

For this the contributon has to be adjusted


Cu Henri

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...