Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2011-03-08 04:05:20

jupita
Member
Registered: 2011-03-05
Posts: 23

[FIXED] Forum not working

Forum not working. When I click on topic, I get this error message.

Query: SELECT group_id, name FROM user_groups WHERE status = '1'
Error Message: Table 'glosdata_tv.user_groups' doesn't exist
Error Number: 1146

Offline

#2 2011-03-08 08:57:03

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: [FIXED] Forum not working

This bug appears only if you used a prefix for your table during the Adult Script Pro installation process. To fix edit modules/forum/components/topic.php and replace this line:

$this->db->query("SELECT group_id, name FROM user_groups WHERE status = '1'");

with:

$this->db->query("SELECT group_id, name FROM #__user_groups WHERE status = '1'");

Fixed in the next version.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB