After migrating a few of my sites to virtualmin from cPanel my sites running IPB/ Invision Power Board (forum script) won’t let me into the admin area (I get a error 500 just as it’s redirecting me to the panel. Any ideas?
The website encountered an error while retrieving http://gamerspark.net/admin/index.php?adsess=52859eeb48e7301168e5ce7093311d8b&. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this web page later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
Any time you see a 500 Error, you can look in the Apache logs ($HOME/logs/error_log) to see the actual error messages that are being generated.
This is what happens when I try to open that folder with FileZilla.
Status: Starting download of /home/gamerspa/logs/error_log
Command: get “error_log” “\error_log”
Error: local: unable to open \error_log
Error: File transfer failed
I believe I found the error here.
[Sat Jul 09 05:59:06 2011] [warn] mod_fcgid: stderr: PHP Fatal error: Class ‘DOMDocument’ not found in /home/gamerspa/public_html/ips_kernel/classXML.php on line 342
I think I need a package called DOM XML? Any idea on how to install it?
Edit: Oh yeah and thanks for your help, sorry for being such a noob.
You may want to try installing the PHP XML module… on CentOS, that would be called php-xml. On Debian/Ubuntu, it would be php5-xml.
I’m getting this now.
[Sat Jul 09 06:26:52 2011] [error] [client 188.8.131.52] File does not exist: /home/gamerspa/public_html/public/js/tb_tickets_navbar.js, referer: http://gamerspark.net/
[Sat Jul 09 06:27:08 2011] [warn] mod_fcgid: stderr: PHP Fatal error: Class ‘DOMDocument’ not found in /home/gamerspa/public_html/ips_kernel/classXML.php on line 342
Well, I still see that “Class ‘DOMDocument’ not found” error – that suggests the PHP XML module either isn’t installed or configured.
Were you able to install that module? Also, which distro are you using?
One thing I get that looks bad is this.
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
Anyway, I did install it and it said it was successful but maybe it’s because I used a PHP from some third party repo? I’ll try removing all of PHP and installing PHP35 then putting on the xml.
Ok, well here’s the problem, my script XenForo requires the newest PHP, php53 works, but, to get php-xml installed php53 needs to be removed -.-
Ok well I found php53-xml but now the problem is my PHP is killed and none of my sites load now lol.
I’m going to reinstall my OS, install Virtualmin, then install php-53 and php53-xml and see if just that works.
How did you transition to Virtualmin? It is highly recommended to install it on a fresh grade-A supported system with the provided
install.sh. And it’s not recommended to use third-party PHP (or similar) stuff, cause this is prone to cause all kinds of breakage (as you’ve seen). Or rather, it is recommended to do so only if you know your system very well and know how to fix such dependency or package problems.
Great now I can’t even login to my system after reintalling the OS to install it from the install.sh lol.
Hmm, if you reinstalled the OS, it would have reset the root password… so, you’d need to access your server via SSH, using the root password that was setup during that reinstall.
Define “can’t login”… Is the connection timing out? Wrong user? Wrong password?
I meant can’t login as in after I put in my password it never loads the shell. Well after like 10 minutes it did but the entire shell was super slow on both 32bit and 64 so I just loaded up Debian 6 64bit and every one of my problems were solved.
To me this sounds mostly like a problem with the installation images that your hoster provides you with.
Can’t say much else really, since you consistently choose to ignore at least half of the questions that Eric and me are asking.
I answered every single question…