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 kazeshini.net/plugboard and there's an installation of the chatbox at silverlotus.kazeshini.net/yshout/example, 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.
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:
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
.