Post Reply  Post Thread 
[SOLVED] Install goes fine but web gui doesn't work
Author Message
slimdanny
Newbie
*


Posts: 8
Group: Registered
Joined: Feb 2008
Status: Offline
Reputation: 0
Post: #1
[SOLVED] Install goes fine but web gui doesn't work

here's what I get when I navigate to my web server

Code:
Notice: Undefined index: LOGIN_TEMPLATE_PATH in /var/www/ispcp/gui/include/system-message.php on line 37

Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/system-message.tpl) is not within the allowed path(s): (/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/) in /var/www/ispcp/gui/include/system-message.php on line 39

Notice: Undefined index: LOGIN_TEMPLATE_PATH in /var/www/ispcp/gui/include/system-message.php on line 41
ERROR: Unable to connect to SQL server !
SQL returned: Can't create UNIX socket (12)


Any ideas?
Thanx[/code]


LinuxGameGuru.com

This post was last modified: 02-28-2008 11:20 PM by slimdanny.

02-28-2008 12:44 PM
Visit this user's website Find all posts by this user Quote this message in a reply
slimdanny
Newbie
*


Posts: 8
Group: Registered
Joined: Feb 2008
Status: Offline
Reputation: 0
Post: #2
RE: Install goes fine but web gui doesn't work

To clarify
It's the RC3 release from sourceforge

system debian 4.0


LinuxGameGuru.com
02-28-2008 12:47 PM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER
Documentation Team
***
Docu Team

Posts: 1,512
Group: Docu Team
Joined: Jul 2007
Status: Offline
Reputation: 13
Post: #3
RE: Install goes fine but web gui doesn't work

Did you follow the installguide?


OS : Debian 4.0 Etch 64bit
ispCP Version : 1.0.0 r1335 - 27.08.08 (NightlyBuild)
Activated : AWStats dynamic
Mods : update via NightlyUpdateScript

!!! NO SUPPORT VIA PM OR EMAIL !!!
02-28-2008 01:50 PM
Visit this user's website Find all posts by this user Quote this message in a reply
StevenE
Junior Member
*


Posts: 99
Group: Registered
Joined: Feb 2008
Status: Offline
Reputation: 0
Post: #4
RE: Install goes fine but web gui doesn't work

had the same problem with my first freebsd installation I'd fixed it just by change the LOGIN_TEMPLATE_PATH in the file to the path where it lays

for me it looks like this:
system-message.php:

// If we are on the login page, path will be like this
// $template = $cfg['LOGIN_TEMPLATE_PATH'].'/system-message.tpl';
$template = '../themes/omega_original/system-message.tpl';

if (!is_file($template)) {
// But if we're inside the panel it will be like this
$template = '../themes/omega_original/system-message.tpl';
}



hope it will help


OS : FreeBSD 7.0-RC1
ispCP Version : RC5
Apache-Version : 2.2.6
MySQL-Version : 5.1.22
Mods : none
02-28-2008 09:43 PM
Find all posts by this user Quote this message in a reply
slimdanny
Newbie
*


Posts: 8
Group: Registered
Joined: Feb 2008
Status: Offline
Reputation: 0
Post: #5
RE: Install goes fine but web gui doesn't work

gOOvER:
yes I followed the install guide for my distro.

to StevenE:
I'll try that, see if it works.
However, we shouldn't be hacking code here, maybe there's another workaround.


LinuxGameGuru.com
02-28-2008 10:01 PM
Visit this user's website Find all posts by this user Quote this message in a reply
slimdanny
Newbie
*


Posts: 8
Group: Registered
Joined: Feb 2008
Status: Offline
Reputation: 0
Post: #6
RE: Install goes fine but web gui doesn't work

To: StevenE
you workaround semi works, not a good way of approaching the problem though.

I'm still getting this msg:

ERROR: Unable to connect to SQL server !
SQL returned: Can't create UNIX socket (12)


LinuxGameGuru.com
02-28-2008 10:32 PM
Visit this user's website Find all posts by this user Quote this message in a reply
slimdanny
Newbie
*


Posts: 8
Group: Registered
Joined: Feb 2008
Status: Offline
Reputation: 0
Post: #7
RE: Install goes fine but web gui doesn't work

so I restarted mysql..
and it doesn't fire up. same error message: Can't create UNIX socket (12)

has anyone dealt with this?


LinuxGameGuru.com
02-28-2008 10:46 PM
Visit this user's website Find all posts by this user Quote this message in a reply
slimdanny
Newbie
*


Posts: 8
Group: Registered
Joined: Feb 2008
Status: Offline
Reputation: 0
Post: #8
RE: Install goes fine but web gui doesn't work

Up and running!.

my virtual machine socket limit was set to 120 ... so the system was running out of them pretty quick.

Thank you everyone.


LinuxGameGuru.com
02-28-2008 10:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

| All rights reserved : isp-control.net |