Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Parse error: parse error, unexpected T_CASE in /home/vertica/public_html/supplementsupermarket/admin/categories.php on line 332

 

 

This is the code from around that area of categories.php

My first attemp to fix this was to delete the line :) lol, but that caused some problems as i was unable to modify my products. I installed header tags mod last nite, and although they are working fine, it seems it has resulted in this error everytime i click on categories in the admin section. Please help me!

 

tep_reset_cache_block('categories');

tep_reset_cache_block('also_purchased');

}

}

 

tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $categories_id . '&pID=' . $products_id));

break;

case 'new_product_preview':

// copy image only if modified

 

 

 

NOTE: the line case'new_product_preview': is line 332 (the error line)

  • 2 months later...
Posted
Parse error: parse error, unexpected T_CASE in /home/vertica/public_html/supplementsupermarket/admin/categories.php on line 332

This is the code from around that area of categories.php

My first attemp to fix this was to delete the line :) lol, but that caused some problems as i was unable to modify my products. I installed header tags mod last nite, and although they are working fine, it seems it has resulted in this error everytime i click on categories in the admin section. Please help me!

 

tep_reset_cache_block('categories');

tep_reset_cache_block('also_purchased');

}

}

 

tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $categories_id . '&pID=' . $products_id));

break;

case 'new_product_preview':

// copy image only if modified

NOTE: the line case'new_product_preview': is line 332 (the error line)

 

Same issue here, anyone with some help?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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