ispCP - Board - Support
[SOLVED] Install goes fine but web gui doesn't work - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: [SOLVED] Install goes fine but web gui doesn't work (/thread-2592.html)



[SOLVED] Install goes fine but web gui doesn't work - slimdanny - 02-28-2008 12:44 PM

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]


RE: Install goes fine but web gui doesn't work - slimdanny - 02-28-2008 12:47 PM

To clarify
It's the RC3 release from sourceforge

system debian 4.0


RE: Install goes fine but web gui doesn't work - gOOvER - 02-28-2008 01:50 PM

Did you follow the installguide?


RE: Install goes fine but web gui doesn't work - StevenE - 02-28-2008 09:43 PM

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


RE: Install goes fine but web gui doesn't work - slimdanny - 02-28-2008 10:01 PM

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.


RE: Install goes fine but web gui doesn't work - slimdanny - 02-28-2008 10:32 PM

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)


RE: Install goes fine but web gui doesn't work - slimdanny - 02-28-2008 10:46 PM

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

has anyone dealt with this?


RE: Install goes fine but web gui doesn't work - slimdanny - 02-28-2008 10:53 PM

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.