I've been pulling my hair out about this problem for the last couple days, it even kept me up all night last night but I finally have figured this out.
Wednesday night, I upgraded my Internet server to PHP v4.2.0-RC1. Then Thursday morning, I upgraded my board from v2.2.2 of vBulletin to v2.2.4. When I logged into my CPanel I was astonished to find that all my templates had vanished. In addition to that, I was unable to edit the user table from the Administrator Control Panel, it did nothing but display MySQL errors. Values found in the usergroup table were fine however. Again, I figured it was a problem with my upgrade.
The problem: (only custom templates, and modified ones appeared)
Since my board contained some hacks, including vBPortal, which makes upgrading difficult, I figured it was an error in my upgrading. After many attempts, and a trouble ticket later, I was still stumpted.
I installed a test board using a fresh copy of v2.2.4, using different versions of the master style sheets, uploaded a lot of different ways. I then uploaded a copy of v2.2.2, and to my suprise, the templates were still missing.
After a glass of milk and an episode of Star Trek later, it hit me, PHP.
On a hunch, I downgraded back to v4.1.2 and behold, my templates returned, and I was again able to edit the user table.
My guess is it must have something to do with the re-written file upload code in 4.2.0, or a database interface that no longer works. Hopefully this can be fixed for vB v2.2.5, since PHP 4.2.0 is slated to come out April 21, and I know most people here like to keep their servers up-to-date.
I've e-mailed Kevin about this to let him now, just incase no one reads this.
So, the moral of this story is, don't use PHP 4.2.0 until vB fixes some imcompatilities with it.
Wow, I finally did something useful.
Wednesday night, I upgraded my Internet server to PHP v4.2.0-RC1. Then Thursday morning, I upgraded my board from v2.2.2 of vBulletin to v2.2.4. When I logged into my CPanel I was astonished to find that all my templates had vanished. In addition to that, I was unable to edit the user table from the Administrator Control Panel, it did nothing but display MySQL errors. Values found in the usergroup table were fine however. Again, I figured it was a problem with my upgrade.
The problem: (only custom templates, and modified ones appeared)
Since my board contained some hacks, including vBPortal, which makes upgrading difficult, I figured it was an error in my upgrading. After many attempts, and a trouble ticket later, I was still stumpted.
I installed a test board using a fresh copy of v2.2.4, using different versions of the master style sheets, uploaded a lot of different ways. I then uploaded a copy of v2.2.2, and to my suprise, the templates were still missing.
After a glass of milk and an episode of Star Trek later, it hit me, PHP.
On a hunch, I downgraded back to v4.1.2 and behold, my templates returned, and I was again able to edit the user table.
My guess is it must have something to do with the re-written file upload code in 4.2.0, or a database interface that no longer works. Hopefully this can be fixed for vB v2.2.5, since PHP 4.2.0 is slated to come out April 21, and I know most people here like to keep their servers up-to-date.
I've e-mailed Kevin about this to let him now, just incase no one reads this.
So, the moral of this story is, don't use PHP 4.2.0 until vB fixes some imcompatilities with it.
Wow, I finally did something useful.
Comment