Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

3 Errors


Ed_ee

Recommended Posts

Can some one here please help me on this

the module is called pdf_data_sheet

well i have installed every thing which i was told but for some reason i am getting this error when i click on the logo which i set.

This is the error which i get can some one here please help me to solve this problem.

 

Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/mysite.co.uk/httpdocs/shop/pdf/fpdf/fpdf.php on line 1596

 

Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/mysite.co.uk/httpdocs/shop/pdf/fpdf/fpdf.php on line 1596

 

Warning: Cannot add header information - headers already sent by (output started at /home/httpd/vhosts/mysite.co.uk/httpdocs/shop/pdf/fpdf/fpdf.php:1596) in /home/httpd/vhosts/mysite.co.uk/httpdocs/shop/pdf/fpdf/fpdf.php on line 1022

FPDF error: Some data has already been output to browser, can't send PDF file

 

 

Thank you

Link to comment
Share on other sites

It looks to me like open_basedir restrictions are in effect on your server. This means that you are restricted to working with only the files, directories, etc, located above your user account root level.

 

Fortunately, it's a quick solution (assuming you have root access) - your php.ini file needs a quick modification.

 

Open up your "php.ini" file (normally located in the /etc directory on *unix systems) with pico, vi, or whatever you use to edit these kind of files on your server via the command line.

 

Scroll down until you find "open_basedir =" (with some directory listing on the right) and either comment the entire line out with ";" (for example: ;open_basedir = ) or figure out what directory the PHP script is trying to access and change the directory in the open_basedir directive to a directory above that.

 

If you don't have access to your php.ini file than your only alternative is to find a dedicated server or VPS to host on, or ask your host if they can fix the open_basedir directive for you.

 

Hope it helps :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...