Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')'


ladykaren

Recommended Posts

Hi all;

 

I've decided to build an osc website again and my host company has the 2.3.1 version.

I like it, but ...... wow, different from the ms 2.2 I'm used to lol

Anyways, I am trying to install the Linkmatics Attribute Sets Plus.

I finally got the sql in the database, uploaded all the new files and am working on putting

in the manual edits. I've run into a snag with the Admin/Includes/Boxes/Catagories.php

Obviously this file is very different from an older version of osc and I had no clue how to

add the new code. Sooooo, I decided for giggles to try something. This is what the new

coding looks like

 

 

array(

'code' => FILENAME_PRODUCTS_ATTRIBUTES,

'code' => FILENAME_PRODUCTS_ATTRIBUTES_SETS,

'title' => BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES,

'title' => BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES_SETS,

'link' => tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES)

'link' => tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES_SETS)

),

 

I logged into my Admin to see if things were going ok and got the

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/brideazz/public_html/admin/includes/boxes/catalog.php on line 27

I figured out that I had left of the ) on the last line, but when I refreshed the Admin it shows the same error.

So now I'm at Step 6 of the install and stuck. I'm not even sure if this contrib (which I really really need) will work

with 2.3.1

Can anyone help??

 

Thanks in advance

Link to comment
Share on other sites

Try this

 

array(
'code' => FILENAME_PRODUCTS_ATTRIBUTES,
'title' => BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES,
'link' => tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES
),
array(
'code' => FILENAME_PRODUCTS_ATTRIBUTES_SETS,
'title' => BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES_SETS,
'link' => tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES_SETS
),

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Hi Jim;

 

Thanks for your reply.

Putting the code back to the original took out the error, but coding is needed to install

Attribute Sets Plus. I think I'm permanently stuck.

Does anyone know if there will be a version that will work with 2.3.1?

Link to comment
Share on other sites

I don't understand the problem. Are you saying that what I posted matches the code in the Addon? If so, that addon has already been updated to work with 2.3.1. If that's not what you meant, please explain.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

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