Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

problem with admin area and Modules


rubygirl

Recommended Posts

Having a trouble with the Modules section in the admin - when I click on either Payment, Shipping or Order Total - all I receive is:

 

Module Directory: /home/virtual/site12/fst/var/www/html/includes/modules/payment/

 

the problem above is that it is not calling to the correct directory - it should be calling to:

 

Module Directory: /home/virtual/site12/fst/var/www/html/store/includes/modules/payment/

 

Other than the includes/configure.php in the admin area - where else am I missing something? The admin and the store all work fine - occassionally I get an error at the top of the admin that claims that my catalog images are missing and again it has forgotten to call the "store" directory - no images are showing up in the admin but they are fine in the store.

 

Any help would be great!!! This is a Dec 2002 snapshot - thanks!

Link to comment
Share on other sites

No to Search Engine Friendly URLs - here is my admin configure.php file:

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.domain.com/store'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.domain.com/store');

define('HTTPS_CATALOG_SERVER', 'https://www.domain.com/store');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/store'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/var/www/html/store/admin/'); // absolute path required

define('DIR_WS_CATALOG', '/'); // absolute path required

define('DIR_FS_CATALOG', '/var/www/html/store/'); // absolute path required

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

// define our database connection

REMOVED FOR PRIVACY

 

?>

 

 

any ideas????

Link to comment
Share on other sites

How about try this:

 

define('HTTP_SERVER', 'http://www.domain.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers 

define('HTTP_CATALOG_SERVER', 'http://www.domain.com'); 

define('HTTPS_CATALOG_SERVER', 'https://www.domain.com'); 

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module 

define('DIR_FS_DOCUMENT_ROOT', '/var/www/html'); // where the pages are located on the server 

define('DIR_WS_ADMIN', '/store/admin/'); // absolute path required 

define('DIR_FS_ADMIN',DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); // absolute path required 

define('DIR_WS_CATALOG', '/store/'); // absolute path required

Link to comment
Share on other sites

Thanks for the help Linda - Here is what I figured out - I was using the FAQ contribution which runs off of its own configure.php file within the admin/includes/local directory - it was calling to DOCUMENT_ROOT - I removed it and used the absolute path and bingo - the Modules are back in play again!

 

Thanks!

Link to comment
Share on other sites

  • 1 year later...

I'm having the same problem (No modules show up, just "Module Directory: /var/www/html/includes/modules/payment/") and am banging my head against the wall trying to figure this out. Searched the forums and haven't found much - looks like most people had problems with their paths. I've gone over my config paths a hundred times and everything seems right. I did read in another thread that my database and oSC "might be out of sync" so I've tried pointing oSC at the test database, and still no good. Not sure how to "re-sync" the database short of reinstalling everything (not really an option at this point).

 

Here is my config file:

 

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://www.mystore.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.mystore.com');
 define('HTTPS_CATALOG_SERVER', 'https://www.mystore.com');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/butler/'); // absolute path required
 define('DIR_FS_ADMIN', '/var/www/html/butler/'); // absolute pate required
 define('DIR_WS_CATALOG', '/'); // absolute path required
 define('DIR_FS_CATALOG', '/var/www/html/'); // absolute path required
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
 define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
 define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

We are running off the root folder (no catalog), and admin has been renamed (as per installation directions), but the config files have been set up to properly reflect these changes (as far as I know)

 

Help! Any suggestions?

Link to comment
Share on other sites

Check that the files are actually on your server and are not zero bytes in size - I have come across this as the problem a couple of times :D

 

Matti

Link to comment
Share on other sites

thanks for the quick response.

Check that the files are actually on your server and are not zero bytes in size - I have come across this as the problem a couple of times 

 

Haha. Wouldn't I have been slapping myself if that was the problem. :blush:

 

Just double-checked, and yep, the files are there, and yep, they have code...but just to be sure, I re-ftp'd the files just in case.

 

still no dice. Aaaargh!

 

None of the modules appear - shipping, payment, or order total, just the path where the files are supposed to reside (and actually do).

 

 

?????

Link to comment
Share on other sites

The only thing wrong in these config files which could cause a problem is this: you have defined define('ENABLE_SSL_CATALOG', 'false');, but then you have this define('HTTPS_CATALOG_SERVER', 'https://www.mystore.com');

 

change it to this

 

define('HTTPS_CATALOG_SERVER', '');

 

It shouldn't make any difference, but I have come across sites where this has turned out to be the problem. Worth a try.

 

Vger

Link to comment
Share on other sites

Fixed.

 

I guess it was a path problem - what I have in the config file above is apparently not the absolute path.

 

The other problem was that I had created a backup file of the old authorizenet before installing the Consolidated version. Apparently having two authorizenet files in the modules folder messed things up too.

 

Well, glad it's fixed. Thanks for trying to help.

Link to comment
Share on other sites

  • 3 weeks later...

I have htis problem as well but for me it was working fine and then I noticed that the admin>Modules>Order Total just quit working all the files are there?? Very Strange. Anyone have any ideas for me to ry? Oh the other two are working fine the PAyment and SHipping that is... TIA

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...