Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

All Modules didn't load - HELP!


2 replies to this topic

#1 raygun

  • Community Member
  • 5 posts
  • Real Name:eugene

Posted 20 November 2009, 06:22

Hi,

Newbie here. I decided to sign-up in this forum hoping that somebody could help in my problem.
I have an oscommerce website running ver 1.1, not sure what's happening because all modules that are related to /modules/ directory doesn't shown in admin and also in checkout section.

Is this related to configure.php? I reviewed those configuration files and it looks like correct.

Please help me guys because I spent my whole day searching any solutions but I've no luck at all. Thanks in advance guys.

#2 raygun

  • Community Member
  • 5 posts
  • Real Name:eugene

Posted 20 November 2009, 07:43

Any help? Frustrating...

#3 raygun

  • Community Member
  • 5 posts
  • Real Name:eugene

Posted 21 November 2009, 00:36

Nevermind, I've got it fixed.

In /store/admin/includes/configure.php:

Change from:
define('DIR_FS_DOCUMENT_ROOT', '/var/www/vhosts/yourdomain/httpsdocs/');
define('DIR_FS_ADMIN', '/var/www/vhosts/yourdomain/httpsdocs/catalog/admin');

To:
define('DIR_FS_DOCUMENT_ROOT', $_SERVER['DOCUMENT_ROOT']);
define('DIR_FS_ADMIN', $_SERVER['DOCUMENT_ROOT'] . '/catalog/admin/');


Considered the most accurate way.