Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Explorer browser showing error after page loads


FrancineNJ

Recommended Posts

Posted

It's annoying to see...after my webpage loads I see the yellow box with black exclamation point in it on the lower left hand side . Saying "Done but with errors on the page". Now, I believe there is a way to turn this off but I don't want to...I want to fix the problem.

 

It then tells me when I click on it Line: 65

Char: 19

Error: Expected ';'

Code: 0

Url: http://www.mywebsite.com

 

Line 57 - 69 are:

 

<?php
 if ($category_depth == 'nested') {
   $category_query = tep_db_query("select cd.categories_name, c.categories_image from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = '" . (int)$current_category_id . "' and cd.categories_id = '" . (int)$current_category_id . "' and cd.language_id = '" . (int)$languages_id . "'");
   $category = tep_db_fetch_array($category_query);
?>
   <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">
     <tr>
       <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
         <tr>
           <td class="pageHeading"><?php echo HEADING_TITLE; ?></td>
           <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>
         </tr>
       </table></td>

 

:blink: would appreciate it if someone can tell me how to fix this.

 

Thank you,

Francine

Posted

That's a JavaScript error... Not a PHP error...

:blush:

 

If you post (or PM me) you're URL, I'll take a peek...

 

Can't promise anything other than I'll try.

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...