04.15.08
Wordpress 2.5
Just updated the blog to build 2.5 as I was warned the old version had a major security error. The upgrade went entirely smoothly and a cursory look around leaves me with a good impression of the new admin system. It seems slicker and less cluttered now.
I really ought to make a custom theme for this blog at some point, but it’s just so much work and frankly I’d rather focus on TNM. Anyway, if you notice anything wrong with the blog after the upgrade, please be so kind as to mail me about it! Or even better: Post a comment about it here ![]()



EER said,
April 16, 2008 at 00:22
I must say, this new blog looks EXACTLY like the old one.
Good work
Jonas said,
April 16, 2008 at 00:39
Hahah that’s exactly what I want to hear
Thanks!
The best thing about the upgrade is that I realized my Captcha (anti-spam) plugin had somehow been disabled, so that must be why I’ve been getting 10-15 spam comments per day for a few weeks. Really glad I finally noticed that.
Casper said,
April 16, 2008 at 07:10
Damn you Jonas! Damn you! Now my admin system on my blog won’t work after upgrading to 2.5, I get the strangest error, and the fix i found on wordpress support site doesn’t work.
Damn you to hell!
EER said,
April 16, 2008 at 07:36
Casper, your site ALSO looks exactly the same
What’s the error you get?
Casper said,
April 16, 2008 at 07:42
The error I get is when I try to login into the admin site:
Warning: require_once(ABSPATHwp-admin/includes/admin.php) [function.require-once]: failed to open stream: No such file or directory in …/wp-admin/upgrade.php on line 5
Fatal error: require_once() [function.require]: Failed opening required ‘ABSPATHwp-admin/includes/admin.php’ (include_path=’.:/usr/local/share/pear’) in …/wp-admin/upgrade.php on line 5
But the first error I got was this one:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 208834 bytes) in
/home/*****/public_html/wp-includes/cache.php on line 48
Where I tried this solution :
ini_set(”memory_limit”,”12M”);
EER said,
April 16, 2008 at 12:03
It seems there is some file not in a place where it would expect it, but you would have probably guessed that (or so I hope). I’d check for the existence of %your wp folder%/wp-admin/upgrade.php
If it’s not there, it might have been deleted after the initial login/upgrade in 2.5.
I’d just reupload it, then login again. I would guess Wordpress thinks the upgrade should be done, but the upgrade file is not there. As to why it’s not there, I could think of the scenario that you would get the memory error you mentioned, but wordpress deleted the file anyhow because it didn’t know of the error condition.
If it leaves your blog in such an unusable state that’s some bug they’ve got going on there btw. imho.
EER said,
April 16, 2008 at 12:09
Btw, Jonas, your captcha always says the same word, which might not be what you want.
Also, I heard yesterday that some audio captcha’s have been cracked, smart thinking by them hackers
Jonas said,
April 16, 2008 at 15:04
Hm the captcha works for me.
Casper, did you remember to visit the update page?
Casper said,
April 16, 2008 at 19:17
->EER:
I tried to replace the file, actually several times, but no succes, so im kinda stuck
->Jonas:
Yeah, I try to go onto the upgrade.php page, and get that error
EER said,
April 16, 2008 at 20:26
-> Casper:
I’m so stupid, I misread the whole error, it can’t find the file “wp-admin/includes/admin.php”, check that one instead of the upgrade one.
-> Jonas:
Yeah, I must have been seeing things. Captcha works.
Casper said,
April 16, 2008 at 20:54
->EER:
Still nothing, im really wondering what im doing wrong
Jonas said,
April 16, 2008 at 20:59
CAPTCHA: “usuk”
EER: “Hmmm…” *refreshes*
CAPTCHA: “usuk”
EER: “That’s odd…” *refreshes*
CAPTCHA: “usuk”
EER: “Jonas, your Captcha seems to be broken.” *refreshes*
CAPTCHA: “usuk”
Jonas: *Checks Captcha*
CAPTCHA: “butter”
Jonas: “Looks good to me.”
EER: “Really?” *refreshes*
CAPTCHA: “moron”
EER: “Oh yeah that’s better.”
CAPTCHA: “sucker”
EER said,
April 16, 2008 at 21:09
-> Jonas:
That’s EXACTLY how it happened
-> Casper:
If you add me on MSN (ask Jonas for it or leave a comment on eer.cc with your address) I could help troubleshooting, unfortunately I’m not a WP user, but I can read/write php and sql so it must be fixable
EER said,
April 16, 2008 at 22:59
-> Casper:
I’ve succesfully upgraded the database, but in the process reverted to the default theme. Unfortunately, haven’t been able to get rid of the memory errors in the admin panel
However, I’m pretty sure it has something to do with your hosts’ webserver configuration. I have unzipped wordpress on my local server here, used your configuration file to connect to your database and everything worked A-OK.
By using a phpinfo() file I found out that your webhost does not allow setting memory_limit through php code or .htaccess file. Unfortunately, I don’t know enough about webserver configuration (and do not have access to it at your host) to solve it. I would suggest contacting your host for support. Specifically, requesting a higher memory limit if possible. (hopefully they aren’t the spiteful kind of hosts).
Casper said,
April 17, 2008 at 08:23
->EER:
I’ll try to contact my hosting company later today. I hope my problem with the admin panel can be solved 
Thank you very much
Massacred Pen » Blog Archive » Casper 1217 - Spam 0 said,
April 22, 2008 at 07:51
[…] after seeing Jonas bragging about how easy it was to update to Wordpress 2.5, I thought to my self, why not update to 2.5(Also […]