Current time: 11-24-2024, 05:39 AM Hello There, Guest! (LoginRegister)


Post Reply 
ispCP Omega 1.0.6 fails after upgrading PHP to 5.3.3 from 5.3.2
Author Message
edeis Offline
Junior Member
*

Posts: 34
Joined: May 2010
Reputation: 0
Post: #1
ispCP Omega 1.0.6 fails after upgrading PHP to 5.3.3 from 5.3.2
Wierdest thing.

I've been running ispCP for months. Just upgraded PHP from 5.3.2 to 5.3.3. When loading ispCP, all I get is a blank page! PHP upgrade works on all other websites on the server, phpmyadmin, roundcube, wordpress, etc.

Really puzzled. Can you help me quick? I need to get ispCP back up so users can administer their websites!!

I've double checked that error reporting is on.
/var/www/fcgi/master/php5/php.ini
error_reporting = E_ALL & ~E_NOTICE
display_errors = On

ispcp-lib.php
error_reporting(E_ALL);

I've even added this to /var/www/ispcp/gui/index.php
error_reporting(E_ALL ^ E_DEPRECATED);
echo ("Test");

With this change, when accessing index.php, it will output "Test" on a blank page but ispCP does not show up!!
I've put another echo after
require 'include/ispcp-lib.php';
in /var/www/ispcp/gui/index.php

and it does not show. Sounds like the problem lays with ispcp-lib.php
Testing...looks like ispcp-lib.php stops when it gets to:
require_once(INCLUDEPATH . '/ispcp-db-keys.php');

I am going to check this file and see where it stops.
Okay, here's an update.

The problem was here:
require_once(INCLUDEPATH . '/ispcp-db-keys.php');

It died at this point. Would not even display any echo commands from this file.

I noticed that it had different file permissions than all the other files (the group was not readable, only owner). chmod g+r, and bam! it works.
(This post was last modified: 10-06-2010 10:21 AM by edeis.)
10-06-2010 09:48 AM
Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #2
RE: ispCP Omega 1.0.6 fails after upgrading PHP to 5.3.3 from 5.3.2
Hello ;

So, to resume, it's just a permissions issue on the ispcp-db-keys.php ?

Please, can you try the following:

Code:
# sh /var/www/ispcp/engine/setup/set-gui-permissions.sh

and then, check if the panel is reachable. Thanks.
10-06-2010 10:23 AM
Quote this message in a reply
edeis Offline
Junior Member
*

Posts: 34
Joined: May 2010
Reputation: 0
Post: #3
RE: ispCP Omega 1.0.6 fails after upgrading PHP to 5.3.3 from 5.3.2
No, it was not accessible. Broken again with blank screen.

After running the script, the result was:
-r-------- 1 vu2000 vu2000 1268 Oct 5 17:19 ispcp-db-keys.php

In order to get it to work, I had to:
chown vu2000:apache ispcp-db-keys.php
chmod g+r ispcp-db-keys.php


Works now.
10-06-2010 02:31 PM
Find all posts by this user Quote this message in a reply
Nuxwin
Unregistered

 
Post: #4
RE: ispCP Omega 1.0.6 fails after upgrading PHP to 5.3.3 from 5.3.2
re ;

It's not normal behavior. Normally, vu2000 should be able to read this file. Are you sure to use fcgid or fastcgi ?
10-06-2010 04:08 PM
Quote this message in a reply
edeis Offline
Junior Member
*

Posts: 34
Joined: May 2010
Reputation: 0
Post: #5
RE: ispCP Omega 1.0.6 fails after upgrading PHP to 5.3.3 from 5.3.2
Found that
/etc/httpd/vhosts/00_master.conf

was missing the following line in <IfModule mod_fcgid.c>:
Include /etc/httpd/conf.d/fcgid_ispcp.conf

It hasn't been there since I've been using the machine in production. This line is however included in client sites. Not sure if it was missing since installing ispCP, or was missing from tutorial/how to for setting up https.

Ran the script after changing 00_master.conf, now it works fine.
10-07-2010 04:15 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)