Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse Error


Sommer

Recommended Posts

Posted

Can someone help? I tried to remove the "What's New Box" using the "Documentation" info, followed the instructions exactly.... and now, I have a "Parse error" I even tried removing it all and replacing it with what I copied (the original text) and I can't seem to fix it. Thanks. I do not even understand what a Parse error means. It would be helpful if someone could explain this. Thanks.

Posted

Your php code gets read and converted into the html version that is used to construct the page that you view in your browser.

 

The parse error is a failure when trying to read, understand and convert this into the correct structure.

 

Often parse errors will be due to having a ' that has not been escaped with a backslash.

 

for example let's requires to be written as let\'s otherwise the ' will be seen as the end of a code section.

 

There are many parse error messages that can be received.

 

which may indicate the nature of the code break.

 

a common one is headers already sent.

 

your should post the complete error message so that proper help can be given.

 

parse errors can be due to a missing brace } or an extra brace.

 

a missing .

a missing ;

 

and many more some will say T_STRING

 

to remove the what's new box from the left column all that is required is to change the one line of code in catalog/includes/column_left.php

 

  require(DIR_WS_BOXES . 'whats_new.php');

 

gets changed to be

 

//   require(DIR_WS_BOXES . 'whats_new.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.

Archived

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

×
×
  • Create New...