TinyPortal

Development => Support => Installation => Topic started by: grayside on September 13, 2006, 09:00:44 PM

Title: TP 0.95 -> Blank Screen
Post by: grayside on September 13, 2006, 09:00:44 PM
Clean SMF RC3 install.  Everything at 777 for ease of testing.

Installation of TP gets
QuoteTinyPortalÂÃ,´s table structure is now installed/updated.
Please restart your forum to see the changes.

Restarting forum gets the blank screen, with
[error] PHP Fatal error:  Call to undefined function:  tp_loadtheme() in /correctpath/forum/Sources/Load.php on line 1114 as a clear error.
Title: Re: TP 0.95 -> Blank Screen
Post by: G6Cad on September 13, 2006, 09:03:01 PM
That error usually show up when you have another theme installed and did not set the forum to Default SMF during the install
Title: Re: TP 0.95 -> Blank Screen
Post by: Crip on September 13, 2006, 09:04:38 PM
yeppers. :)
Title: Re: TP 0.95 -> Blank Screen
Post by: grayside on September 13, 2006, 09:16:09 PM
While I did do some testing of a few things with this install I'm fairly sure it was set to default.  Any other likely possibilities?  If I can I'd rather hand edit something simple than go through the whole clean install rigamoral.
Title: Re: TP 0.95 -> Blank Screen
Post by: G6Cad on September 13, 2006, 09:23:11 PM
You can go through the code and check the lines, and you can upload the manual_tp_install.php and run the file again from your browser and see if any table will get updated.

Documentation (http://www.tinyportal.net/smf/index.php?topic=7884) on what files and where to edit
Title: Re: TP 0.95 -> Blank Screen
Post by: IchBin on September 13, 2006, 09:29:14 PM
I think tp_loadtheme is because you are using the wrong Version of Theme for your SMF/TP. Can you check on that please.
Title: Re: TP 0.95 -> Blank Screen
Post by: grayside on September 13, 2006, 10:04:21 PM
Okay, doing a clean reinstall of SMF RC3.
Again, chmod packages, Sources, and Themes->default to 777.

Apply TP with the Package Manager.  Everything Tests successfully with blanks next to the extractions and Success next to everything else.  (Those blanks freak me out so I say it ;P)

Looks like the archive is not extracting properly, I don't see any TP files in the forum tree, despite the installation 'screen' indicates everything was successfully set up.  Checking the database I see that there are a few smf_tp_* tables.

Checking the heading comments on the default theme it is tagged as a theme for 1.1RC3.  Before installing I checked the current theme and it was set to default.
Title: Re: TP 0.95 -> Blank Screen
Post by: Crip on September 13, 2006, 10:08:02 PM
you have a link?
Title: Re: TP 0.95 -> Blank Screen
Post by: IchBin on September 13, 2006, 10:25:25 PM
Test this.... When you click "apply mod" the first time DONT proceed. Before proceeding look in your packages/temp folder and check the permissions on the extracted package. If they aren't set to 777 change them. Then go back and continue with the procedure.
Title: Re: TP 0.95 -> Blank Screen
Post by: grayside on September 13, 2006, 11:13:58 PM
Alrighty, just peeking into /temp I can see they are rw only.

EDIT: Don't have permission to chmod as I lack root.  Can I manually unzip the package to temp and proceed that way?
Title: Re: TP 0.95 -> Blank Screen
Post by: IchBin on September 14, 2006, 01:13:32 AM
hmm... I'm not sure. You should be able to chmod those files though. YOu may need to ask your host to change the owner on those dirs/files.
Title: Re: TP 0.95 -> Blank Screen
Post by: grayside on September 14, 2006, 10:22:57 PM
Okay, got the ownership changed, chmodded to 777.

Based on the log it looks like it gets farther... PHP errors that come up are about not finding TPortal.php.

Grepping around on 'tp_' and 'TPortal' finds a lot of modifications.


Title: Re: TP 0.95 -> Blank Screen
Post by: grayside on September 18, 2006, 10:00:58 PM
I unzipped the archive into the forum root directory.  This fixes most of the problem.  Trying to go to the TP Settings gets this error:

syntax error near '(dref_themes AS tb) ON th.ID_THEME = tb.ID_THEME
WHERE t' at line 4
File: /home/.../Sources/TPortalAdmin.php
Line: 1229
Title: Re: TP 0.95 -> Blank Screen
Post by: G6Cad on September 18, 2006, 10:06:46 PM
This error have been posted many times now ;)
A search had led you right to it :)

http://www.tinyportal.net/smf/index.php?topic=8411.msg68942#msg68942
Title: Re: TP 0.95 -> Blank Screen
Post by: grayside on September 18, 2006, 11:19:49 PM
Alright, case closed.

Thanks all.
Title: Re: TP 0.95 -> Blank Screen
Post by: G6Cad on September 18, 2006, 11:21:21 PM
Great :)  Glad it workde out for you :)