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


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

Posts: 8
Joined: Feb 2008
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]
(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 Offline
Newbie
*

Posts: 8
Joined: Feb 2008
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
02-28-2008 12:47 PM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #3
RE: Install goes fine but web gui doesn't work
Did you follow the installguide?
02-28-2008 01:50 PM
Visit this user's website Find all posts by this user Quote this message in a reply
StevenE Offline
Junior Member
*

Posts: 104
Joined: Feb 2008
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
02-28-2008 09:43 PM
Find all posts by this user Quote this message in a reply
slimdanny Offline
Newbie
*

Posts: 8
Joined: Feb 2008
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.
02-28-2008 10:01 PM
Visit this user's website Find all posts by this user Quote this message in a reply
slimdanny Offline
Newbie
*

Posts: 8
Joined: Feb 2008
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)
02-28-2008 10:32 PM
Visit this user's website Find all posts by this user Quote this message in a reply
slimdanny Offline
Newbie
*

Posts: 8
Joined: Feb 2008
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?
02-28-2008 10:46 PM
Visit this user's website Find all posts by this user Quote this message in a reply
slimdanny Offline
Newbie
*

Posts: 8
Joined: Feb 2008
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.
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 


Forum Jump:


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