Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error in catalog page after installing an addon. Help please.


Toasted

Recommended Posts

I'm getting this error when I click on Catalog on the backend: Parse error: syntax error, unexpected '<', expecting ')' in site/admin/categories.php on line 349.

 

 

348 // check if the catalog image directory exists

349 if (is_dir(<td class="main"><?php echo TEXT_PRODUCTS_PRICE_GROSS)) {

350 if (!is_writeable(DIR_FS_CATALOG_IMAGES)) $messageStack->add(ERROR_CATALOG_IMAGE_DIRECTORY_NOT_WRITEABLE, 'error');

351 } else {

352 $messageStack->add(ERROR_CATALOG_IMAGE_DIRECTORY_DOES_NOT_EXIST, 'error');

}

 

What seems to be the problem and how do I fix it?

 

Thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...