Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in 
CSDb User Forums


Forums > CSDb Bug Reports > Delete Vote bug...
2012-08-23 12:23
Conrad

Registered: Nov 2006
Posts: 604
Delete Vote bug...

<Post edited by moderator on 23/8-2012 14:47>

I try to delete a vote, and I get this message:

Warning: <text removed> in (php file) on line (X).

... doesn't do the action either.
2012-08-23 13:53
Jailbird

Registered: Dec 2001
Posts: 1139
Perff is crazy. Why would he want to add more Slashes to the site. Even one is way too much.
2012-08-23 14:45
Perff
Administrator

Posts: 1233
Fixed. Removed some of error-text text in the original post for security reasons. ;)
2012-08-23 15:16
Skate

Registered: Jul 2003
Posts: 396
I remember someone making fun of me when i warned about disabling warning and/or error messages at the production server.

http://noname.c64.org/csdb/forums/?roomid=8&topicid=91923#92026

I insinst on this subject. Messages can still be logged to a file at the server side but should not be shown to the users.
2012-08-23 15:27
Perff
Administrator

Posts: 1233
Afair i actually do disable errors etc. but it's done by software, as I would like errors etc. displayed.

So there are some lines of PHP which would be displayed if there are errors in those. This case was one of those few lines.
2012-08-23 15:35
Skate

Registered: Jul 2003
Posts: 396
My advice is to show a dummy error message to the user like:

2012-08-23 16:31:28 - Error occured while deleting a vote. Please contact to site admin.

And log the real detailed error message with paths, db user account names etc. to a file or whereever not accessible by the user.

I'm not saying it's a fun to do task but since you are concerned about users sharing arguably dangerous warning/error messages on the forum, that would be the clean solution.
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.


Search CSDb
Advanced
Users Online
Axis/Cascade
Killsquad/Offence
uneksija
Guests online: 20
Top Demos
1 Edge of Disgrace  (9.7)
2 Coma Light 13  (9.7)
3 Daah, those acid pil..  (9.6)
4 Deus Ex Machina  (9.3)
5 Andropolis  (9.3)
6 Te-Te-Te-TechTech It..  (9.3)
7 +H2K  (9.2)
8 GOLC  (9.2)
9 Artphosis  (9.2)
10 2011 - A Press Space..  (9.2)
Top Groups
1 Booze Design  (9.4)
2 Crest  (9.4)
3 Oxyron  (9.4)
4 Maniacs of Noise  (9.2)
5 Eagle Soft Incorpora..  (9.2)
Top Coders
1 Graham  (9.8)
2 Crossbow  (9.8)
3 Axis  (9.8)
4 Lft  (9.8)
5 HCL  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2013
Page generated in: 0.578 sec.