Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In a nutshell, I have an unmanaged VPS. At one time, it had Ubuntu 10.10 server on it, then I reinstalled it with CentOS 6 and updated it to CentOS 6.2. Now, the problem is, the AJAX/jQuery shoutbox has ceased working (I assume it uses one of the two to inject itself into a div and then refresh when new messages are posted, I'm not sure, I didn't write these), and the plug-board script now shows me a lime green blank page. No changes to the source codes have been made, and they are in the location they expect themselves to be.

I have Apache2, MySQL 5, PHP 5, and I did install the php-xml libraries. What am I missing? It's gotta be server side because the scripts themselves are fine, if I move them to a different server they work just fine. I'm not getting any errors related to this in the error_log file. Thanks in advance!

Edit: If you want, you can look at the plugboard at and there's an installation of the chatbox at, I know nothing about scripts and debugging so better someone else looks at it than someone that doesn't know what they're looking for.

share|improve this question
What does your JavaScript error log say? – ceejayoz Jan 2 '12 at 20:47
How do I get to it? I was not aware there was one for JS >>; – Australiya Jan 2 '12 at 21:05
Depends on your browser. – ceejayoz Jan 2 '12 at 21:38
Well, I'm using Chrome so I got into its debugger and there's nothing in there about the scripts, just unrelated missing files (which is my fault anyway). – Australiya Jan 2 '12 at 21:51
You should be able to use the debugger to inspect the AJAX network requests and see what's going on there. It's difficult to help you more without an example link. – ceejayoz Jan 2 '12 at 22:05

In short, it looks like your PHP install is busted or configured incorrectly and is not parsing the page properly. Looking at the source of your page, I see the following:

<? include "config.php"; ?>

<? include "plug.php"; ?>

PHP should be parsing these and doing its thing. You need to make sure the PHP module is being loaded into Apache properly and is parsing the correct php.ini file.

Create a file with the following contents to verify if PHP is being loaded. If it is, you should get a load of information about your PHP install.


If PHP is definitely being loaded, then it's short tags that's the problem. Either enable short tags in the php.ini file or change your <? to <?php.

share|improve this answer
Thank you so much that did it! =3 – Australiya Jan 3 '12 at 0:12
What was it, short tags? – Ben Pilbrow Jan 3 '12 at 0:19
Yeah. I knew PHP was being loaded because I had no issues with running a forum installation so. Both of the scripts were written with short tags and I wasn't gonna run through a zillion files changing em so I just enabled short tags. nod =3 Thanks again! – Australiya Jan 3 '12 at 23:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.