PDA

View Full Version : MySQL Errors?



gary
10-17-2004, 06:36 PM
Hey

Cool script... but got some errors B)

http://www.dontstop.co.uk/v2/atb/newsforum.php

i did the chmod etc, edited the styles page, the config etc, the password & username for mySQL is correct, so why wont the news show? http://www.dontstop.co.uk/inside/ for the forum btw.


what am i doing wrong :unsure:

cheers... :blink:

Patrick
10-17-2004, 08:22 PM
Your db information HAS TO BE INCORRECT.

Simple as that. Open up global_conf.php in IPB and double check your settings against the configuration of the forum news script.

I guarantee you that it works and it is just your db info ;)

gary
10-18-2004, 06:34 PM
cheers dude :D

gary
10-22-2004, 06:58 PM
really sorry for bugging you, now i get this error


Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/dontstop/public_html/forum-news/data/classes/phpbb-v2.php on line 93

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/dontstop/public_html/forum-news/data/classes/phpbb-v2.php on line 208

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/dontstop/public_html/forum-news/data/classes/phpbb-v2.php on line 93


Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/dontstop/public_html/forum-news/data/classes/mysql.php on line 47
There is no news to display in specified category.

probably doign summit mega stupid, beer doesnt help! ;)


any ideas? chers

Patrick
10-22-2004, 10:50 PM
Looks like the smilies are not being pulled properly from your database. To get the script working immediately, you can disable smilies.

If you know how to look at your database using, for example, a script such as phpMyAdmin, then you can look to see if a smilies table exists (such as phpbb_smilies). That is what the script is expecting.

If you do not know how to use such a program you can PM your details I will take a look.

In any case, posting the database structure here would be very helpful.

gary
10-23-2004, 10:41 AM
Cheers!


Ill take a look at the database / phpMA sometime early next week!!! and if i fail, ill send a PM!!!

Thanks soooo much for the help ;)