How To Fix ODFaq MYSQL Installation Errors Database Admin Login Password
how to fix odfaq mysql installation errors database admin login password
how, to, fix, odfaq, mysql, installation, errors, database, admin, login, password
How To Fix ODFaq MYSQL Installation Errors Database Admin Login Password
Post Description: how to fix odfaq mysql installation errors database admin login password
POST# 665
Posted On: Fri Feb 29, 2008 12:01 pm
web hosting
Topic: How To Fix ODFaq MYSQL Installation Errors Database Admin Login Password
one of my favorites scripts is call ODFaq by oodie.com. What is ODFaq? accroding to oodie.com: its a PHP application that allows you to manage frequently asked questions. You can create/edit/delete entries using user-friendly web based interface. The only problem i had with the installation were two. one with the database and the other one with the default admin login and password.

- MYSQL ERRROR -
1. the mysql error:
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation 'ifnull'
To fix this problem these are the steps i took to fix.
1. login to mysql using phpmyadmin
2. DELETE THE CURRENT NEWLY INSTALLED DATABASE by clicking on the "Drop" tab in phpmyadmin panel. will look the picture below:
post picture
3. now create a new database, lets call it "odfaq" or whatever you want, im going to name the new database as "odfaq", IMPORTANT: now on the collation drop down menu, make sure to select latin_swedish_ci
post picture
4. now dump the database.sql included in the script and try opening the script again with your browser, this time you should not get this error:
Illegal mix of collations (utf8_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation 'ifnull'

- NOW THE ADMIN ERROR -
now that you have corrected the database error, you go to the admin directory and you try to login as "admin" and "admin" for password but it doesn't work. According to the install.html file, these are the defaults. but they don't work.
post picture
When i look at the admin password in myphpadmin, its encrypted, so i need to change it. this is how you change it:

1. go to the odfaq_user table in your myphpadmin panel. you will notice that the default password is set to "43e9a4ab75570f5b" but who knows what that is, since its encrypted, i have no idea what it is. so take the next step to reset the password.
2. click on the edit button (the one that looks like a pencil)
post picture
3. when you click on the edit button, you can edit the fields. edit the following fields:
for Function select: PASSWORD
for Value enter: password

It should look like something like the image (picture) below:
post picture

now hit submit for the changes to take affect. you will notice that the password field is now encrypted by it has the following password:
*2470C0C06DEE42FD1618BB99005ADCA2EC9D1E19

Now try to login to the admin section with
username: admin
password: password


SUCCESS!!
post picture

Thats it. hope it helps. Please provide any comments to suggestions. Thanks.
Share:
BBCODE:
HTML Code:


Tue Apr 10, 2007 12:07 pm
1
Mike
Reply #1541
Thank you!Thank you!Thank you!Thank you!Thank you!Thank you!

I could not reset the admin password after our developer left. Thank you!
Wed Dec 31, 1969 4:33 pm
2
Sam
Reply #1542
I had this same problem but i was able to fix it with your help.

thanks
Wed Dec 31, 1969 4:33 pm
3
Sam
Reply #1543
How To Fix ODFaq MYSQL Installation Errors Database admin login password it helped me to discover the problem solution. thanks
Tue Apr 24, 2007 8:26 pm
4
tesla
Reply #1544
this is very helpful, thanks for posting this information here
Sat May 12, 2007 4:58 am
5
Luke Ray
Reply #1545
many thanks for the solution to a very irritating problem :-)
Tue Sep 25, 2007 12:11 am
6
Darryl
Reply #1546
this helped my login issue, thanks! but for some reason my install won't display the faq's i have entered? any thoughts?

What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload