Author Topic: 4img 1.7.2 parse error  (Read 3642 times)

0 Members and 1 Guest are viewing this topic.

Offline max.cady

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
4img 1.7.2 parse error
« on: March 05, 2006, 04:16:43 PM »
When clicking on the thumbnails I get an parse error as follows:

Parse error: parse error, unexpected '}' in /homepages/46/d13437628/htdocs/german/includes/template.php(101) : eval()'d code on line 110

I did not change anything in template.php

Any ideas?  :|

Thanks much in advance ...

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: 4img 1.7.2 parse error
« Reply #1 on: March 05, 2006, 06:04:24 PM »
1) make sure php code inside your templates is properly formated acording tutorial in the FAQ (make sure nothing is on the same line with <?php and ?>

2) I'll have to confirm that, but I have a feeling new template engine can choke if missing an opening ( {if ...} ) or closing ( {endif ...} ) conditional tag
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline max.cady

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: 4img 1.7.2 parse error
« Reply #2 on: March 05, 2006, 06:44:42 PM »
Thanks ... you are right it must be a failure somewhere in my template. I just changed the settings to the default template and there is no parse error anymore.

Will have to find it out where the error lies ...  I did so many changes in this template (it's still from the old version and strange enough it works fine on the old site).