Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

Blank page when upgrading from 2.02 to 2.03

shokk
Pepper Developer
Posted on Feb 24, '07 at 05:17 pm

I just upgrade shokk.com/mint to 2.03 from 2.02 and am seeing a blank page for the main mint page. These errors at the /mint/?errors page:

Fatal error: Call to undefined method: si_localsearches->onafterdisplay() in /web/shokk/mint/app/lib/mint.php on line 1829

The function onAfterDisplay exists in app/lib/mint.php app/lib/pepper.php in the v203 directory, but not in the v202 directory. It seems to support the new Refresh Pepper as that’s the only instance of it anywhere, but even uninstalling that Pepper does not help.

My preferences page is working OK to uninstall or disable peppers. I’ve finally just left everything but the default peppers disabled and am using the vanilla_mint style. The page is still blank.

If I move the 2.02 app directory back in place, I can see the mint page again, but this obviously isn’t optimal.

I’ve cleared the cache and restarted the browser a number of times. I’ve checked that the files that were included in the v203 directory (apps dir, and backuprestore and default peppers) are the same as what is in production with “diff -r” and there are no differences. The style dir is in the new location and I can get to shokk.com/mint/app/styles/base.css. No old peppers are left anywhere.

Shaun Inman
Mint/Pepper Developer
Posted on Feb 25, '07 at 09:02 am

It sounds like your /mint/app/lib/pepper.php was not updated. Try downloading the latest version of Mint again and reuploading that file. (It might be better to reupload the entire /app/ directory because if one file didn’t make it up, there’s a good chance that others didn’t either.)

shokk
Pepper Developer
Posted on Feb 25, '07 at 10:17 am

I’m actually doing this on the web server itself, so when I download mint_v203.zip, I blow away mint/app and move mint_v203/app into place. A “diff -r” between the one I just downloaded and the one that was causing the trouble shows no differences between any files or folders in the two. Still the blank page.

Yet now when I look at ?errors, I get…..

Notice: Undefined variable: gens in /web/shokk/mint/pepper/ronaldheft/blogcomments/class.php on line 117

Notice: Undefined variable: langs in /web/shokk/mint/pepper/ronaldheft/blogcomments/class.php on line 126

Notice: Undefined index: 2 in /web/shokk/mint/pepper/clupprich/geomint/class.php on line 285

shokk
Pepper Developer
Posted on Feb 25, '07 at 10:39 am

I was editing the above longer than 5 mins so I didn’t get to tack this on…

The above errors are from when I go to the ?preferences pane, not ?errors.

The HTML output from shokk.com/mint can be seen at shokk.com/mint.txt

When I click Done in preferences I get taken to the blank page with Fatal error: Call to undefined method: si_localsearches->onafterdisplay() in /web/shokk/mint/app/lib/mint.php on line 1829

Additionally, looking at the Preferences pane, it no longer shows different Peppers when I click on their names. If I click Install it shows various to Install and Uninstall. I is showing various peppers at the same time. There are no old peppers in the directory… [root@chewbacca shauninman]#ls backuprestore default realestate secretcrush birdfeeder localsearches refresh useragent007

Backup/restore is 2.00, Birdfeeder is 202. Default shows as version 201. Local Searches shows as 201. Real Estate is 200. Refresh is 200. Secret Crush is 206. UserAgent is version 200.

All of the above has been in Firefox. When I look at the preferences pane from IE6 now, I get script errors and something like “‘tab’ is null or not an object.” and the page does not render properly. When I go to the Mint page I get a message that “‘innerHTML’ is null or not an object”. Something is definitely fubar.

shokk
Pepper Developer
Posted on Feb 25, '07 at 01:36 pm

OK, after deciding things couldn’t get any worse than what they were, I blew the whole setup away (not the database!), reinstalled Mint 2.03 with my old config/db.php file and added each pepper back one by one. All is back to normal and thankfully the basics have been working in the background so all my visitors were being recorded all this time.

Mint also seems to load faster now: 20 seconds for the whole page to load down from a previous 60 seconds.

And now, as a bonus, I unchecked the feed readers box in User Agents, saved, went back into prefs and checked it. After saving that I now have my Readers tab in User Agents! Yay!

Sam Brown
Pepper Developer
Posted on Feb 25, '07 at 03:59 pm

20 seconds for the whole page to load

That seems like an awfully long time compared to any of my Mint installs. Strange.

shokk
Pepper Developer
Posted on Feb 25, '07 at 07:20 pm

It definitely got longer as I added more peppers to the install. When I first load the page the titles of the peppers appear in an evenly spaced grid with little “refreshing” symbol. After about 7-9 seconds the panes appear under titles, but I don’t seem to have control of the browser for another 11+ seconds.

Maybe 23 peppers is too much?

Sam Brown
Pepper Developer
Posted on Feb 26, '07 at 05:31 am

Hah.. yeah, 23 would be the difference I imagine.

Shaun Inman
Mint/Pepper Developer
Posted on Feb 26, '07 at 09:41 am

Disabling “Collapse vertical whitespace” with that many Pepper would probably improve load time.

shokk
Pepper Developer
Posted on Feb 26, '07 at 11:26 am

Holy cow! 3 seconds!

You must be logged in to reply. Login above or create an account