Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Easy Populate Install Parse Error


Recommended Posts

I'm trying to install the Easy Populate contribution, and I've obviously got something wrong with my code, but I can't find it.


In the installation instructions, it says to add a line to the admin/includes/boxes/catalog.php file. Here is what I put in there:


'<a href="' . tep_href_link('easypopulate.php', '', 'NONSSL') . '" class="menuBoxContentLink">Easy Populate</a><br>


I've looked and looked at it, and it looks exactly like what the instructions say to add, but when I go into my Admin, I get this error:


Parse error: parse error, expecting `')'' in /home/hosting/public_html/catalog/admin/includes/boxes/catalog.php on line 27


Btw - the line I added is on line 26, the line it's referencing, line 27, was an existing line.


Usually, I cut & paste these lines straight from the instructions, but the manual is a pdf file and it won't let me select it, so I had to hand-type it in. I'm sure I've screwed it up somewhere, but I can't find it, especially since I don't know much about php.


Can anyone help me spot the problem?




Link to comment
Share on other sites

You're just missing the closing '.


Here's the full line from my catalog.php...


'<a href="' . tep_href_link('easypopulate.php', '', 'NONSSL') . '" class="menuBoxContentLink">Easy Populate</a><br>'.


Just add '. to the end of your line & you should be fine... 8)

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.

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