4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: bobofindit on April 17, 2006, 08:46:19 AM
-
Hello, I just upgraded my 4images 1.7.1 to 1.7.2 and I get the following error when I click on a thumball to enlarge the image Parse error: parse error, unexpected '}' in /home/www/xxxxxxx/xxxxxxxx/includes/template.php(101) : eval()'d code on line 113
This is what on 113 {
Thanks for any help
-
my first guess would be something wrong with your template...perhaps it conteins not properly formated php code or there is a closing condition tag without opening ({endif ...} without {if ...})
-
my first guess would be something wrong with your template...perhaps it conteins not properly formated php code or there is a closing condition tag without opening ({endif ...} without {if ...})
Thanks for the response and you should be right but I am not sure where exactly to look and this template.php causing the error is from the upgrade package of 1.7.2. I replaced it with the template.php from 1.7.1 and it works but a compare of the two files result with additions codes in the new file and was hoping that others who have upgraded might have had the same error and reported it but my search in the forum did not come up with anything and this is why is posted.
However, will continue to look in the new file to find where the closing bracket is missing because I have tried closing it and a different error comes up on another line.
UPDATE..........OK.........I just found where it is said that do not complain if you upgrade to 1.7.2 so I am sorry for posting here. Guess that I did not search the forum enough.
Thanks
-
can you attach the following templates (zip them first):
details.html
comment_bit.html
comment_form.html
rate_form.html
bbcode.html
-
can you attach the following templates (zip them first):
details.html
comment_bit.html
comment_form.html
rate_form.html
bbcode.html
Thanks for the response, V.
After reading your response i decided to try the template/default theme which is part of the 1.7.2 upgrade package and boom the error disappeared and the detail image came up with no error. I then changed back to my theme and override the five template files that you ask me to zip and the error was no more except that the theme don't look right. I replaced the original template files back and the erorr has disappeared and all working well.
However, I attached the files they are not from the template/default.
Thanks
-
yes, as I suspected, you have misstakes in details.html with condtional tags.
the {if allow_comments} must be above {endif allow_comments}
-
yes, as I suspected, you have misstakes in details.html with condtional tags.
the {if allow_comments} must be above {endif allow_comments}
Thanks.........I am still new the 4images and i learning.