Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need a little help!


Angry Toaster

Recommended Posts

Posted

Is there something different about my installation of Apache? Because the include paths are not working for me.

 

I'm having problems right off the get-go with the install pages.

 

catalog/install/index.php has a reference to includes/application.php. Which is fine because index.php and includes/ sit in the same level directory. The code just tells it to go to the includes/ dir and look for application.php

 

Now catalog/install/includes/application.php has these three references:

 

require('includes/functions/general.php');

require('includes/functions/database.php');

require('includes/functions/html_output.php');

 

By this code, the reference is pointing to another includes/ dir within the catalog/install/includes/ dir. Subsequently, it doesn't work because that dir doesn't exist within itself.

 

If I change the reference paths to:

 

require('functions/general.php');

require('functions/database.php');

require('functions/html_output.php');

 

It works because the function/ dir is on the same level as the calling application.php file in the catalog/install/includes dir.

 

Am I missing something here with Apache? Something that if a file path's start point matches the current directory, it ignores it???

Archived

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

×
×
  • Create New...