TinyPortal v1.0 beta 4

Tinyportal is a portal mod for SMF that adds articles, blocks, modules and frontpage options for your site.

* *

User

Welcome, Guest. Please login or register.
February 08, 2010, 20:22

Login with username, password and session length

BlocWeb

Shoutbox

Last 10 Shouts:

Today at 19:26
Anyone knowq whats happening with SMF .. is the situation resolving or getting worse.. IE: whats going to happen to SMF what Tinyportal is built to use
Today at 05:14
Tux,

Ask in support.
February 07, 2010, 21:41
I need help with my tiny portal :(
February 07, 2010, 14:05
I dunno

No RC2 TP then no smilies

Kidding, please don't stress Bloc  ;D
February 07, 2010, 13:43
lol, back now 8)
February 07, 2010, 13:38
;D
February 07, 2010, 13:37
Hello everyone!
No smilies..oh golly gosh..someone stole Bloc's smilies.
lmaooooooooooo
February 07, 2010, 12:50
Great Work Bloc...
February 07, 2010, 09:33
Rest assued beta5 is moving towards public release at a pretty good pace. The bugs are being erased as fast as they are discovered. :)
February 07, 2010, 07:54
Go Colts[/b]

Show 50 latest

Recent Topics

Stats

Members
Stats
  • Total Posts: 244559
  • Total Topics: 25485
  • Online Today: 179
  • Online Ever: 1642
  • (July 09, 2008, 20:19)
Users Online
Users: 6
Guests: 87
Total: 93

Author Topic: Host Upgraded Zend Optimizer/PHP - Blank Index Page  (Read 6332 times)

0 Members and 1 Guest are viewing this topic.

Offline sir_keg1

  • TP Challenged
  • *
  • Posts: 9
    • View Profile
Host Upgraded Zend Optimizer/PHP - Blank Index Page
« on: April 27, 2007, 14:30 »
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:

Code: [Select]
// TinyPortal include
require_once($sourcedir . '/TPortal.php');

and

Code: [Select]
        // 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.

« Last Edit: April 27, 2007, 14:53 by sir_keg1 »

Offline G6

  • TP Admin
  • Hero Member
  • *
  • Posts: 20552
  • Soon to be
    • View Profile
    • FAMILJEGODIS
Re: Host Upgraded Zend Optimizer/PHP - Blank Index Page
« Reply #1 on: April 27, 2007, 15:09 »
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

Offline sir_keg1

  • TP Challenged
  • *
  • Posts: 9
    • View Profile
Re: Host Upgraded Zend Optimizer/PHP - Blank Index Page
« Reply #2 on: April 27, 2007, 15:33 »
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?

Offline G6

  • TP Admin
  • Hero Member
  • *
  • Posts: 20552
  • Soon to be
    • View Profile
    • FAMILJEGODIS
Re: Host Upgraded Zend Optimizer/PHP - Blank Index Page
« Reply #3 on: April 27, 2007, 15:39 »
Quote
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


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

Offline sir_keg1

  • TP Challenged
  • *
  • Posts: 9
    • View Profile
Re: Host Upgraded Zend Optimizer/PHP - Blank Index Page
« Reply #4 on: April 27, 2007, 17:36 »
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.

Offline sir_keg1

  • TP Challenged
  • *
  • Posts: 9
    • View Profile
Re: Host Upgraded Zend Optimizer/PHP - Blank Index Page
« Reply #5 on: April 27, 2007, 17:48 »
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.
« Last Edit: April 27, 2007, 17:50 by sir_keg1 »

Offline sir_keg1

  • TP Challenged
  • *
  • Posts: 9
    • View Profile
Re: Host Upgraded Zend Optimizer/PHP - Blank Index Page
« Reply #6 on: April 27, 2007, 18:05 »
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.
« Last Edit: April 27, 2007, 18:08 by sir_keg1 »

Offline sir_keg1

  • TP Challenged
  • *
  • Posts: 9
    • View Profile
Re: Host Upgraded Zend Optimizer/PHP - Blank Index Page
« Reply #7 on: April 27, 2007, 18:56 »
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!

 

Page created in 0.035 seconds with 30 queries.