Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Header.php problems


IronHide8

Recommended Posts

Hi all!

 

Now it gives me this:

 

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/www/data/www.valikoi.com/kauppa/catalog/install) is not within the allowed path(s): (/www/04/valikoi.com:/www/data/valikoi.com:/tmp:/www/scripts) in /www/04/valikoi.com/kauppa/catalog/includes/header.php on line 15

 

I've located it, and it's like this.

 

if (WARN_INSTALL_EXISTENCE == 'true') {

if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) {

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

}

 

I know the problem is that /install thing but I don't know how to solve this. Thank you!

 

-Tommi

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...