»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 12-17-2003, 05:14 PM   #1 (permalink)
Registered User
 
sixf00t4's Avatar
 
Join Date: Aug 2002
Location: Western PA
Posts: 2,296
sixf00t4 is on a distinguished road
Send a message via ICQ to sixf00t4 Send a message via AIM to sixf00t4 Send a message via Yahoo to sixf00t4
error with quotes in phpbb/phpnuke

I cannot enter single or double quotes in the phpbb forums built into phpnuke 6.9 I am not sure if this is a new problem or not. when a single or double quote is anywhere in the post (don't, isn't, 'A', etc) it gives this error:
Quote:
Error in posting

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '
INSERT INTO nuke_bbposts_text (post_id, post_subject, bbcode_uid, post_text) VALUES (182, '', '15fbd375ba', ')

Line : 319
File : yada\yada\includes\functions_post.php
I am pretty sure it has nothing to do with mysql though. I have a standalone version of phpbb2.0.6 on the same pc and it works fine.

when i enter 2 single quotes together, a blank post shows. I have reuploaded the functions_post.php file, and that didnt work. i have also tried
phpbb.com and nukecops.com

someone just posted on nukecops that it may be related to the coppermine module. maybe he is onto something.

__________________
[url=http://joshuadhall.com]My blog[/url]

Last edited by sixf00t4; 12-17-2003 at 05:55 PM.
sixf00t4 is offline   Reply With Quote
Old 12-17-2003, 06:23 PM   #2 (permalink)
Registered User
 
sixf00t4's Avatar
 
Join Date: Aug 2002
Location: Western PA
Posts: 2,296
sixf00t4 is on a distinguished road
Send a message via ICQ to sixf00t4 Send a message via AIM to sixf00t4 Send a message via Yahoo to sixf00t4
http://coppermine.findhere.org/modul...iewtopic&t=106

looks like coppermine's site has it too!
__________________
[url=http://joshuadhall.com]My blog[/url]
sixf00t4 is offline   Reply With Quote
Old 12-19-2003, 06:48 AM   #3 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 3,539
ClubMed is on a distinguished road
That's strange, is your coppermine gallery sharing the same DB as your forum?

I've been using phpbb for a long time without problems even after installing coppermine, however in my case, coppermine is independent from the forum directories and DB.

It appears that the text of your posts is going through an execution process when it should just be stored in your DB.

To test it try typing this:
Don \ 't

remove spaces

Last edited by ClubMed; 12-19-2003 at 06:50 AM.
ClubMed is offline   Reply With Quote
Old 12-19-2003, 08:39 AM   #4 (permalink)
Registered User
 
drizzle's Avatar
 
Join Date: Oct 2001
Location: Louisiana, USA
Posts: 170
drizzle is on a distinguished road
Send a message via ICQ to drizzle Send a message via Yahoo to drizzle
The quote and double-quote isn't being escaped properly before being used in the query. That's what it looks to to me.
drizzle is offline   Reply With Quote
Old 12-19-2003, 11:33 AM   #5 (permalink)
Registered User
 
sixf00t4's Avatar
 
Join Date: Aug 2002
Location: Western PA
Posts: 2,296
sixf00t4 is on a distinguished road
Send a message via ICQ to sixf00t4 Send a message via AIM to sixf00t4 Send a message via Yahoo to sixf00t4
it is using the same db.

are you using phpnuke too CM?

what i think is interesting is that coppermine themselves have the error, so it has to be a bug. but no one seems to care there.
__________________
[url=http://joshuadhall.com]My blog[/url]
sixf00t4 is offline   Reply With Quote
Old 12-19-2003, 12:07 PM   #6 (permalink)
Registered User
 
sixf00t4's Avatar
 
Join Date: Aug 2002
Location: Western PA
Posts: 2,296
sixf00t4 is on a distinguished road
Send a message via ICQ to sixf00t4 Send a message via AIM to sixf00t4 Send a message via Yahoo to sixf00t4
i moved the scrolling recent pictures block from the left to the right, and now it works. so something with that block was interfering.

i told coppermine about it, hopefully they can find the problem.
__________________
[url=http://joshuadhall.com]My blog[/url]
sixf00t4 is offline   Reply With Quote
Old 12-20-2003, 06:32 AM   #7 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 3,539
ClubMed is on a distinguished road
no i dont use phpnuke.

The people at coppermine don't seem to be very friendly or helpful. A member in their forum was requesting a specific feature and the creator of coppermine replied along the lines of 'WTF would anyone want something like that and who is going to write it for you?'. That really turned me off. But luckily I don't have any problems or requests.
ClubMed is offline   Reply With Quote
Old 12-22-2003, 07:29 AM   #8 (permalink)
Registered User
 
drizzle's Avatar
 
Join Date: Oct 2001
Location: Louisiana, USA
Posts: 170
drizzle is on a distinguished road
Send a message via ICQ to drizzle Send a message via Yahoo to drizzle
What is the block of code on line #319 in functions_post.php? Maybe post a few lines before 319 and after it as well.
drizzle is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 04:41 PM.