Jump to content



Latest News: (loading..)

- - - - -

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


  • Please log in to reply
3 replies to this topic

#1   ladykaren

ladykaren
  • Members
  • 301 posts
  • Real Name:Karen
  • Gender:Female
  • Location:Florida

Posted 10 March 2012 - 04:46 AM

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

#2   kymation

kymation

    Believers

  • Community Sponsor
  • 6,688 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 10 March 2012 - 04:59 AM

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
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support

#3   ladykaren

ladykaren
  • Members
  • 301 posts
  • Real Name:Karen
  • Gender:Female
  • Location:Florida

Posted 11 March 2012 - 08:23 PM

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?

#4   kymation

kymation

    Believers

  • Community Sponsor
  • 6,688 posts
  • Real Name:Jim Keebaugh
  • Gender:Male
  • Location:Aberdeen WA USA

Posted 11 March 2012 - 10:36 PM

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
My Addons

Banners Box 2.3.x  Support
Categories Accordion Box 2.3.x  Support
Categories Images Box 2.2x  2.3.x  Support
Closest Shipper 2.2x  Support
Document Manager 2.2x  Support
Generic Box 2.3.x  Support
Get 1 Free 2.2x  Support
jQuery Banner Rotator 2.2x  2.3.x  Support
Modular Front Page 2.3.x  Support
Modular SEO Header Tags 2.3.x  Support
MVS 2.2x  Support
PDF Datasheet 2.3.x  Support
Price Updater 2.2x
Products Specifications 2.2x  2.3.x  Development Version  Support  Bugs/Suggestions
Request a Review 2.2x - 2.3.x  Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x  Support