PDA

View Full Version : error on checkout


dstwcolr
9-25-03, 02:11 AM
When you click on the check out button I get the lovely 404 error page cannot be found. Any ides why this is happening. this is the link it was taking me to.....
https://linksandloops.com/store/catalog/checkout_shipping.php?osCsid=cbda079ff8ad9436486ca b5b22248310

this also happens if you try & fill out the form to create an account as a customer. It will let you fil out the form but as soon as you hit the continue button you get the error.

There are several other places this is happening......

I am very new to this & know nothing about php

please help.

Tina
http://www.linksandloops.com

tbonekkt
9-25-03, 08:13 AM
Your SSL path must be wrong in the config files.

stevel
9-25-03, 12:06 PM
In particular, your own domain shouldn't appear in the https path for a PowWeb hosted site. It has to be of the form https://servername.powweb.com/~username

dstwcolr
9-25-03, 04:17 PM
So how do I change that??? Or is that something that Powweb edits?? I am so new to doing this.
Thanks,
Tina

WenzlerPaul
9-26-03, 10:28 AM
Hi Tina,

You may want to check on my posting on the other thread and see if this will help. This is the same case as the other posting.

http://forum.powweb.com/showthread.php?s=&threadid=26475

In any case that you may need more help, feel free to post it here or email me, wenzlerpaul@yahoo.com

Paul V. Barrera

stevel
9-26-03, 11:07 AM
I'm a bit puzzled about Paul's reply, as it seems to be addressing something different.

There are two configure.php files that are part of the osCommerce setup, one under admin/includes and the other under catalog/includes. If you used the standard setup, these were filled in for you MOSTLY, but there are some things that sometimes need to be changed. This is one of them, and you do it yourself.

Fetch a local copy of admin/includes/configure.php. Edit it so that the definition for the variable HTTP_SERVER is that of your SSL URL instead of the standard non-SSL URL. (It will be the same as HTTPS_CATALOG_SERVER.) Upload it to yo your site. You will also need to reset the protection on it to "444" to avoid a warning from osCommerce and a security hole. This is best done with a small PHP script that calls the chmod function.

osCommerce is best suited for those willing to dive into the PHP code.

WenzlerPaul
9-27-03, 12:33 PM
Hi,

I posted another approach on this matter that may come handy regading your situation.

Check this thread
http://forum.powweb.com/showthread.php?s=&threadid=26502

Paul V. Barrera

stevel
9-27-03, 09:35 PM
That doesn't work and isn't relevant.

WenzlerPaul
9-28-03, 02:08 AM
Ok, I will stop, let Stevel handle the situation, seems like he knows a lot more than anybody else here hehehe

dstwcolr
10-19-03, 01:54 AM
Ok I changed the areea in the configure.php file like you said & I still get the page cannot be displayed error when trying to do a check out. What am I missing here????

Tina

dstwcolr
10-19-03, 02:20 AM
ok figured it would be easier if I just posted my confiure.php file here & let you tell me what all wrong. I appreciate any help.
I can also use help on password protecting the store......


Thanks,
Tina



// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://linksandloops.com'); // eg, http://localhost or - https://localhost should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'http://linkandloops.com');
define('HTTPS_CATALOG_SERVER', 'https://io.powweb.com/~dstwcolr');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', '/www/d/dstwcolr/htdocs/store'); // where the pages are located on the server
define('DIR_WS_ADMIN', '/store/admin/'); // absolute path required
define('DIR_FS_ADMIN', '/www/d/dstwcolr/htdocs/store/admin/'); // absolute pate required
define('DIR_WS_CATALOG', '/store/catalog/'); // absolute path required
define('DIR_FS_CATALOG', '/www/d/dstwcolr/htdocs/store/catalog/'); // 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
define('DB_SERVER', 'mysql03.powweb.com'); // eg, localhost - should not be empty for productive servers
define('DB_SERVER_USERNAME', '********');
define('DB_SERVER_PASSWORD', '*******');
define('DB_DATABASE', 'shoppingcart');
define('USE_PCONNECT', 'false'); // use persisstent connections?
define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
?>

stevel
10-19-03, 06:35 AM
What happens if you use:

define('STORE_SESSIONS', 'mysql');

dstwcolr
10-19-03, 02:56 PM
Stevel,

still no go when I click on the checkotu button it tries to take me to his page.
https://linksandloops.com/store/catalog/checkout_shipping.php?osCsid=8242a2fa4d2b0a68cd659 10b5700b262

which I get page cannot be displayed. When I am in the store admin & click on the link to the online catalog I get same error page cannot be displayed.

I am about ready to pull may hair out with this thing & call it quits.

Tina

WenzlerPaul
10-19-03, 09:28 PM
Hi Tina,

Just a thought, when you try to edit your configure.php and save it, do you readily upload it to the server without deleting the old one there? If you are using an FTP program, there are some settings you might want to check if it was set to delete the old file or over write it, else, some setting will not delete it if it has the same filename. I do suggest that you delete or rename the configure.php on the server and upload the new one configure.php you edited.

Before trying to go to your own cart, try to remove your temporary internet files and cookies, then visit your site again. I will try to help you as much as I can.

Paul

dstwcolr
10-20-03, 02:07 AM
I did my edits right through the file manager on the oscommerce shopping cart admin.

WenzlerPaul
10-21-03, 04:45 AM
Hi,

What I am thinking right now is like the files are not being edited correctly (of course this is only my assumption), if you do not see an error message at the top of your oscommerce shopping cart saying configure.php is writable, then the file is not writable anymore, and if you are trying to edit the file and save it, it is possible that it is not being saved properly. This is only based on my theory and certainly can be incorrect. Try copy and paste the text on your confiugre.php into a new text message, name it configure.php, delete or rename the old one which is currently existing on the server and then try to upload the file you just created. If this will not work, please state what error messages you will get. I hope it helps.

Paul

catcastle
10-21-03, 11:51 AM
I have to ask this question, You are able to edit you configure.php though your admin? That is one file that you should not be able to edit if you have it protected right.

When I try to edit it though my admin I get know change. I have to in fact use my FTP to move on my computer, edit it and then put it back, then I have to reset it's protection.

dstwcolr
11-1-03, 10:04 PM
Originally posted by catcastle
That is one file that you should not be able to edit if you have it protected right.

Well I haven't setup the protection yet as I am still so new to this I haven't a clue how to even do that.

I am so lost in al of this & I have tried doing the steps everyone has been so great about giving me & nothing has worked so far. I am about to call this quits as it is so frustrating.

dstwcolr
11-2-03, 12:59 AM
Hey all,

I just wanted to let everyone know I gave up & downloaded the newer version of OSC & installed it YIPPIE SKIPPIE it works fine. Thank you all for your help you have all been so wonderful & patient.

Tina