Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with site


Guest

Recommended Posts

My WebsiteWas trying to install counter program and looks like I've got it working but when I went to check out got error message, Tried to fix but made worst, could someone check site to see error messages and try to help me fix issue. New to all this and struggle with all the php stuff. Get one thing fixed and something else gets error message. Thanks Terry :'(
Link to comment
Share on other sites

My WebsiteWas trying to install counter program and looks like I've got it working but when I went to check out got error message, Tried to fix but made worst, could someone check site to see error messages and  try to help me fix issue. New to all this and struggle with all the php stuff. Get one thing fixed and something else gets error message. Thanks Terry :'(

 

 

 

Look in includes/functions/general.php

 

problem is spaces ("whitespace") existing before the first <?php tag and/or after the last ?> tag

 

By removing all spaces so that <?php is at the very start of the file and that ?> is at the very end of the file will fix the problem.

Link to comment
Share on other sites

Look in includes/functions/general.php

 

problem is spaces ("whitespace") existing before the first <?php tag and/or after the last ?> tag

 

By removing all spaces so that <?php is at the very start of the file and that ?> is at the very end of the file will fix the problem.

 

Thanks, That cleared the front page up. But as I tried to log into my account (as a customer) I get this error:

Warning: Cannot modify header information - headers already sent by (output started at /home/jessnj/public_html/store/includes/application_top.php:518) in /home/jessnj/public_html/store/includes/functions/general.php on line 29

Link to comment
Share on other sites

same issue different page

 

store/includes/application_top.php

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

same issue different page

 

store/includes/application_top.php

 

I started thinking, Wow new concept for me : :-" And I went there. Fixed the issues. Thanks Sue and Steve for the help. I'll take my time and Copy all files from now on. :thumbsup:

Link to comment
Share on other sites

Something to consider would be if you are using the online file manager to edit files, this is known to have bugs in it whereby the edit process can inject errors to a file by placing whitespace or removing backslashes from the code \ (just two of the main known issues) which are regular causes reported on the forums.

 

It is always better to download a file using an ftp program such as ws_ftp then edit the file offline using notepad, dreamweaver, crimson editor, edit php, vim (too name but a few) or similar php editor and then save your file and upload via ftp to the server.

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...