Thread Like Summary
isaac, Ruben
Total Likes: 2
Original Post (Thread Starter)
by Ruben
Ruben
Just migrated to php7.0
Getting this error:
Code
Parse error: syntax error, unexpected ';', expecting variable (T_VARIABLE) or '{' or '$' in /home/freaksfo/public_html/libs/html.inc.php(1988) : eval()'d code on line 1
whenever I use the post editor. if I edit a post or use the full editor.
also sometimes when posting a new topic.

Note.
If I revert back to php 5.4 no error.
What do I look for.?
Liked Replies
by Gizmo
Gizmo
Unfortunately, if it is not an issue with modified code it sounds like your system isn't allowing the use of eval() which means there isn't much we can do; eval is used all over smarty which is our template engine so there isn't a real *fix* other than to figure out why your system isn't allowing use of eval.

We have tested UBB.threads with PHP7.0-7.4.6 without any issues with eval.
Attachments
1 member likes this
by Philipp
Philipp
Originally Posted by Ruben
What do I look for.?
You are looking for a dollar sign in the UBBCode of one of your Graemlins:
Images & Icons => Graemlins

The dollar sign triggers the eval() function and can lead to an error message if the code contains a bad syntax. Newer versions of PHP have a much stricter syntax.
1 member likes this
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
1 members (Havenofsobriety), 522 guests, and 99 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)