Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Checkout_shipping 404 error


aerosmith

Recommended Posts

Posted

I currently had a site working perfectly on a test site, i moved it changed the config files and now its giving 404 on checkout_shipping

 

i dont think its an ssl issue as both config files are set to false

 

 

 

define('HTTP_SERVER', 'http://BalmandBathfromtheButte.com');

define('HTTPS_SERVER', 'http://BalmandBathfromtheButte.com');

define('ENABLE_SSL', false);

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

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/var/www/vhosts/BalmandBathfromtheButte.com/');

define('HTTPS_COOKIE_PATH', '/var/www/vhosts/BalmandBathfromtheButte.com/');

define('DIR_WS_HTTP_CATALOG', '/var/www/vhosts/BalmandBathfromtheButte.com/');

define('DIR_WS_HTTPS_CATALOG', '/var/www/vhosts/BalmandBathfromtheButte.com/');

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', '/var/www/vhosts/BalmandBathfromtheButte.com/httpdocs/');

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

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

 

 

 

Anyone able to help, I greatly appreciate it.

Posted

The page doesn't exist:

 

http://balmandbathfromthebutte.com/checkout_shipping.php

 

(click it)

 

I'd like to know what you did to fix the links so they don't point to the test site?

:unsure:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
The page doesn't exist:

 

http://balmandbathfromthebutte.com/checkout_shipping.php

 

(click it)

 

I'd like to know what you did to fix the links so they don't point to the test site?

:unsure:

 

 

oddly enough, i did nothing :| i have a feeling it was the dns. but the files where not touched, i simply reuploaded the config file

 

and now its pointing to the correct site,

 

I can physically see the file checkout_shipping.php under the catalog section, so i dont understand why its not functional.

Posted

Is is spelled exactly like the link says (no capital letters)?

:unsure:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

I don't know if this makes any difference or not, but I noticed that this error ocurred even when it was using pages from your test site.

:huh:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
I don't know if this makes any difference or not, but I noticed that this error ocurred even when it was using pages from your test site.

:huh:

 

 

I am stumped :\

Posted

Any way you could post a list of the PHP files in the root folder?

:unsure:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
Any way you could post a list of the PHP files in the root folder?

:unsure:

 

 

Ya when i get home ill put a screenshot, will be easyer :)

Posted

It's not a "permissions" error, it doesn't look like. It doesn't say "you don't have permission to access...".

 

It says "file not found".

 

You might check the permissions on it. They should be 644

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
It's not a "permissions" error, it doesn't look like. It doesn't say "you don't have permission to access...".

 

It says "file not found".

 

You might check the permissions on it. They should be 644

 

 

Is there any possible way this is related to a config file?

Posted

Not really.

 

Either the file is there, and has permissions to be accessed thru a browser (like all the other pages), or it isn't.

 

It's using the "standard" osC naming convention.

 

I suppose what you're really saying is that the file IS there, and DOES have the right name (and permissions), yet it still can't be accessed thru a browser?

:unsure:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
Not really.

 

Either the file is there, and has permissions to be accessed thru a browser (like all the other pages), or it isn't.

 

It's using the "standard" osC naming convention.

 

I suppose what you're really saying is that the file IS there, and DOES have the right name (and permissions), yet it still can't be accessed thru a browser?

:unsure:

 

 

You are 100% on that question :)

Posted
You are 100% on that question :)

 

 

OK after searching around, I found something really odd

 

Admin modules is empty as well

Posted

That could be explained if not all the files got transferred from the "test domain" you were using.

 

If the checkout_shipping file is there, has the right name and permissions, give this a try.

 

FTP a copy of it to your PC (or transfer it by whatever means you use).

 

On the server, rename the existing checkout_shipping to something else.

 

Then transfer the copy on your PC back to the server. Then check the permissions on it (should be 644).

 

Then try to access it via your browser.

 

I'm really grasping at straws here to try to explain what's going on (and find a solution)...

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
OK after searching around, I found something really odd

 

Admin modules is empty as well

 

 

I think its the config file, but im having loads of problems with it.

Posted

Some of your cookie items for the catalog could be adjusted:

 

These:

 

define('HTTP_COOKIE_DOMAIN', 'BalmandBathfromtheButte.com');
define('HTTP_COOKIE_PATH', '/var/www/vhosts/BalmandBathfromtheButte.com/');
define('HTTPS_COOKIE_PATH', '/var/www/vhosts/BalmandBathfromtheButte.com/');

I would change to:

 

define('HTTP_COOKIE_DOMAIN', '.BalmandBathfromtheButte.com');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');

But that has nothing to do with your mysterious "it's there but I can't access it" file.

:lol:

 

The only "config" file that controls this checkout_shipping file is /includes/filenames.php

 

It should have a line that reads like this:

 

  define('FILENAME_CHECKOUT_SHIPPING', 'checkout_shipping.php');

Then all your PHP files actually use the "alias" in the code (FILENAME_CHECKOUT_SHIPPING) to reference it.

 

From this side, it looks as if that is all good.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
Some of your cookie items for the catalog could be adjusted:

 

These:

 

define('HTTP_COOKIE_DOMAIN', 'BalmandBathfromtheButte.com');
define('HTTP_COOKIE_PATH', '/var/www/vhosts/BalmandBathfromtheButte.com/');
define('HTTPS_COOKIE_PATH', '/var/www/vhosts/BalmandBathfromtheButte.com/');

I would change to:

 

define('HTTP_COOKIE_DOMAIN', '.BalmandBathfromtheButte.com');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');

But that has nothing to do with your mysterious "it's there but I can't access it" file.

:lol:

 

The only "config" file that controls this checkout_shipping file is /includes/filenames.php

 

It should have a line that reads like this:

 

  define('FILENAME_CHECKOUT_SHIPPING', 'checkout_shipping.php');

Then all your PHP files actually use the "alias" in the code (FILENAME_CHECKOUT_SHIPPING) to reference it.

 

From this side, it looks as if that is all good.

 

 

I think its due to the fact that no modules are loading, Because of the configure.php files,

 

When im log into admin, it shows

 

Module Directory: /var/www/vhosts/scott.BalmandBathfromtheButte.com/httpdocs/includes/modules/payment/

 

Rather then showing modules that are installed or not installed.

Posted

Even if the modules aren't there, the page should load when accessed thru a browser. Then maybe spit out a bunch of errors, but it still should load.

 

But all we get is the dreaded "Page not found" error.

 

I'm going to send you a PM that contains something for you to try, if you want.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
Even if the modules aren't there, the page should load when accessed thru a browser. Then maybe spit out a bunch of errors, but it still should load.

 

But all we get is the dreaded "Page not found" error.

 

I'm going to send you a PM that contains something for you to try, if you want.

 

 

Sounds Great:) i have fixed the modules error, it was infact the absolute path, i made a test php file to spit out the correct absolute path, but the checkout_shipping error continues.

Posted
Sounds Great:) i have fixed the modules error, it was infact the absolute path, i made a test php file to spit out the correct absolute path, but the checkout_shipping error continues.

 

 

Ok i found something else very odd,

 

1. IM using Fast easy checkout,

2. If i choose checkout it gives me 404

 

3, If i login then choose checkout, It works.

 

DOes that make any sense?

Posted

I was going to make an account and try myself, but I get the "Page not found" error for http://balmandbathfromthebutte.com/create_account.php

:huh:

 

Dang! We're just digging the hole deeper!!!

:lol:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
holy crap :| this is stressful

 

 

Holy Crap i think i fixed it,

I took your advise, and i tried to create a new account, I saw that scott.balmandbathfromthebutte.com

 

Didint work, either , So i went there, Took a look at thefilenames.php and saw createaccount was there,

 

So i looked at the dire structire, and create_account.php was not there i had create_account3.php

 

so i changed it accordingly in filenames.php

 

saved upload and poof, for odd reason checkout_shipping now works,

 

I think its because Fec combines payment and checkout, not sure, but Thanks man, I appreciate all the time you helped me :)

Posted

Well.. Gee...

:blink:

I still get the "file not found error" for create_account and checkout_shipping when clicking links on your page.

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

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

×
×
  • Create New...