TinyPortal

Development => Support => Topic started by: Jon on November 23, 2005, 03:07:38 AM

Title: Fatal error: Only variables can be passed by reference in SSI.PHP
Post by: Jon on November 23, 2005, 03:07:38 AM
After installing TP 0.7.5 when I try and access anything under the admin account I receive the following error message.

Fatal error: Only variables can be passed by reference in D:\Clients\SSI.php on line 606.

This is listed right under the users online section.

If I login under a non admin account the forum and such seem to work ok.

What did miss during the install?
Title: Re: Fatal error: Only variables can be passed by reference in SSI.PHP
Post by: bloc on November 23, 2005, 10:56:58 AM
Do the other account see the userbox with all the options?
Title: Re: Fatal error: Only variables can be passed by reference in SSI.PHP
Post by: Jon on November 23, 2005, 11:26:35 AM
No, the non admin accounts do not even see this box. Only when I log in as admin do I see it.

also I can not get in the TPadmin section, when I click the button it just takes me back to this screen(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fwww.rebekasgifts.com%2Ftiny1.jpg&hash=082ce6596357c78cdceb00c82750401d032bac0c)
Title: Re: Fatal error: Only variables can be passed by reference in SSI.PHP
Post by: IchBin on November 23, 2005, 09:45:11 PM
Sounds like you have some crazy stuff going on over there Jon. You try reinstalling TP?
Title: Re: Fatal error: Only variables can be passed by reference in SSI.PHP
Post by: Jon on November 23, 2005, 10:02:56 PM
No, I have not tried that.

Do I need to delete anything before I try a reinstall?

Is it as simple as re-uploading the install file and running it again?
Title: Re: Fatal error: Only variables can be passed by reference in SSI.PHP
Post by: IchBin on November 23, 2005, 10:11:28 PM
So I take it you had to do the install manually? I say that because you said you had to run the install file. Normally everything installs from the package manager. If you don't have any reason to keep anything, I would start from scratch by deleting everything. But from what Bloc says, you don't have to.
Title: Re: Fatal error: Only variables can be passed by reference in SSI.PHP
Post by: Jon on November 23, 2005, 10:42:51 PM
I guess I am missing something along the way. A clean install renders the same exact results.

I installed from the package manager.

I did not delete my database, you think that might help?
Title: Re: Fatal error: Only variables can be passed by reference in SSI.PHP
Post by: IchBin on November 24, 2005, 01:14:45 AM
I'm not sure how Bloc's install works when it checks the database. I guess it wouldn't hurt to delete the TP tables from the database and do a clean install.
Title: Re: Fatal error: Only variables can be passed by reference in SSI.PHP
Post by: Jon on November 24, 2005, 01:38:24 AM
I really appreciate your help!!

I'll give that a shot and see how it works.
Title: Re: Fatal error: Only variables can be passed by reference in SSI.PHP
Post by: Jon on November 24, 2005, 02:32:49 AM
well that did not work.

Totally clean install with a new database and I still get the same error?

I am going to give 0.7.4. a shot
Title: Re: Fatal error: Only variables can be passed by reference in SSI.PHP
Post by: IchBin on November 24, 2005, 03:13:31 AM
Gosh, I really don't know. Have you checked permissions on the files?
Title: Re: Fatal error: Only variables can be passed by reference in SSI.PHP
Post by: Jon on November 24, 2005, 03:35:24 AM
yeah,

every file and directory has IUSER read/write/execute.
Title: Re: Fatal error: Only variables can be passed by reference in SSI.PHP
Post by: Ray on November 24, 2005, 04:53:43 AM
check to see if the tp files have 0bits if they do after the install just copy the files over -- hope that is it and tp will run
Title: Re: Fatal error: Only variables can be passed by reference in SSI.PHP
Post by: Jon on November 24, 2005, 11:33:27 PM
Well here is what I have done so far.

I've deleted SM, TP and the mysql databases reinstall both using 0.7.5 and then again with a clean install of 0.7.4.

I've checked both file and directory permission, they are both IUSER read/write/execute.

Both give me the same error.
Fatal error: Only variables can be passed by reference in D:\Clients\vanvleet.m6.net\vanvleet.m6.net\jonv_tp\SSI.php on line 606

not sure what I am doing wrong.

One thing that I did notice is the readme does not seem to follow the on screen prompts in a much as the readme may say choose install and the only option I have is proceed.


Title: Re: Fatal error: Only variables can be passed by reference in SSI.PHP
Post by: IchBin on November 25, 2005, 06:22:57 AM
Does this happen if you don't install TinyPortal?
Title: Re: Fatal error: Only variables can be passed by reference in SSI.PHP
Post by: Jon on November 25, 2005, 10:57:03 AM
No, this only appears if I install TinyPortal.
Title: Re: Fatal error: Only variables can be passed by reference in SSI.PHP
Post by: IchBin on November 25, 2005, 02:31:22 PM
http://www.simplemachines.org/community/index.php?topic=52720