Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

strange error? any ideas please?


carvolution

Recommended Posts

Posted

hi everyone.

trying to get site working corectly. and had a CGI error, just phoned hosts and they reccommended to turn of LOAD BALANCING, which i did, i then got loads of errors at top of screen.

so i turned back on LOAD BALANCING and now most errors have gone except this one:

 

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/install) is not within the allowed path(s): (/tmp:/usr/share/pear:/home/nas03l/c/carvolution-security.com/user) in /home/nas03l/c/carvolution-security.com/user/htdocs/catalog/includes/header.php on line 15

 

 

and also if i click on one of my products, it comes up saying product not found.

anyone any ideas?

cheers

Posted

This is what you header.php says on that line

 

if (WARN_CONFIG_WRITEABLE == 'true') {

if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) {

$messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning');

 

This would mean that your configure.php files are writeable. Change the permissions to read only. You have 2 of then 1 for catalog and 1 for admin

Posted

thanks for the reply.

i have tried to change permissions and still no luck.

i have spoke to my host and they said that because i have now asked for all my files to be on one server and not on 3 ( which aparently speeds up the browsing ) the files are looking for files on other servvers that dont exist anymore.

so how, in basic terms as i am new to all this, do i make osc only look in one place for the files as i think this will fix the lot?

 

here are the error messages that i am gettting

 

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/install) is not within the allowed path(s): (/tmp:/usr/share/pear:/home/fhlinux172/c/carvolution-security.com/user) in /home/fhlinux172/c/carvolution-security.com/user/htdocs/catalog/includes/header.php on line 15

 

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/nas03l/c/carvolution-security.com/user/htdocs/catalog/download/) is not within the allowed path(s): (/tmp:/usr/share/pear:/home/fhlinux172/c/carvolution-security.com/user) in /home/fhlinux172/c/carvolution-security.com/user/htdocs/catalog/includes/header.php on line 46

 

Warning: The downloadable products directory does not exist: /home/nas03l/c/carvolution-security.com/user/htdocs/catalog/download/. Downloadable products will not work until this directory is valid.

 

any ideas would help as i am now stuck!!!!

thanks

Archived

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

×
×
  • Create New...