Installation Problem

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
ameenullah
Posts: 3
Joined: Fri Feb 17, 2006 10:48 am

Installation Problem

Post by ameenullah »

Hello all,

I tried installing phpMyFAQ_stable version which i downloaded today morning from the net. When i tried to install for the first time in my Computer (P4, Window based, PHP 4.3.9, apache 2.0, Mysql 3.23.49) First I got the following Message

below the Blue band banner With title phpMyFAQ 1.5.7 Installation

"It seems you already running a version of phpMyFAQ.
Please use the update script."

Then I tried update script and Followed the Installation Procedure...
after the successful Instalation...
It showed "The database was updated successfully."

MY Problem

When i tried to use it as admin, it is not loggin in and displaying the follwing error...
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Program Files\apachefriends\XAMPP\HTDOCS\phpmyfaq\inc\mysql.php on line 176
When i login as a normal user, I got the following errors...
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in C:\Program Files\apachefriends\XAMPP\HTDOCS\phpmyfaq\inc\mysql.php on line 312

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in C:\Program Files\apachefriends\XAMPP\HTDOCS\phpmyfaq\inc\mysql.php on line 162

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Program Files\apachefriends\XAMPP\HTDOCS\phpmyfaq\inc\mysql.php on line 176

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\Program Files\apachefriends\XAMPP\HTDOCS\phpmyfaq\inc\mysql.php on line 144

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\Program Files\apachefriends\XAMPP\HTDOCS\phpmyfaq\inc\mysql.php on line 144

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Program Files\apachefriends\XAMPP\HTDOCS\phpmyfaq\inc\mysql.php on line 176

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Program Files\apachefriends\XAMPP\HTDOCS\phpmyfaq\inc\mysql.php on line 176

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\Program Files\apachefriends\XAMPP\HTDOCS\phpmyfaq\inc\mysql.php on line 144

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in C:\Program Files\apachefriends\XAMPP\HTDOCS\phpmyfaq\inc\mysql.php on line 144
Could you pls tell me whats wrong with my installation procedure.
Thanks in Advance.
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

what did you exactly. The first message only appears when you have a config.php and a data.php. It seems, you renamed the config.php.original file to config.php. That's wrong. Please re-install a clean version and run the install script. Then everything should work.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
ameenullah
Posts: 3
Joined: Fri Feb 17, 2006 10:48 am

Post by ameenullah »

Yes I renamed it as config.php and data.php

But without that its not showing the installation screen
"ie; hostname, mysql database name, etc"
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

delete everything, re-install a fresh unpacked phpMyFAQ and run http://ww.example.org/faq/install/installer.php

Do you see the install script?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
ameenullah
Posts: 3
Joined: Fri Feb 17, 2006 10:48 am

Post by ameenullah »

Thanks alot Thorsten.

Its done. Its working fine for me now. Now i have to sit and beautify to fit my design. If i struct anywhere, sure i ll call you for help.

Thank you once again. :)
Post Reply