Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Archive > Apolyton/Community-Archive > Problem accessing chatroom
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Darkness' Edge is offline Darkness' Edge
Prince

Jun 2002
time: 16:21
  Old Post 25-08-2002 09:43
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Problem accessing chatroom Tired of ads?

The chatroom has never seemed to work for me. Every time, I get this error message.

Database error: Invalid SQL: SELECT room FROM chat_users WHERE username='Darkness'Edge' LIMIT 1
MySQL error: 1064 (You have an error in your SQL syntax near 'Edge' LIMIT 1' at line 1)
Session halted.

anyone know why?

Skanky Burns is offline Skanky Burns
Deity
Skanky Bastard Quartermaster
Aug 2001
time: 14:21
  Old Post 25-08-2002 11:06
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Remove this text

Because you have the ' character in your name.
This stuffs up the sql command, hence the sql error.

You have 2 choices (that I can see)
a: Learn to live without the chatroom
b: Get Ming (or another moderator) to change your name to something without the ' character in it.

Ari Rahikkala is offline Ari Rahikkala
King
Unreported loss of streaming in atomic read operation
Oct 1999
time: 07:21
  Old Post 25-08-2002 13:54 Visit Ari Rahikkala's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Remove this text

c: Get Markg to add a mysql_escape_string to the applicable place in the chatroom code.

d: Register with a username that trashes the whole forum - not escaping strings to be used in SQL statements is a very real security hole (you can patch it by different MySQL users for different things, but that can easily get confusing, and confusion is bad for security. Plus, you should keep security in mind from the beginning to the end, not just in Random Function #2345)... Then get MarkG to add mysql_escape_string into the chatroom code .

Ari Rahikkala is offline Ari Rahikkala
King
Unreported loss of streaming in atomic read operation
Oct 1999
time: 07:21
  Old Post 25-08-2002 14:02 Visit Ari Rahikkala's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Remove this text

Hm. Seems like mysql_query will only execute one query, so it isn't a security hole after all...

Skanky Burns is offline Skanky Burns
Deity
Skanky Bastard Quartermaster
Aug 2001
time: 14:21
  Old Post 25-08-2002 14:03
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy Civilization 2

I was listing real possibilities.

MarkG is offline MarkG
Grand Lord of Apolyton, Owner of all this land as far as the eye can see

Donate to the Red Cross
Macedonia, Greece
Jan 1970
time: 07:21
  Old Post 25-08-2002 14:13 Visit MarkG<br><img src=/forums/images/admin-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Get a bigger avatar today!

try now

panag is offline panag
Emperor
MY WORDS ARE BACKED WITH BIO-CHEMICAL WEAPONS
Oct 2000
time: 07:21
  Old Post 28-08-2002 19:47 Visit panag's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

hi ,

problems

the screen just freezes after a while , ....

refresh is no good , ...

get out , clear browser history and then you can get back in , untill the next time , ....

sometimes it takes 5 min , sometimes 30 min , ...



have a nice day

MrWhereItsAt is offline MrWhereItsAt
Emperor
New Year's Resolution: 2005 is the year of Where It's At - come get some.
Nov 2001
time: 17:21
  Old Post 30-08-2002 06:16
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Got spare money?

Different problem: Chatroom used to work fine with me, but the last two-three days (was offline for most of the week before that) I have entered, mavbe typed one message in, and the next time I try to submit a reply, the page continually refreshes for a minute before giving up an IE "connection not found" error. Restarting IE makes no difference. Once I could see replies but couldn't add any of my own. Upon restarting IE the problem I mention above started to happen.

What's up with this? It is a completely new error to me - I have once or twice in the past had a problem with the room randomly not displaying one of my messages, but that was the only problem until now.

MrWhereItsAt is offline MrWhereItsAt
Emperor
New Year's Resolution: 2005 is the year of Where It's At - come get some.
Nov 2001
time: 17:21
  Old Post 30-08-2002 20:06
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Full PM-box? Change here!

Just to confirm my problem...

When trying to get to the chatroom, the IE screen refreshes constantly for a minute; each time before it refreshes again a host of "Action canceled" screens for IE show up on the Right hand side of the chat screen.

When (if) it finally connects, I can see the chat, but whenever I try to submit a reply, the whole screen clears and refreshes, and my response does not show, not even to others there.

It didn't do this until only a few days ago. Please can anyone tell me WTF is going on here?!?!?

Gramphos is offline Gramphos
ACS Civ III Files Manager, Prince of Development
Chalmers, Sweden
Apr 2001
time: 06:21
  Old Post 30-08-2002 22:40
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

quote:
Originally posted by LightEning
c: Get Markg to add a mysql_escape_string to the applicable place in the chatroom code.


And that is probably what he has done by using the addslashes function...

MarkG is offline MarkG
Grand Lord of Apolyton, Owner of all this land as far as the eye can see

Donate to the Red Cross
Macedonia, Greece
Jan 1970
time: 07:21
  Old Post 31-08-2002 05:29 Visit MarkG<br><img src=/forums/images/admin-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Get a bigger avatar today!

actually, i used the ereg_replace function to remove the '

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:21.
Apolyton Time is 00:21.
    top of page
Rate This Thread:
archivepost
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0338 seconds (87.59% PHP - 12.41% MySQL) with 31 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net