Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I am trying to install the contribution, Header tag controller. I receive the following error after installing admin/catagories file.

 

Parse error: parse error, unexpected T_DOUBLE_ARROW in /www/n/needlept/htdocs/admin/categories.php on line 263

 

// BoF Header Tag Controller

'products_head_title_tag' => tep_db_prepare_input($HTTP_POST_VARS['products_head_title_tag'][$language_id]), 'products_head_desc_tag' => tep_db_prepare_input($HTTP_POST_VARS['products_head_desc_tag'][$language_id]), 'products_head_keywords_tag' => tep_db_prepare_input($HTTP_POST_VARS['products_head_keywords_tag'][$language_id]));

// EoF Header Tag Controller

'products_url' => tep_db_prepare_input($HTTP_POST_VARS['products_url'][$language_id]));

Posted

i dont actually know if this is true, because i dont code much but it looks like you have the wrong number of close parenthesis ). like i said i might be wrong :)

"because it'll hurt more"- the greatest film of all time?

Posted

You have two closed statements

'products_head_keywords_tag' => tep_db_prepare_input($HTTP_POST_VARS['products_head_keywords_tag'][$language_id]));
// EoF Header Tag Controller
'products_url' => tep_db_prepare_input($HTTP_POST_VARS['products_url'][$language_id]));

 

one here

'products_head_keywords_tag' => tep_db_prepare_input($HTTP_POST_VARS['products_head_keywords_tag'][$language_id]));

and the other here

// EoF Header Tag Controller
'products_url' => tep_db_prepare_input($HTTP_POST_VARS['products_url'][$language_id]));

 

change the code to this

'products_head_keywords_tag' => tep_db_prepare_input($HTTP_POST_VARS['products_head_keywords_tag'][$language_id]),
// EoF Header Tag Controller
'products_url' => tep_db_prepare_input($HTTP_POST_VARS['products_url'][$language_id]));

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.

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