I just upgraded from 2.56B to 3.12B by overwriting all the files except config.php, which went well except for the program insisting that the englishonly.lng file didn't exist, while I could see it right there. Anyway, when I tried to login to the admin panel, I got this message:
You have a parse error in your template ../templates/default/admin/frameset.tpl (or perhaps in your header or footer) which you need to repair before this page can be displayed correctly. The error is picked up on by php at line 20 of the output.You appear to have a different number of opening <IF> conditionals than you do closing </IF> tags! (0 opening tags, 1 closing.) This is almost certainly the cause of your parse error. You must close every conditional you open. Now outputing the page without any conditional or php sections evaluated: rowitem($db->select('content', 'metatable', "name='dirurl'", '', '')); if ($dirurl != '') { ?>
I tried re-uploading frameset.tpl, but it didn't help. I also doubled-checked the permissions on the template files, and they seem to be correct. Since that error message is all I see on the page, I can't do anything in the admin panel. I don't know enough to start messing around trying to fix the template. And of course my links directory is now inaccessible, since I can't change the permissions.
I have no idea how you can get an error with that, but you can use this as a frameset.tpl to avoid it:
<html> <head> <title>WSN Links{AREA}</title> </head> <frameset frameborder="1" border="1" cols="15%,85%"> <frame src="{DIRURL}/{ADMINDIR}/index.php?show=menu" name="frameleft"> <frame src="{DIRURL}/{ADMINDIR}/index.php?show=main" name="frameright"> <noframes> The admin panel requires that your browser support frames, since this makes the navigation quicker and easier to use. (Of course, nothing visible to regular visitors ever uses frames.) </noframes> </frameset> </html>
Thank you, that did allow me to view the admin panel, although I am seeing this error in the left hand frame:
You have a parse error in your template ../templates/default/admin/menu.tpl (or perhaps in your header or footer) which you need to repair before this page can be displayed correctly. The error is picked up on by php at line 133 of the output.You appear to have a different number of opening <IF> conditionals than you do closing </IF> tags! (5 opening tags, 6 closing.)
I assume that there's something in my particular installation that's causing the problem.Maybe I can do a clean installation at some point.
Maybe there's some setting or the like that's producing some sort of abnormal value. Haven't heard of anyone encountering that coming from 2.56 though.
Your errors seem to consistently indicate that it's ignoring the first conditional opening on the page, since it always says there's one more closing tag than opening tag. But I don't see what could possibly cause that.
Comments on frameset.tpl error after upgrading
Beginner
Usergroup: Member
Joined: Mar 23, 2004
Total Topics: 1
Total Comments: 4
Hi there,
I just upgraded from 2.56B to 3.12B by overwriting all the files except config.php, which went well except for the program insisting that the englishonly.lng file didn't exist, while I could see it right there. Anyway, when I tried to login to the admin panel, I got this message:
You have a parse error in your template ../templates/default/admin/frameset.tpl (or perhaps in your header or footer) which you need to repair before this page can be displayed correctly. The error is picked up on by php at line 20 of the output.You appear to have a different number of opening <IF> conditionals than you do closing </IF> tags! (0 opening tags, 1 closing.) This is almost certainly the cause of your parse error. You must close every conditional you open.
Now outputing the page without any conditional or php sections evaluated:
rowitem($db->select('content', 'metatable', "name='dirurl'", '', '')); if ($dirurl != '') { ?>
I tried re-uploading frameset.tpl, but it didn't help. I also doubled-checked the permissions on the template files, and they seem to be correct. Since that error message is all I see on the page, I can't do anything in the admin panel. I don't know enough to start messing around trying to fix the template. And of course my links directory is now inaccessible, since I can't change the permissions.
Help.
Beginner
Usergroup: Member
Joined: Mar 23, 2004
Total Topics: 1
Total Comments: 4
Here's the main url:
http://www.wingofmadness.com/links/
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I have no idea how you can get an error with that, but you can use this as a frameset.tpl to avoid it:
Beginner
Usergroup: Member
Joined: Mar 23, 2004
Total Topics: 1
Total Comments: 4
Thank you, that did allow me to view the admin panel, although I am seeing this error in the left hand frame:
You have a parse error in your template ../templates/default/admin/menu.tpl (or perhaps in your header or footer) which you need to repair before this page can be displayed correctly. The error is picked up on by php at line 133 of the output.You appear to have a different number of opening <IF> conditionals than you do closing </IF> tags! (5 opening tags, 6 closing.)
I assume that there's something in my particular installation that's causing the problem.Maybe I can do a clean installation at some point.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Maybe there's some setting or the like that's producing some sort of abnormal value. Haven't heard of anyone encountering that coming from 2.56 though.
Your errors seem to consistently indicate that it's ignoring the first conditional opening on the page, since it always says there's one more closing tag than opening tag. But I don't see what could possibly cause that.
Beginner
Usergroup: Member
Joined: Mar 23, 2004
Total Topics: 1
Total Comments: 4
I did a clean install in another folder and restored the database, and now I'm good to go.
Great program, by the way. I'm going to upgrade as soon as I have the money.