I dont know if anyone else has tried uninstalling the Ads Module. I had done this successfully a number of times and it always lands up with the same error. Here is what I am doing
1. Installed the Ads Module(Tools -> Modules checked Ads and Install. Get the message "Done")
2. Logged out of the profile
3. Logged in again with admin profile and uninstalled the Ads Module (Tools -> Modules checked Ads and hit the uinstall button. Get the message "Done")
4. Logged out of the admin profile
5. closed the browser and reopened the browser
6. logged into a user profile and BAM i get the error page.
IMP : If you want the error gone then goto the admin pannel and re-install the Ads module. Everything will be back as it was before the error (just incase if people are skeptical to try these steps because of the error)
This is how the error looks like. If anyone faces the same issue please let me know. I am not sure if I am messing up somewhere or if its a bug
Yes another piece of information. The error happens in the page member.php
Error
Database query error
Query:
SELECT COUNT(*) FROM `bx_ads_main` WHERE `IDProfile` = '501' AND `Status`='active'
Mysql error:
Table 'hookie.bx_ads_main' doesn't exist
Found error in the file '/home/admin/public_html/newpalz/member.php' at line 461.
Called 'db_value' function with erroneous argument #0.
Debug backtrace:
Array
(
[1] => Array
(
[file] => /home/admin/public_html/newpalz/inc/classes/BxDolDb.php
[line] => 232
[function] => error
[class] => BxDolDb
[object] => BxDolDb Object
(
[error_cheking] => 1
[host] => localhost