<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Guestbook parse error on line 14"]]></title>
		<link>https://proxy2.de/forum/posts/list/3.php</link>
		<description><![CDATA[Latest messages posted in the topic "Guestbook parse error on line 14"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Guestbook parse error on line 14</title>
				<description><![CDATA[ Hi, Im getting the error message <br /> <br /> [code]Parse error&#58; parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/ibsite/public_html/guestbook/lib/gb.class.php&#40;132&#41; &#58; eval&#40;&#41;'d code on line 14[/code]<br /> <br /> on my page <br /> <br /> http://www.ibsite.com/guestbook/index.php<br /> <br /> whenever I try to access the view page of my advanced guestbook. It just appeared. One day it worked, the next day it didnt. (Perhpas related to slow refreshreate of IE). I have tried installing a new guestbook, replacing the working gb.class.php entry from the new book, but to no avail. That leads me to suspect the problem lies elsewhere in the guestbook, but I have no idea where. <br /> <br /> I have manually entered about 80 visits from my old guestbook, and wouldnt like to have to customize a new guestbook all over again. <br /> <br /> Ive found a couple of entries in this forum on the problem <br /> <br /> http://proxy2.de/forum/viewtopic.php?t=2128<br /> http://proxy2.de/forum/viewtopic.php?t=2085<br /> http://proxy2.de/forum/viewtopic.php?t=2059<br /> http://proxy2.de/forum/viewtopic.php?t=1836<br /> http://proxy2.de/forum/viewtopic.php?t=1560<br /> http://proxy2.de/forum/viewtopic.php?t=747<br /> <br /> but none with adequate answers. <br /> <br /> I got timeout when I tried to include the code, so ill try to do that in the next post. <br /> <br /> Upon searching php forums, Ive found that actual errors to often are a couple of lines under or above the referred line, but as my knowledge of php is limited to searching in forums, they dont tell me much when I dont find an entry with exactly the same problem as I have. <br /> <br /> Hope someone here can help me. <br /> <br /> Ibs]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2382/6291.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2382/6291.php</link>
				<pubDate><![CDATA[Sun, 21 Sep 2003 17:25:57]]> GMT</pubDate>
				<author><![CDATA[ ibs]]></author>
			</item>
			<item>
				<title>Guestbook parse error on line 14 - ctd</title>
				<description><![CDATA[ My gb.class.php document reads:<br /> <br /> CODE DELETED. <br /> <br /> SEE ISSUE WITH entry.php FILE BELOW.]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2382/6292.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2382/6292.php</link>
				<pubDate><![CDATA[Sun, 21 Sep 2003 17:27:15]]> GMT</pubDate>
				<author><![CDATA[ ibs]]></author>
			</item>
			<item>
				<title>Guestboiok parse error solution</title>
				<description><![CDATA[ This is a description of how to reinstall database of your guestbook from scratch. If you have the parse error, see the below post rather than this. <br /> <br /> [quote]Hi, <br /> Didnt find any answers to my question, so in lack of php knowledge I fixed the problem manually. <br /> <br /> That is, I first saved the data entries (86) that I had manually inserted by selecting data and export and export as mysql - saved onto my harddisk. <br /> <br /> Then I deleted the whole guestbook with all entries from my webserver. Then I reinstalled the guestbook, entered the phpmyadmin provided by my host, deleted the data table and imported (select query window then import) the mysql file that I had saved previously. <br /> <br /> It now has all the entries. Now I need to re customize the page to fit the layout of my site in general. A couple of hours work, true, but hopefully the guestbook will be up and running again like before my vicious parse error. <br /> <br /> Hope this is a little help to others finding the same problem. <br /> <br /> see if it worked at: <a class="snap_shots" href="http://ibsite.com/guestbook/index.php" target="_blank" rel="nofollow">http://ibsite.com/guestbook/index.php</a><br /> <br /> ibs[/quote]]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2382/6298.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2382/6298.php</link>
				<pubDate><![CDATA[Mon, 22 Sep 2003 18:25:55]]> GMT</pubDate>
				<author><![CDATA[ ibs]]></author>
			</item>
			<item>
				<title>Found address of parse error</title>
				<description><![CDATA[ [b]Solution to parse error in advanced guestbook?[/b]<br /> <br /> Dont want to seem like im bumping this post, but since it is a new development on a field I havent seen any answers I figure that others may appreciate it for orderly purposes. <br /> <br /> I reinstalled the guestbook as noted above, but during my customization, I figured I could perhaps upload one and one php file from my backed up faulty directory, and thus find the faulty file. <br /> <br /> I backed up my new working guestbook and set to work. After uploading the file entry.php in the templates directory, I again received the parse error as noted above. When I reinstalled the backed up working entry.php file the parse error was gone. Hence it was also true as I noted in my first post that the error was unrelated to line 14 (or any other line?) in the gb.class.php file. <br /> <br /> The entry.php file I had customized, and so it fit that it was I that created the error in the first place. Thus, when other users need to search where they were wrong, I suggest taking a backup copy of your existing entry.php file in the templates directory (or simply rename it entryold.php), and replace it with the original text that I include below. <br /> <br /> [b]Paste the content below into a blank notepad document[/b] and save [b]as entry.php[/b] in your templates directory. You should not need to delete your guestbook as I did. <br /> <br /> Please come back to this post and note if it works for you too. <br /> <br /> [b]entry.php: start your marker from &lt;tr bgcolor....[/b]<br /> <br /> &lt;tr bgcolor="$bgcolor"&gt;<br />  &lt;td width="32%" valign="top"&gt;<br />    &lt;table border="0" cellspacing="0" cellpadding="2"&gt;<br />      &lt;tr&gt;<br />        &lt;td class="font2" valign="top" width="8%"&gt;&lt;b&gt;$id)&lt;/b&gt;&lt;/td&gt;<br />        &lt;td width="92%"&gt; &lt;img src="img/ip.gif" width="14" height="14" alt="$LANG[AltIP]"&gt;&amp;nbsp;&amp;nbsp;&lt;img src="img/browser.gif" width="16" height="16" alt="$row[browser]"&gt;&amp;nbsp;<br />         $URL<br />         $ICQ<br />         $AIM<br />        &lt;/td&gt;<br />      &lt;/tr&gt;<br />      &lt;tr&gt;<br />        &lt;td colspan="2" class="font1"&gt;&lt;b&gt;$row[name]&lt;/b&gt;&amp;nbsp;$GENDER&lt;/td&gt;<br />      &lt;/tr&gt;<br />      &lt;tr&gt;<br />        &lt;td colspan="2" class="font1"&gt;$row[email]&lt;/td&gt;<br />      &lt;/tr&gt;<br />      &lt;tr&gt;<br />        &lt;td colspan="2" class="font2"&gt;$LANG[FormLoc]:&lt;br&gt;$row[location]&lt;/td&gt;<br />      &lt;/tr&gt;<br />     &lt;/table&gt;<br />   &lt;/td&gt;<br />   &lt;td width="68%" class="font1" valign="top"&gt; <br />     &lt;div align="left" class="font3"&gt;&lt;img src="img/post.gif" width="9" height="9"&gt;$DATE&amp;nbsp;$HOST<br />      &lt;a href="comment.php?gb_id=$row[id]"&gt;&lt;img src="img/edit.gif" width="18" height="13" border="0" alt="$LANG[AltCom]"&gt;&lt;/a&gt;<br />      $EMAIL<br />     &lt;/div&gt;<br />     &lt;hr size="1"&gt;&lt;div align="left"&gt;<br />    $MESSAGE<br />    &lt;/div&gt;<br />    $COMMENT<br />  &lt;/td&gt;<br /> &lt;/tr&gt;<br /> <br /> <br /> <br /> [b]end your marking at ...tr&gt; and copy into notepad. [/b] <br /> <br /> Save as entry.php in the Templates directory of your guestbook. Check your guestbook to see if it works. The change should apply immediately. <br /> <br /> <br /> ibs]]></description>
				<guid isPermaLink="true">https://proxy2.de/forum/posts/preList/2382/6300.php</guid>
				<link>https://proxy2.de/forum/posts/preList/2382/6300.php</link>
				<pubDate><![CDATA[Mon, 22 Sep 2003 19:52:10]]> GMT</pubDate>
				<author><![CDATA[ ibs]]></author>
			</item>
	</channel>
</rss>