ispCP - Board - Support
/admin/manage_users.php not found - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Migration (/forum-35.html)
+--- Thread: /admin/manage_users.php not found (/thread-8605.html)

Pages: 1 2 3 4 5 6


/admin/manage_users.php not found - 4tux - 11-29-2009 01:40 PM

this Night i changed my Server. I tryed it a lot of times before, but i never get this errors.

I could fix the first errors by myself, but no I do not know how I can fix it.

The error is, that i can not access the manage_users.php in the admin-panel. Does anyone has an Idea?


RE: /admin/manage_users.php not found - gOOvER - 11-29-2009 04:53 PM

Please more Info's, else we can't help Wink


RE: /admin/manage_users.php not found - 4tux - 11-29-2009 08:43 PM

Ok, sorry... I was a little bit tired last night...

The Old system was a Debian Etch System an the new System is a Debian Lenny. I made the migration like it is shown in the Howto. Last week i tryed this (but without the DNS-Change) an everything went fine. But last Night I made the Transfer of all things (there was no error) and when i logged in in the Admin-Panel, i can not see the manage_users.php-Site. I get an Error 404. I do not know why.

In /var/www/ispcp/gui/admin is a manage_users.php file and it has the excact permissions like all others and like the file on the old server.

I do not know, where the problem is...

What more Information do you need?


RE: /admin/manage_users.php not found - 4tux - 11-30-2009 02:08 AM

Ok, i solved almost every Problem... But now, i have the next...

If i want to connect to the Admin-Panel, i get this error:
Quote:Fatal error: Uncaught exception 'Exception' with message 'Database error: Not connected to default' in /var/www/ispcp/gui/include/class.Database.php:52 Stack trace: #0 /var/www/ispcp/gui/include/i18n.php(79): Database::getInstance() #1 /var/www/ispcp/gui/include/system-message.php(61): tr('ispCP Error') #2 /var/www/ispcp/gui/include/ispcp-config.php(75): system_message('ERROR: The php-...') #3 /var/www/ispcp/gui/include/sql.php(34): decrypt_db_password('crypted-db-pw') #4 /var/www/ispcp/gui/include/ispcp-lib.php(68): require_once('/var/www/ispcp/...') #5 /var/www/ispcp/gui/index.php(31): require('/var/www/ispcp/...') #6 {main} thrown in /var/www/ispcp/gui/include/class.Database.php on line 52

I think, that this has something to do with the mysql.so, but i do not know, how i can solve it. All other sites are working fine.
I checked all php.ini files and restarted the Apache but it doesn`t work...


RE: /admin/manage_users.php not found - joximu - 11-30-2009 05:24 AM

I'd try to change the password:
http://www.isp-control.net/documentation/doku.php?id=howto:ispcp:change_db_pass

/J


RE: /admin/manage_users.php not found - 4tux - 11-30-2009 05:36 AM

I changed the Password...
nothing happend...

but now, i changed it to a obviosli wrong password, and the error is still the same. except the passwort...


RE: /admin/manage_users.php not found - 4tux - 11-30-2009 07:23 AM

So, i checkt the Debug-Option. This ist the Output:
Quote:/etc/ispcp# /var/www/ispcp/engine/ispcp-rqst-mngr
DEBUG: push_el() sub_name: mngr_start_up(), msg: Starting...
DEBUG: push_el() sub_name: lock_system(), msg: Starting...
DEBUG: push_el() sub_name: lock_system(), msg: Ending...
DEBUG: push_el() sub_name: get_conf(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Ending...
DEBUG: push_el() sub_name: setup_main_vars(), msg: Starting...
DEBUG: push_el() sub_name: setup_main_vars(), msg: Ending...
DEBUG: push_el() sub_name: get_conf(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: ERROR: Unable to connect SQL server !
DEBUG: pop_el() sub_name: doSQL(), msg: ERROR: Unable to connect SQL server !
DEBUG: pop_el() sub_name: doSQL(), msg: Starting...
DEBUG: pop_el() sub_name: get_conf(), msg: Ending...
DEBUG: pop_el() sub_name: setup_main_vars(), msg: Ending...
DEBUG: pop_el() sub_name: setup_main_vars(), msg: Starting...
DEBUG: pop_el() sub_name: get_file(), msg: Ending...
DEBUG: pop_el() sub_name: get_file(), msg: Starting...
DEBUG: pop_el() sub_name: get_conf(), msg: Starting...
DEBUG: pop_el() sub_name: lock_system(), msg: Ending...
DEBUG: pop_el() sub_name: lock_system(), msg: Starting...
DEBUG: pop_el() sub_name: mngr_start_up(), msg: Starting...
DEBUG: pop_el() sub_name: get_conf(), msg: Ending...
DEBUG: pop_el() sub_name: setup_main_vars(), msg: Ending...
DEBUG: pop_el() sub_name: setup_main_vars(), msg: Starting...
DEBUG: pop_el() sub_name: get_file(), msg: Ending...
DEBUG: pop_el() sub_name: get_file(), msg: Starting...
DEBUG: pop_el() sub_name: get_conf(), msg: Starting...
DEBUG: pop_el() Empty 'EL' Stack !
DEBUG: push_el() sub_name: mngr_shut_down(), msg: Starting...
DEBUG: push_el() sub_name: mngr_shut_down(), msg: Ending...


I think, my problem has to do with
Quote:DEBUG: pop_el() sub_name: doSQL(), msg: ERROR: Unable to connect SQL server !

But how can i fix it?


RE: /admin/manage_users.php not found - joximu - 11-30-2009 07:47 AM

the most important things with DB and DB-password are:
- MySQL setup correctly
- a user similar to root in MySQL setup with a password (check with command line connect)
- the db-key 3 files in ispcp (see http://www.isp-control.net/documentation/doku.php?id=start:upgrade:nightly step 5)
- the encrypted password in /etc/ispcp/ispcp.conf (should be correctly encoded by the password changer...)

/J


RE: /admin/manage_users.php not found - 4tux - 11-30-2009 08:54 AM

1. Mysql installation is correct. All other CMS-Sites can connect to the database.
2. i can connect to the database with the comand-line.
3. the 3 files are correct
4. i regeneratet the password several times... i think it might be correct...

if i connect to the webmailer, i can login. No error. But when i try to connect to pma, i get the error:
Quote:Die Erweiterung mysql kann nicht geladen werden. Bitte ├╝berpr├╝fen Sie Ihre PHP-Konfiguration. - Dokumentation

That means, that the extension mysql is not loadet. But i have the extension-part in the php.ini...


RE: /admin/manage_users.php not found - joximu - 11-30-2009 09:40 AM

normally you don't need an exta entry in all the php.ini...

Webmailer runs normally if imap/courier is running (and apache)....

/J