PDA

View Full Version : configuration.php



chil
08-09-2006, 05:22 PM
Hi Guys
I am a complete newbie to Joomla.I wanted to make changes to configuration.php but wanted to make a copy of it first using the FileManager(cPanel). For some reason the copy didn't work but configuration.php was also deleted(?)

So I tried to create a new file but no matter what I do I still get this error when I try to login

This site is temporarily unavailable.
Please notify the System Administrator
2


Ive checked the
$mosConfig_live_site
$mosConfig_absolute_path
$mosConfig_password ( I copied the encrypted value from mysql query)
$mosConfig_user
variables and they all seem to be fine.
Is there something else I can check?


Incidentally this all worked fine before the original configuration.php was mysteriously deleted.

Any help is much appreciated.
Thanks

kenny
08-11-2006, 04:19 AM
First, you may want to check the Trash bin in cPanel -- you may find the configuration.php file there. Also, please try to remember where exactly did you copy the file, and to what name -- I don't think cPanel will delete a file unless you tell it to.

The database credentials for accessing the database are not the ones you use for accessing the administration backend of joomla itself. These can be found in cPanel -> MySQL Databases. I am afraid there is no way of finding the MySQL password, however, you can simply delete the MySQL user and add it anew. You will also have to configure the database name in the configuration time.

It is a good idea to post a ticket on the issue -- our support will be able to fix this in no time :)

chil
08-11-2006, 04:56 AM
First, you may want to check the Trash bin in cPanel -- you may find the configuration.php file there. Also, please try to remember where exactly did you copy the file, and to what name -- I don't think cPanel will delete a file unless you tell it to.

The database credentials for accessing the database are not the ones you use for accessing the administration backend of joomla itself. These can be found in cPanel -> MySQL Databases. I am afraid there is no way of finding the MySQL password, however, you can simply delete the MySQL user and add it anew. You will also have to configure the database name in the configuration time.

It is a good idea to post a ticket on the issue -- our support will be able to fix this in no time :)



Thanks. I wanted to post a support ticket but i have already used up 3 tickets from my 7 a year quota so I was reluctant to do that.

In any event its fixed. I was using the wrong username for the Mysql db username...i fixed it in the new config.php and it now works fine.
Thanks anaywa.