Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

new install but no payment mods HELP!!!!


williesims

Recommended Posts

;

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/');

 

It looks the same still will not work

Sorry this is all new to me what do I need to do

Link to comment
Share on other sites

try posting the full copy of you catalog/admin/includes/configure.php file here it could be caused by an error on a different line follwing through.

Link to comment
Share on other sites

In that case some of your other paths aren't right, in that same file (admin/includes/configure.php)

 

check this one

 

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT);

 

using $DOCUMENT_ROOT should work....see if yours looks like that or not. You'll see in that file that a lot of the other paths reference DIR_FS_DOCUMENT_ROOT in their paths, like

 

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

 

so if it can't find your DIR_FS_DOCUMENT_ROOT, then the other paths won't work either.

 

if it's already defined as $DOCUMENT_ROOT and that's not working, try using absolute paths, instead of the $DOCUMENT_ROOT variable.

 

To find that path, go to your osC admin panel >>tools >> server info and scroll down to where you see "document root"....use the full path you see there for this line

 

define('DIR_FS_DOCUMENT_ROOT', /the/path/you/found/in/admin/tools/serverinfo/);

Edited by choosealogin
Link to comment
Share on other sites

<?php

/*

$Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

// define our webserver variables

// FS = Filesystem (physical)

// WS = Webserver (virtual)

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

define('HTTP_CATALOG_SERVER', '');

define('HTTPS_CATALOG_SERVER', '');

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

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

define('DIR_WS_CATALOG', '/catalog/');

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

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

define('DB_SERVER', '');

define('DB_SERVER_USERNAME', 'mysql');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'osCommerce');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', '');

?>

Link to comment
Share on other sites

choosealogin beat me to that suggestion!!

 

also if you are con a shared server it is better to use databse sessions not file based else you can get problems with customer's cart crossing over etc - change

define('STORE_SESSIONS', '');

to

define('STORE_SESSIONS', 'mysql');

Link to comment
Share on other sites

Sorry I relized that there are two copies of the program just deleted on this is the source code for the one that is a problem

<?php

/*

$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 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://thegemmarket.com/osc/catalog'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://thegemmarket.com/osc/catalog'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'thegemmarket.com');

define('HTTPS_COOKIE_DOMAIN', 'thegemmarket.com');

define('HTTP_COOKIE_PATH', '/osc/catalog/');

define('HTTPS_COOKIE_PATH', '/osc/catalog/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_ADMIN', '/admin/');

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

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

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_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// protected since inside docroot instead of outside to facilitate addon installer

define('DIR_FS_WORK', '/home/thegemm/public_html/osc/catalog/admin/_work/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'thegemm_osc4');

define('DB_SERVER_PASSWORD', 'SDO81yiGop');

define('DB_DATABASE', 'thegemm_osc1');

define('DB_TABLE_PREFIX', 'osc4_');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

you need to add the line:

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

to that file.

 

The file also looks quite customized from the standard osC install

Link to comment
Share on other sites

Ok I Completely started over and reinstalled. The Program is installed as www.thegemmarket.com/catalog it is in the puplic_html folder.

I would welcome someone to see if they can fix it but I have no idea what I am doing wrong or for that matter what i am doing,,,,,,, :blush:

 

This is the new code for the reinstall

 

<?php

/*

$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 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://thegemmarket.com/catalog'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://thegemmarket.com/catalog'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'thegemmarket.com');

define('HTTPS_COOKIE_DOMAIN', 'thegemmarket.com');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_ADMIN', '/admin/');

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

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

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_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// protected since inside docroot instead of outside to facilitate addon installer

define('DIR_FS_WORK', '/home/thegemm/public_html/catalog/admin/_work/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'thegemm_osc5');

define('DB_SERVER_PASSWORD', 'jcpYxaO2ax');

define('DB_DATABASE', 'thegemm_osc1');

define('DB_TABLE_PREFIX', 'osc5_');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

?>

the ftp is thegemmarket.com

user thegemm

password wil0866

I change it later today before someone says anything

Link to comment
Share on other sites

that is as it should be. the newletter should be the only module in the admin/includes/modules directory.

 

the payment modules are all stored under the catalog/includes/modules/payment directory and the admin area accesses them there. That is why it needs the define for DIR_FS_CATALOG_MODULES - to tell the admin area where the catalog area modules are kept.

 

When you go into your admin area and click modules -> payment are you still getting the original error as above? Any other messages? what do you see?

Link to comment
Share on other sites

The modules.php file that is called up when you click payment uses the DIR_FS_CATALOG_MODULES to look in that folder for all the different payment module files that you have and lists them.

 

when you click modules -> payment, do you not even get a line like: Module Directory: /kunden/homepages/10/htdocs/catalog/includes/modules/payment ? If you do what does it say?

 

Tom

Link to comment
Share on other sites

window for payment opt

 

the above is the link to admin payment opt dont know if it will work but try it

 

config.php

This is the config php it is currently under

 

Module Directory: DIR_FS_CATALOG_MODULESpayment/ This is what it says

I did try to do as mentioned earlier and change the line to

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

But that made do diff

Link to comment
Share on other sites

you're welcome - it would seem that your admin configure.php is non-standard - I simply used the standard file and applied your settings as needed!

 

Tom

Link to comment
Share on other sites

  • 3 months later...
  • 7 months later...
i got the same problem...can someone help me please??

how did you fixed the problem...?

thx for reply

 

 

I also have had this problem for two weeks. I really need help with it if anyone can help.

 

I have checked the configure.php file and I have checked the absolute file path and used that in the configure.php file.

 

Thanks

Link to comment
Share on other sites

  • 3 weeks later...
In that case some of your other paths aren't right, in that same file (admin/includes/configure.php)

 

check this one

 

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT);

 

using $DOCUMENT_ROOT should work....see if yours looks like that or not. You'll see in that file that a lot of the other paths reference DIR_FS_DOCUMENT_ROOT in their paths, like

 

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

 

so if it can't find your DIR_FS_DOCUMENT_ROOT, then the other paths won't work either.

 

if it's already defined as $DOCUMENT_ROOT and that's not working, try using absolute paths, instead of the $DOCUMENT_ROOT variable.

 

To find that path, go to your osC admin panel >>tools >> server info and scroll down to where you see "document root"....use the full path you see there for this line

 

define('DIR_FS_DOCUMENT_ROOT', /the/path/you/found/in/admin/tools/serverinfo/);

 

I changed:

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT);

to

define('DIR_FS_DOCUMENT_ROOT', '/var/www/test/');

 

 

and all works, I can now see settings in Admin -> Modules -> Payment, shipping and order total.

 

HTH,

Ally

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...