osCommerse configure.php troubles

An osCommerse installation was giving me a bunch of problems with configure.php and it’s modules, boxes and other paths.  The problem was the install did not like virtual directory paths, but worked fine with physical directory paths.  Here is a quick fix that may help you.

Add the following code to set the include path in your appication_top.php file(s).
Do this in \www\includes\application_top.php:

  // ADD INCLUDED PATH MANUALLY //
  set_include_path(get_include_path() . PATH_SEPARATOR . '/home/cgt001/www');
  // END ADD INCLUDED PATH MANUALLY //

And in \www\admin\includes\application_top.php:

  // ADD INCLUDED PATH MANUALLY //
  set_include_path(get_include_path() . PATH_SEPARATOR . '/home/cgt001/www/admin');
  // END ADD INCLUDED PATH MANUALLY //

Your actual path may be different, so adjust the code accordingly.

Leave a Reply

Your email address will not be published. Required fields are marked *