Previous Thread
Next Thread
Print Thread
Hop To
#3730 09/26/2006 9:22 AM
Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
When logged in as a Admin everything works fine, but when logged in a s a normal user, and try to add to my watched topics I get this error
Quote
We cannot proceed.
Tried to replace 3 placeholders with 2 replaces. That's bad. Here's the query: INSERT INTO ubbt_WATCH_LISTS (USER_ID, WATCH_ID, WATCH_TYPE, WATCH_NOTIFY_IMMEDIATE) VALUES ( ? , ? , 't' , ? )

Please use your back button to return to the previous page.

Last edited by Rick; 09/26/2006 11:18 AM.
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Thanks, quick fix. Line 105 of addfav.inc.php looks like this:

$dbh -> do_placeholder_query($query,$query_vars,__LINE__,__FILE__);

Change that, to this:

$dbh -> do_placeholder_query($query,$query_vars_2,__LINE__,__FILE__);

Last edited by Rick; 09/26/2006 11:18 AM.
Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
No prob, thank you for the fix.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
0 members (), 868 guests, and 467 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)