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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,030
  • Total Topics: 21,334
  • Online today: 264
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 201
  • Total: 201

Host Upgraded Zend Optimizer/PHP - Blank Index Page

Started by sir_keg1, April 27, 2007, 08:30:47 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sir_keg1

Ok, bear with me here. The details:

Site: http://portal.omegacon.us/index.php

Our webhost upgraded our php version from 4.4.4 to 4.4.6, and I get a blank page when loading the site. Contacted support, and they said the new Zend Optimizer version wasn't agreeing with index.php, because when he disabled it the site loads. Can't stay disabled since it's a shared plan, so... he asked that I reupload the index.php file. I knew TinyPortal had made some changes to it for the mod to work, notably:

// TinyPortal include
require_once($sourcedir . '/TPortal.php');


and

        // TinyPortal
        TPortal_init();


Removed the first one and got a load error. When I removed the second one along - the one that tells TP to start, it loads up - albeit with no content between the header and copyright fields. (but no blank page.)

Anyone able to shed some light on this for me? I am attaching a full copy of my phpinfo from my cpanel.


G6Cad

Read this and check so all code is in place.
http://www.tinyportal.net/index.php?topic=14195

Then download the DB install file only and upload it to your forum root and point your browser to it so it updates the DB and then check if things are ok.
Could be that you have to do the same with SMF database aswell, but you have to read and investigate that on SMF forums

sir_keg1

Quote from: G6â„¢ on April 27, 2007, 09:09:04 PM
Then download the DB install file only and upload it to your forum root and point your browser to it so it updates the DB and then check if things are ok.
Could be that you have to do the same with SMF database aswell, but you have to read and investigate that on SMF forums

Ok, did the first step. Everything is in place.

How do I get the DB install files?

G6Cad

QuoteThen download the DB install file only and upload it to your forum root and point your browser to it so it updates the DB and then check if things are ok.
Could be that you have to do the same with SMF database aswell, but you have to read and investigate that on SMF forums

The answer is in my first reply

Download section here on TP
And for SMF you have to browse to SMF and download the SMF package and take the sql files and upgrade.php
For more info on SMF you have to read on SMF

sir_keg1

Did both, G6. Both ran fine. No dice.

Want to take a closer look? I can PM you any info you need to do so.

sir_keg1

#5
Here is my PHP log from error_log in the SMF directory:

Quote
[12-Mar-2007 22:39:27] PHP Fatal error:  Call to undefined function:  tportal_version() in /home/omegnus/public_html/portal/Sources/Load.php(1726) : eval()'d code on line 439
[12-Mar-2007 22:39:45] PHP Fatal error:  Call to undefined function:  tportal_version() in /home/omegnus/public_html/portal/Sources/Load.php(1726) : eval()'d code on line 439
[29-Mar-2007 01:02:13] PHP Parse error:  syntax error, unexpected T_LNUMBER in /home/omegnus/public_html/portal/Sources/Load.php(1735) : eval()'d code(35) : eval()'d code on line 5
[27-Apr-2007 12:36:23] PHP Fatal error:  Call to a member function on a non-object in /home/omegnus/public_html/portal/cpmfetch/cpmfetch.php on line 770
[27-Apr-2007 15:13:56] PHP Fatal error:  Call to undefined function:  tp_loadtheme() in /home/omegnus/public_html/portal/Sources/Load.php on line 1133
[27-Apr-2007 15:13:59] PHP Fatal error:  Call to undefined function:  tp_loadtheme() in /home/omegnus/public_html/portal/Sources/Load.php on line 1133
[27-Apr-2007 15:14:09] PHP Fatal error:  Call to undefined function:  tp_loadtheme() in /home/omegnus/public_html/portal/Sources/Load.php on line 1133

I believe those load errors were when I was messing with the settings to get it to come up. I got those errors a few times before returning the settings.

sir_keg1

#6
Ok, big update. I was able to get a theme to load:

http://portal.omegacon.us/index.php?theme=2

However, it is missing blocks, and it seems to refuse to let me switch themes in admin.

EDIT: On the missing blocks... duh... they weren't edited in.

sir_keg1

Problem solved. It is cpmfetch causing the issue. I have red flagged it and am working on a fix.

Thanks for all the help, folks!

This website is proudly hosted on Crocweb Cloud Website Hosting.