PDA

View Full Version : Just moved things to a new drive, blank screens


Ludachris
Mon 17th Apr '06, 11:31pm
I just had the host copy everything to a new drive. All db-driven applications, including vb, are now showing up as blank pages. Can I have someone look at my phpinfo file and tell me if there's a bad setting:

http://208.186.78.9/phpinfo.php

Steve Machol
Mon 17th Apr '06, 11:44pm
'Cannot find server'

Ludachris
Mon 17th Apr '06, 11:57pm
Stange, I'll check with the host - it comes up for me. Sorry about that.

Ludachris
Tue 18th Apr '06, 12:02am
I was told it should work - maybe you checked during a reboot?

Ludachris
Tue 18th Apr '06, 1:37am
Can you guys recommend any good sysadmins that might be able to help get this fixed? We're in a pretty critical situation here and it would be nice to have someone who knows how to set up a server correctly for vb to be taking care of it for us.

Steve Machol
Tue 18th Apr '06, 2:32am
It's showing now.

First, there are known problems with PHP 5.0.4, including incompatibilities with vB. I strongly recommend that you upgrade to the latest version.

Second, your PHP is compiled without MySQL support. Specifically:

'without-mysql'

That is the major issue. This needs to be recompiled with full MySQL support.

Ludachris
Tue 18th Apr '06, 12:51pm
So we upgraded to PHP 5.1.x and it hasn't fixed the problem. What is the recommendation on safe_mode and register_globals? Our host is asking. Any other suggestions in regards to the phpinfo file?

Steve Machol
Tue 18th Apr '06, 1:40pm
You upgraded but you still have not compiled PHP with full MySQL support as per my previous message. Look at the Configure Command options. You still have:

'--without-mysql'

vB will work with or without safe_mode and register_globals but my recommendation is to have them both ogg.

Ludachris
Tue 18th Apr '06, 4:15pm
Just FYI, all db-driven pages, including VB are having the same problem - they all show up as blank screens. Would the PHP compilation affect that?

Steve Machol
Tue 18th Apr '06, 5:04pm
Yes, of course this will happen to all db-driven pages. That's because PHP is not compiled with MySQL support as I have tried to point out. I'm not sure what more I can tell you. You need to recompile PHP with full MySQL support.

Ludachris
Tue 18th Apr '06, 6:38pm
Thanks Steve. That's what I figured. The host is telling me that "PHP loads mysql with a module. I just compiled it and it is working. The php info page clearly shows mysql support. What does VB mean by 'full mysql support'? We have this configuration on 100's of servers and your old server loaded mysql support the same way."

I'm not an expert, I'm just relaying the information.

I'm pulling my hair out over this. Our forums have been offline for six days now because of this move. And all I can do is relay info and sit back and watch my business take a dive as each hour passes. I really don't know what to do at this point.

In any case, thanks for all your help. I greatly appreciate it.

Steve Machol
Tue 18th Apr '06, 7:40pm
As I've pointed out PHP was compiled with:

'--without-mysql'

Tell your host they need to recompile with:

'--with-mysql'

Hopefully that is clear enough for them.

Scott MacVicar
Tue 18th Apr '06, 9:17pm
Steve you are mistaken, just because it has --without-mysql within the compile string it does not mean it can't be loaded as a module, the --without-mysql just means it wasn't compiled statically. This is how most linux distributions do it. If you scroll down the page you can see MySQL support is included.

Can you check the error log to see if it shows anything regarding the white page, what about a fresh installation of vBulletin on another database just to see if everything is working correctly.

Steve Machol
Tue 18th Apr '06, 10:20pm
Interesting, particularly since I've never seen a PHP compiled with '--without-mysql' that actually worked. And I've seen a lot of Linux servers, including my own (RH Fedora).