Author Topic: Parse and Syntax error when clicking on thumbnails in 1.7.2  (Read 3574 times)

0 Members and 1 Guest are viewing this topic.

Offline flybywire44

  • Newbie
  • *
  • Posts: 10
  • Integrity: All We Are or Are Not
    • View Profile
I'm haveing an error similar to a few other people who upgraded to 1.7.2. My forum works great until a user (registered or unregistered) clicks on any thumbnail. After the link loads the user sees only: [qcode]Parse error: syntax error, unexpected $end in /home/fredbro/public_html/photo/includes/template.php(101) : eval()'d code on line 164[/qcode]

I recently upgraded to 1.7.2 and am at a complete loss as to what the problem could be.

I've searched for a solution and found two applicable threads that offered little help:
http://www.4homepages.de/forum/index.php?topic=13720.0;topicseen -" since v1.7.1 its critical to have even amount of {if ..} and {endif ...} tags" - But I'm using a stock template.php

http://www.4homepages.de/forum/index.php?topic=13143.msg73609#msg73609 - I already reuploaded all php files in ASCII

Does anyone have any ideas?

Thank you,
-Fred.
« Last Edit: July 19, 2006, 12:23:37 AM by flybywire44 »
Alenia Aeronautica ATR-72-212
[/url]
Office: Cockpit
View: Ever Changing

Offline flybywire44

  • Newbie
  • *
  • Posts: 10
  • Integrity: All We Are or Are Not
    • View Profile
Re: Parse and Syntax error when clicking on thumbnails in 1.7.2
« Reply #1 on: July 19, 2006, 12:22:45 AM »
Problem solved... my customized template/default/details.html was messed up.

Thanks anyway!
Alenia Aeronautica ATR-72-212
[/url]
Office: Cockpit
View: Ever Changing

Offline plakillo

  • Pre-Newbie
  • Posts: 8
    • View Profile
Re: Parse and Syntax error when clicking on thumbnails in 1.7.2
« Reply #2 on: September 24, 2006, 11:28:26 AM »
Hi the problem is here

member_profile.html

Code: [Select]
<tr align="left">
          <td class="row2"><b>{lang_icq}</b></td>
           <td class="row2">{if user_icq}<a href="http://www.icq.com/people/about_me.php?uin={user_icq}" target="_blank">{user_icq}</a> (<b>{user_icq_status}</b>){endif user_icq}</td>
            (<b>{user_icq_status}</b>){endif user_icq}</td>
        </tr>

remove  (<b>{user_icq_status}</b>){endif user_icq}</td>

 :D