Broken Script

19 posts / 0 new
Last post
#1 Fri, 07/08/2011 - 21:03
UGxPWN1t

Broken Script

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?

Fri, 07/08/2011 - 21:05
UGxPWN1t

Server error The website encountered an error while retrieving http://gamerspark.net/admin/index.php?adsess=52859eeb48e7301168e5ce70933.... 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.

Fri, 07/08/2011 - 21:08
andreychek

Howdy,

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.

-Eric

Fri, 07/08/2011 - 21:12
UGxPWN1t

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

Fri, 07/08/2011 - 21:15
UGxPWN1t

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.

Fri, 07/08/2011 - 21:21
andreychek

Howdy,

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.

-Eric

Fri, 07/08/2011 - 21:27
UGxPWN1t

I'm getting this now. [Sat Jul 09 06:26:52 2011] [error] [client 99.253.234.49] 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

Sat, 07/09/2011 - 00:48
andreychek

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?

-Eric

Sat, 07/09/2011 - 08:10
UGxPWN1t

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.

Sat, 07/09/2011 - 08:20
UGxPWN1t

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 -.-

Sat, 07/09/2011 - 08:39
UGxPWN1t

Ok well I found php53-xml but now the problem is my PHP is killed and none of my sites load now lol.

Sat, 07/09/2011 - 08:52
UGxPWN1t

I'm going to reinstall my OS, install Virtualmin, then install php-53 and php53-xml and see if just that works.

Sat, 07/09/2011 - 08:56
Locutus

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.

Sat, 07/09/2011 - 09:11
UGxPWN1t

Great now I can't even login to my system after reintalling the OS to install it from the install.sh lol.

Sat, 07/09/2011 - 10:55
andreychek

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.

-Eric

Sat, 07/09/2011 - 11:53
Locutus

Define "can't login"... Is the connection timing out? Wrong user? Wrong password?

Sat, 07/09/2011 - 12:11
UGxPWN1t

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.

Sat, 07/09/2011 - 18:30
Locutus

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. :P

Mon, 07/11/2011 - 17:37
UGxPWN1t

I answered every single question...

Topic locked