Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need help with error codes while trying to check out & My Account


pgrinder

Recommended Posts

When you hit the "Check Out" button I get the code below:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/pgrinder/public_html/WebStore/includes/application_top.php:561) in /home/pgrinder/public_html/WebStore/includes/functions/general.php on line 33

 

And when I hit the "My Account" it takes me to a dead link (to my web host)

 

Anyone know what I need to do? I'm sure it's super easy but I'm a rookie at this stuff.

Thanks

PG

Link to comment
Share on other sites

Headers already sent

 

Click the link above.

 

The problem is in WebStore/includes/application_top.php (line 561)

 

Probably a "whitespace" at the end given the line number.

 

When you click your "My Account" button, look at the link URL in your browser:

 

http://yoursite.com/WebStore/FILENAME_ACCOUNT

That means you need to ADD the code below to your /WebStore/includes/filenames.php file:

 

  define('FILENAME_ACCOUNT', 'account.php');

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 >

Link to comment
Share on other sites

Jim,

Thanks!

PG

 

Headers already sent

 

Click the link above.

 

The problem is in WebStore/includes/application_top.php (line 561)

 

Probably a "whitespace" at the end given the line number.

 

When you click your "My Account" button, look at the link URL in your browser:

 

http://yoursite.com/WebStore/FILENAME_ACCOUNT

That means you need to ADD the code below to your /WebStore/includes/filenames.php file:

 

  define('FILENAME_ACCOUNT', 'account.php');

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...