home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

error with quotes in phpbb/phpnuke

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1462
Discussions: 200,931, Posts: 2,379,161, Members: 246,297
Old December 17th, 2003, 08:14 PM   Digg it!   #1 (permalink)
is 4 f00t secks
 
sixf00t4's Avatar
 
Join Date: Aug 2002
Location: Da Burgh
Posts: 4,587
Blog Entries: 3
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.
__________________
Music (4/15/08) - Video (4/15/08) - blog - Legend of Six RPG

Last edited by sixf00t4 : December 17th, 2003 at 08:55 PM.
sixf00t4 is offline   Reply With Quote
Old December 17th, 2003, 09:23 PM     #2 (permalink)
is 4 f00t secks
 
sixf00t4's Avatar
 
Join Date: Aug 2002
Location: Da Burgh
Posts: 4,587
Blog Entries: 3
http://coppermine.findhere.org/modul...iewtopic&t=106

looks like coppermine's site has it too!
sixf00t4 is offline   Reply With Quote
Old December 19th, 2003, 09:48 AM     #3 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 4,097
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 : December 19th, 2003 at 09:50 AM.
ClubMed is offline   Reply With Quote
Old December 19th, 2003, 11:39 AM     #4 (permalink)
Member
 
drizzle's Avatar
 
Join Date: Oct 2001
Location: Louisiana, USA
Posts: 256
Send a message via MSN 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 December 19th, 2003, 02:33 PM     #5 (permalink)
is 4 f00t secks
 
sixf00t4's Avatar
 
Join Date: Aug 2002
Location: Da Burgh
Posts: 4,587
Blog Entries: 3
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.
sixf00t4 is offline   Reply With Quote
Old December 19th, 2003, 03:07 PM     #6 (permalink)
is 4 f00t secks
 
sixf00t4's Avatar
 
Join Date: Aug 2002
Location: Da Burgh
Posts: 4,587
Blog Entries: 3
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.
sixf00t4 is offline   Reply With Quote
Old December 20th, 2003, 09:32 AM     #7 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 4,097
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 December 22nd, 2003, 10:29 AM     #8 (permalink)
Member
 
drizzle's Avatar
 
Join Date: Oct 2001
Location: Louisiana, USA
Posts: 256
Send a message via MSN 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
Old August 26th, 2004, 07:35 PM     #9 (permalink)
Junior Member
 
Join Date: Aug 2004
Posts: 1
same problem

hello I am having the same problem here and I am not using any modification to my phpbb...I am using phpBB 2.0.9 and whenever a user on my forum makes a post containg a single or double quotation mark it gives them this debug error

It has been boggling my mind for hours please someone help
bridsmath is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2874)
Obama the Muslim (14)
California Passes Anti-Flat-HDTV Le.. (39)
Is the PSU I received dead? (10)
windows vista security holes (9)
Install XP pro and a Vista laptop ?.. (11)
HIS HD5770 graphic card question (15)
Print spooler problem (13)
Foreign voltage (10)
Dept. of HS: NSA 'Helped' Develop V.. (15)
A good PSU? (10)
Ideal cheap graph card for PC-Gamin.. (16)
New Computer wont recognize XP disc (7)
EVGA 9800 gtx help with finding a g.. (8)
Recent Discussions
Wireless Televisions. (0)
Install XP pro and a Vista laptop ?? (11)
Partition Magic caused HDD problem (2)
Graphics Card Upgrade Question (1)
favorit (1)
solutions for virtical white lines on.. (1)
Regular Build (3)
Ideal cheap graph card for PC-Gaming? (16)
Fire in DVD (2)
Modern Warfare For the PC (33)
radeon x850xt platinum & shader 3 (3)
Have you switched yet? (84)
Wireless Router+Cable Modems and Much.. (0)
Optical Audio A-B Switch (1)
windows vista security holes (9)
The NTDVM CPU has encountered an ille.. (24)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (34)
Wireless speakers for PC? (11)
Print spooler problem (13)
Help getting around port 80 for camer.. (2)
Display shows 3x5 inch in middle of s.. (3)
monitor will not turn on at all, (1)
World's largest Monopoly Game using G.. (331)
Foreign voltage (10)
FiOS modem/router interfering with ne.. (7)


All times are GMT -4. The time now is 07:38 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28