Upgrade to Core WP 2.8

following yesterday’s post I have found severe issues with WP’s plugin handling. A bunch of plugins are failing with the error: Invalid Header File. This is despite the fact that the header files are valid.
Once a plugin has failed it is also disappearing from the plugin list. Not just the active list, but the list of all plugins. This is really bad.
I have not managed to locate the error in the new code but have confirmed that others are suffering similarly.
I have currently downgraded to 2.8 beta 1 and although the plugins do not re-appear, i can now re-upload and activate them without issues. i will need to do a diff in the plugin handling code to see where the problem lies. Something for another day…

7 Comments

Alan StewartJune 16th, 2009 at 2:13 am

Hi Justin,

I am having the same issue on several sites and will follow your lead with downgrading.

Thanks for keeping us informed.

Cheers,

Alan :o)

pipi95June 29th, 2009 at 6:42 am

Could you tell me what the PHP version required by PDO For WordPress!
Because I meet a problem when I installing WP2.8 with PDO For WordPress 2.61 on PHP 4.3.11.

Thanks,

JustinJune 29th, 2009 at 8:52 am

Hi
the PDO abstraction layer is not available for php 4.x thus my code will not work on it.
SFAIA php 4.x is no longer in development. It is still being patched for security holes. I suspect you would be well advised to upgrade to a php 5.x branch.

JustinJune 29th, 2009 at 9:41 am

@Alan

i am not sure that i have found the problem but making my plugins more ‘shallow’ by one directory and ensuring that the line terminators of each of the header lines are \n rather than \r\n seems to have solved the issue for me on some test sites. i have yet to have the courage to roll out the fixes to production sites though ….

pipi95June 29th, 2009 at 11:56 am

I’m so disappointed, my website is working on a host of a ISP, they provided me php4. But also appreciate to you ,Thank you very much!

JustinJune 29th, 2009 at 12:59 pm

which host do you use?
lots of hosts offer sqlite hosting too. 1&1, bluehost.com for example.

eamJuly 10th, 2009 at 4:31 am

Hello, plug in the background of “page”, the article can not be added, how to solve it?

Leave a comment

Your comment