Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Syntax error


mdk_adelk

Recommended Posts

Next time please cut and paste the code (as text) between [ code ] and [ /code ] BBCode tags.

 

Are you sure you're looking in the right file? The nearest ; I see is on line 85, and it looks OK to me. Check that you're showing the right file, and please show the entire file. You can "attach" the file rather than pasting it in.

 

If there is a blank line at the end of the file (line 89), remove it in an editor. PHP usually doesn't like blank lines at the beginning or end of a file, but usually throws a 500 (Internal Server) error for that. It probably won't help here, but who knows. Spaces and tabs before the first opening <?php or after the last closing ?> often cause problems, too.

Link to comment
Share on other sites

Hi,

About line 29 you are missing a curly bracket

$this->group = ((MODULE_BOXES_PRODUCT_SOCIAL_BOOKMARKS_CONTENT_PLACEMENT == 'Left Column') ? 'boxes_column_left' : 'boxes_column_right');

}

}

 

Regards

John

To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...