Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP! Lost my shipping/payment mode etc...


SpinerC

Recommended Posts

K, I have a "friend" who has been helping me with my store.... all was good and I wanted to add "peace of mind" for my customers.... so I purchased an SSL Certificate. My "Friend" installed it, had problems and then got some help and it seemed to be fine, when you sign it, it is secure, when you go to your account, it is secure, when you shop, it is secure.

 

So I went to add new product to the site... the descriptions, product codes etc... loaded but, not the pictures, so I manually added them with the FTP.

 

Then I went to go through the check out with a few items just to double check that all was working fine NOPE!!!

 

It went from picking your address..... then there was nothing to pick from in the Payment area, and no Taxes added and no Shipping choices.... it was all there before the SSL was added.

 

I am VERY much a Newbie :huh: :blink: to all of this but, if you provide me with a trail to follow with the files, I can do it. i.e admin/languages/english/index

 

Pleeeeeeeeeeeeeeease help! :( I can't get ahold of my "friend" I just keep getting voice mail right now and I was at a trade show where I gave out a lot of information, I need this site up and functional...... panic!! :'( :'( :'(

 

And Extremely Grateful Charlene to anyone who can help me. :)

Link to comment
Share on other sites

Here is a copy of the confige file it is the same in both locations:

 

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

 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 2002 osCommerce

 Released under the GNU General Public License
*/

// define our webserver variables
// FS = Filesystem (physical)
// WS = Webserver (virtual)
 define('HTTP_SERVER', 'https://www.diamondsahara.ca/'); 
// eg, [url="http://localhost"]http://localhost[/url] or - [url="https://localhost"]https://localhost[/url] should not be NULL for productive servers
 define('HTTP_CATALOG_SERVER', 'https://www.diamondsahara.ca/');
 define('HTTPS_CATALOG_SERVER', 'https://www.diamondsahara.ca/');
 define('ENABLE_SSL_CATALOG', 'true'); // 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', XXXXXXXXXXXXXX);
 define('DB_SERVER_USERNAME', 'XXXXXXXX');
 define('DB_SERVER_PASSWORD', 'XXXXXXX');
 define('DB_DATABASE', 'XXXXXXXX');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', '');
?>

 

 

XXX of course if the sensative information removed :)

 

Please help!!!

 

Thank you!

 

Sincerely

Charlene :)

Link to comment
Share on other sites

:'(

:'(

 

Can anyone please help me?

 

Thank you to anyone who can answer or tries, sincerely

 

Charlene

 

Its because your configure.php is incorrect: So you need to remove the catalog references because your store is at the root and not under some catalog folder.

 

replace

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

with

define('DIR_WS_CATALOG', '/');

 

see if it works

Link to comment
Share on other sites

Thank you for responding and trying, when I changed the file per your instructions below, I received a "critical error" in the transfer message of the FTP.

 

Again thank you for responding and trying :)

 

 

Its because your configure.php is incorrect: So you need to remove the catalog references because your store is at the root and not under some catalog folder.

 

replace

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

with

define('DIR_WS_CATALOG', '/');

 

It has to be the reconfiguration of anything to do with the SSL Certificate.

 

Sincerely

Charlene

Link to comment
Share on other sites

Here is a copy of the configure file is from one of the two sources, if it helps, I can also post the second one which is slightly different then the first one.

 

I am at the end of my rope here, I have been at this stupid computer all day and not been able to get any of my other work done that has to be completed for Monday.... I am soooooooooooo frustrated :'( :'( :'( and exhausted!

 

If anyone has any ideas, suggestions, directions they can point me in, please do :'(

 

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

 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 2002 osCommerce

 Released under the GNU General Public License
*/

// define our webserver variables
// FS = Filesystem (physical)
// WS = Webserver (virtual)
 define('HTTP_SERVER', 'https://www.diamondsahara.ca/'); 
// eg, [url="http://localhost"]http://localhost[/url] or - [url="https://localhost"]https://localhost[/url] should not be NULL for productive servers
 define('HTTP_CATALOG_SERVER', 'https://www.diamondsahara.ca/');
 define('HTTPS_CATALOG_SERVER', 'https://www.diamondsahara.ca/');
 define('ENABLE_SSL_CATALOG', 'true'); // 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', XXXXXXXXXXXXXX);
 define('DB_SERVER_USERNAME', 'XXXXXXXX');
 define('DB_SERVER_PASSWORD', 'XXXXXXX');
 define('DB_DATABASE', 'XXXXXXXX');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', '');
?>

 

XXX of course if the sensative information removed :)

 

My store is down until I can get this fixed..... people can put things in the cart but, there is no form of payment, no shipping option etc...... so I will have to cancel orders, if I even get them at this point.......

 

Please someone help! :'( :'( :'(

 

Thank you.

 

Sincerely

Charlene :'(

Link to comment
Share on other sites

Thank you for responding and trying, when I changed the file per your instructions below, I received a "critical error" in the transfer message of the FTP.

 

Again thank you for responding and trying :)

It has to be the reconfiguration of anything to do with the SSL Certificate.

 

Sincerely

Charlene

 

you may have to change the file permissions of the configure.php in order to override it. Or you can try editing it from your host's cpanel. But that's basically what you need to do.

Link to comment
Share on other sites

Thanks for responding Mark,

 

you may have to change the file permissions of the configure.php in order to override it. Or you can try editing it from your host's cpanel. But that's basically what you need to do.

 

I followed these instructions and changed the permissions, removed the '/catalog/' from that one line of scripting and then the images folder was gone.

 

I still have the original files saved in my computer and went back to look at them, and it has the '/catalog/' in the admin/includes/configure.php file but, not in the second file /includes/configure.php

 

The includes/configure.php looks like this:

 

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

 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 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://www.diamondsahara.ca/'); 
// eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.diamondsahara.ca/');
// eg, [url="https://localhost"]https://localhost[/url] - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', '.diamondsahara.ca');
 define('HTTPS_COOKIE_DOMAIN', '.diamondsahara.ca');
 define('HTTP_COOKIE_PATH', '');
 define('HTTPS_COOKIE_PATH', '');
 define('DIR_WS_HTTP_CATALOG', '');
 define('DIR_WS_HTTPS_CATALOG', '');
 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/');

// define our database connection
 define('DB_SERVER', 'mysql271.secureserver.net'); 
// eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'XXXXXX');
 define('DB_SERVER_PASSWORD', 'XXXXXX');
 define('DB_DATABASE', 'XXXXXX');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
?>

 

And the second file found in admin/includes/configure.php looks like this.....

 

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

 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 2002 osCommerce

 Released under the GNU General Public License
*/

// define our webserver variables
// FS = Filesystem (physical)
// WS = Webserver (virtual)
 define('HTTP_SERVER', 'https://www.diamondsahara.ca/'); 
// eg, [url="http://localhost"]http://localhost[/url] or - 
[url="https://localhost"]https://localhost[/url] should not be NULL for productive servers
 define('HTTP_CATALOG_SERVER', 'https://www.diamondsahara.ca/');
 define('HTTPS_CATALOG_SERVER', 'https://www.diamondsahara.ca/');
 define('ENABLE_SSL_CATALOG', 'true'); // 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', 'mysql271.secureserver.net');
 define('DB_SERVER_USERNAME', 'xxxxxxx');
 define('DB_SERVER_PASSWORD', 'xxxx');
 define('DB_DATABASE', 'xxxx');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', '');
?>

 

I thought if I post both files for comparison...... maybe someone might see what needs to be changed...

 

Thanks again for your input, never hurts to try :)

 

Sincerely

Charlene

Link to comment
Share on other sites

Ok, when I went to sleep last night (wee hours this morning) my site was still up...... :blink:

 

When I woke up this morning, NEW error messages and NO site...... :huh: :huh: :unsure:

This is what I see when I go to www.diamondsahara.ca

 

Warning: main(includes/languages/.php): 
failed to open stream: 
No such file or directory in /includes/application_top.php on line 285

Warning: main(includes/languages/.php): 
failed to open stream: 
No such file or directory in /includes/application_top.php on line 285

Fatal error: main(): 
Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/lib/php') in 
/includes/application_top.php on line 285

 

And I thought I would check out the www.diamondsahara.ca/admin and see what was happening over there.......

 

Warning: main(includes/languages/.php): 
failed to open stream: 
No such file or directory in 
/admin/includes/application_top.php on line 130

Warning: main(includes/languages/.php): 
failed to open stream: 
/admin/includes/application_top.php on line 130

Fatal error: main(): 
Failed opening required 'includes/languages/.php' (include_path='.:/usr/local/lib/php') in 
/admin/includes/application_top.php on line 130

 

If you want to see files, tell me which ones please and I will add the code here.

 

Thank you to anyone who might have an answer :wub: ...... I am so discouraged right now :(

 

Blessings!

Charlene

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...