Previous Thread
Next Thread
Print Thread
Hop To
#31305 10/01/2002 10:04 AM
Anonymous
Unregistered
Anonymous
Unregistered
I just uploaded some new Graemlins to my UBBT 6.1.

After this evetything seem to work, but I also get an error message when previewing and posting:
<pre> Parse error: parse error in /www/gabonde/hard.nu/forum/ubbt.inc.php(614) : eval()'d code on line 1

</pre>

and

<pre> Parse error: parse error in /www/gabonde/hard.nu/forum/ubbt.inc.php(1648) : eval()'d code on line 1
</pre>

What could have happendand how do I fix it?

Anonymous
Unregistered
Anonymous
Unregistered
One of the markup codes or smileys that were added for the graemlins is causing the error. I need to put in some code in to not allow these but I'm still trying to figure out what is being added that causes this.

-------------------
Rick Baker
UBBThreads developer

Anonymous
Unregistered
Anonymous
Unregistered
If you can fill out a trouble ticket that might help us track this down and get it fixed properly.

-------------------
Rick Baker
UBBThreads developer

Anonymous
Unregistered
Anonymous
Unregistered
Ok, I think I tracked down the problem. Basically eval() will only work when the markup code is a language string. This can be fixed by making 2 small changes to ubbt.inc.php.

Line 608 and 614 look like this:

eval("\$string = $code;");

You can get rid of the errors by adding a @ sign before that line:

@eval("\$string = $code;");

-------------------
Rick Baker
UBBThreads developer

Anonymous
Unregistered
Anonymous
Unregistered
Thanks!

I solved it temporarly by deleting all Graemlins with numbers in the name.

Anonymous
Unregistered
Anonymous
Unregistered
I have the same problem after adding graemlins.
I'm using 6.1.1 and my ubbt.inc.php came with the
@eval("\$string = $code;")" already coded.

I used only letters in the graemlin names and for each bracketed them for markup with :

Example:
:jump:

Brent

Anonymous
Unregistered
Anonymous
Unregistered
I think I fixed the problem by adding @ at line 705


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
3 members (rootman, Gizmo, Nightcrawler), 562 guests, and 186 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)