TinyPortal

Development => Support => Installation => Topic started by: TolerancE on September 19, 2006, 05:56:05 PM

Title: Parse Code Error.
Post by: TolerancE on September 19, 2006, 05:56:05 PM
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?
Title: Re: Parse Code Error.
Post by: G6Cad on September 19, 2006, 05:58:54 PM
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();
Title: Re: Parse Code Error.
Post by: TolerancE on September 19, 2006, 06:19:57 PM
ok, thats fixed now everything from TP is gone. It still shows that its installed. But everything is gone!
Title: Re: Parse Code Error.
Post by: G6Cad on September 19, 2006, 06:31:52 PM
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.

Title: Re: Parse Code Error.
Post by: TolerancE on September 19, 2006, 06:50:12 PM
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
Title: Re: Parse Code Error.
Post by: G6Cad on September 19, 2006, 06:57:56 PM
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.
Title: Re: Parse Code Error.
Post by: Xarcell on September 20, 2006, 05:42:24 AM
That error si saying TP isn't fully installed. You might wanna retry...