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


Post Reply 
FreeBSD7 Help with this error, please
Author Message
onelife Offline


Posts: 2
Joined: Feb 2009
Reputation: 0
Post: #1
FreeBSD7 Help with this error, please
Hello.

When I install ISPCP there was many trouble, which I solved. But 1 I can't... When try to open http://admin.testmachine - error 403, the http://admin.testmachine/index.php there next error:

Fatal error: Uncaught exception 'Exception' with message 'Database error: Not connected to default' in /usr/local/www/ispcp/gui/include/class.database.php:21 Stack trace: #0 /usr/local/www/ispcp/gui/include/i18n.php(66): Database::getInstance() #1 /usr/local/www/ispcp/gui/include/system-message.php(49): tr('ispCP Error') #2 /usr/local/www/ispcp/gui/include/ispcp-config.php(62): system_message('ERROR: The php-...') #3 /usr/local/www/ispcp/gui/include/sql.php(26): decrypt_db_password('r6mMh3DvSSM=') #4 /usr/local/www/ispcp/gui/include/ispcp-lib.php(54): require_once('/usr/local/www/...') #5 /usr/local/www/ispcp/gui/index.php(21): require('/usr/local/www/...') #6 {main} thrown in /usr/local/www/ispcp/gui/include/class.database.php on line 21

I twice entered the right data ( localhost, root, pass) to mysql setting in the setup script, and test it with mysql - so I don't know what this may be.....

And more: when I compiled with "make Makefile.fbsd install" :

[root@testbsd ~/ispcp-omega-1.0.0]# make Makefile.fbsd install
"BSDmakefile", line 39: Malformed conditional ($(OSTYPE)==FreeBSD)
"BSDmakefile", line 41: if-less else
"Makefile.inc", line 32: Need an operator
"Makefile.inc", line 34: Need an operator
"BSDmakefile", line 43: if-less endif
make: fatal errors encountered -- cannot continue
[root@testbsd ~/ispcp-omega-1.0.0]#

Then I remove this lines in all BSDmakefile's :

#.ifdef $(OSTYPE)==FreeBSD
.include <Makefile.fbsd>
#.else
#.include <Makefile.inc>
#.endif

and all compile ok. That right compile I hope??? no was errors

Help me understand what my errors or what can I do to fix this .
02-27-2009 08:37 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
FreeBSD7 Help with this error, please - onelife - 02-27-2009 08:37 PM

Forum Jump:


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