PDA

View Full Version : Error Message after install


jason
12-14-2007, 09:01 AM
Everyting seems to install correctly but when I click on the link to go to the admin control panel i get "Fatal Error: Contact site admin.Unable to load config info".

Any ideas?

Jason

peter
12-14-2007, 09:10 AM
Can you confirm that the table prefix is same as the prefix defined in config.php or even if config table exits at all?

jason
12-14-2007, 09:17 AM
Can you confirm that the table prefix is same as the prefix defined in config.php or even if config table exits at all?

This is the database section of config.php:

#Mysql Login info
define('DBTYPE','mysql');
define('DBHOST','localhost');
define('DBNAME','osticket');
define('DBUSER','admin');
define('DBPASS','XXXXX');
#Table prefix
define('TABLE_PREFIX','ost_');


This is the list of database tables created:
* Browse ost_config
* Browse ost_department
* Browse ost_email
* Browse ost_email_banlist
* Browse ost_email_pop3
* Browse ost_email_template
* Browse ost_groups
* Browse ost_help_topic
* Browse ost_kb_premade
* Browse ost_staff
* Browse ost_ticket
* Browse ost_ticket_attachment
* Browse ost_ticket_lock
* Browse ost_ticket_message
* Browse ost_ticket_note
* Browse ost_ticket_priority
* Browse ost_ticket_response
* Browse ost_timezone

I really appreciate your quick response.

Jason

jason
12-14-2007, 09:18 AM
I should probably mention that the ost_config table is empty.

peter
12-14-2007, 09:37 AM
That is the issue. It should have one record. Did you use the installer?

jason
12-14-2007, 09:48 AM
Yes and it seemed to go well, i looked throug the .sql file but i couldnt find what information should be in the record. Other tables in the database have records in them.

jason
12-14-2007, 09:56 AM
ok i did an insert using phpmyadmin and it created the record using the defaults.

And I can get to the change password page now

peter
12-14-2007, 10:00 AM
It gets inserted after the default schema is loaded. I will update the schema to insert a dummy record and simply do an update via the installer.

If you have something like phpmyadmin go a head and create a record and configure it fully once you login.

jason
12-14-2007, 11:15 AM
Thanks for the help, Im setting everything up now.

NCS
12-18-2007, 12:55 PM
I am also having this problem. It looks like there is data in the OST_config table, so I'm not sure why I'm still getting this error. Install seemed to go fine up until it told me to delete the "install" directory and chane the permissions on the config.php file. Any idea?

jlevis
04-08-2008, 05:10 PM
I also had this problem. It went away when I granted the MySQL user all privileges. This means that the instructions on this page are incorrect:

http://www.osticket.com/wiki/Installation
You will need one MySQL database with valid username, password and hostname handy during installation. The database username must have permission to CREATE, DROP and ALTER tables. If you are unsure whether you have these details or if your username has sufficient permissions, please consult your host or database admin before proceeding.

The user needs more than just CREATE,DROP,ALTER privileges.

4ice
04-08-2008, 05:39 PM
Thanks for the info, but this thread was really old.

Closed it now.