TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,911
  • Total Topics: 21,307
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 637
  • Total: 637

Parse Code Error.

Started by TolerancE, September 19, 2006, 05:56:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TolerancE

I installed RC3 and after I did the install, I am getting this parse code.

Parse error: parse error, unexpected $ in /home/content/t/o/l/tolerance/html/smf/Sources/Security.php on line 2119

Now I went under sources and looked and I dont have a line 2119 I only have 2090. Any ideas?

G6Cad

Open up your Security.php and look for this code

// Require a user who is logged in. (not a guest.)
function is_not_guest($message = '')
{
global $user_info, $txt, $context;


And add right after that

// TinyPortal
TPortal_init();

TolerancE

ok, thats fixed now everything from TP is gone. It still shows that its installed. But everything is gone!

G6Cad

http://www.tinyportal.net/smf/index.php?topic=7884

Please read this, and follow the steps, then run the manual_tp_install.php file after you uploaded all the files from the manual install package.

If you do a little search in this very borads sticky posts, you find files already donw with the TP code added, So if you want to use them you can skip the step one i posted the link for.


TolerancE

ok, I did everything to load everything and  I get this message at the footer of the forum.


Fatal error: Call to undefined function: tportal_version() in /home/content/t/o/l/tolerance/html/smf/Sources/Load.php(1623) : eval()'d code on line 470

G6Cad

Please, Search the forum a little bit, this have been answerd several times now.
Please dont post every little thing before you have tried the search and looked through the forums.

Xarcell

That error si saying TP isn't fully installed. You might wanna retry...

This website is proudly hosted on Crocweb Cloud Website Hosting.