forum.webdiplomacy.net

webDip dev coordination forum / public access todo list
It is currently Wed Feb 21, 2018 11:13 am

All times are UTC




Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Error
PostPosted: Fri Apr 03, 2009 11:12 pm 
Offline

Joined: Thu Apr 02, 2009 4:13 pm
Posts: 93
Thank you very much

Now it sems to work

Let me make some tests and I will inform you about the success.

I was not able to find

if ( file_exists($xmlMap)

best regards


markus


Top
 Profile  
 
 Post subject: Re: Error
PostPosted: Fri Apr 03, 2009 11:49 pm 
Offline

Joined: Wed Oct 08, 2008 12:47 pm
Posts: 726
I thought this when it was posted. As far as I know the xmlMap code is not in the present release, but would be in Kestas' local version, from which I assume he made his comments


Top
 Profile  
 
 Post subject: Re: Error
PostPosted: Tue Apr 07, 2009 3:32 pm 
Offline

Joined: Thu Apr 02, 2009 4:13 pm
Posts: 93
Sems to work fine with your changes

Thank you very much


Top
 Profile  
 
 Post subject: Re: Error
PostPosted: Wed Apr 15, 2009 3:28 pm 
Offline

Joined: Thu Apr 02, 2009 4:13 pm
Posts: 93
After view days of testing (in I did not see any problem) I conroled the log files and found the following lines:


Error: "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 'WHERE id IN (5)' at line 3"
Raised: "D:\www\www688\diplomacy\objects\database.php"
Line: "323"
Variable dump: sql => UPDATE pD_Users
SET timeLastSessionEnded = 1239665403, lastMessageIDViewed =
WHERE id IN (5)


Trace:
0 => Array: (
function => error_handler
args => Array: (
0 => 1024
1 => 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 'WHERE id IN (5)' at line 3
2 => D:\www\www688\diplomacy\objects\database.php
3 => 323
4 => Array: (
sql => UPDATE pD_Users
SET timeLastSessionEnded = 1239665403, lastMessageIDViewed =
WHERE id IN (5)
)
)
)
1 => Array: (
file => D:\www\www688\diplomacy\objects\database.php
line => 323
function => trigger_error
args => Array: (
0 => 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 'WHERE id IN (5)' at line 3
)
)
2 => Array: (
file => D:\www\www688\diplomacy\gamemaster.php
line => 93
function => sql_put
class => Database
type => ->
object => Array: (
putqueries => 6
getqueries => 5
)
args => Array: (
0 => UPDATE pD_Users
SET timeLastSessionEnded = 1239665403, lastMessageIDViewed =
WHERE id IN (5)
)
)


Is that a biger problem?


Top
 Profile  
 
 Post subject: Re: Error
PostPosted: Thu Apr 16, 2009 5:03 am 
Offline
Site Admin

Joined: Sat Jun 28, 2008 6:24 am
Posts: 892
This post should have the solution: viewtopic.php?f=3&t=261&p=951#p951


Top
 Profile  
 
 Post subject: Re: Error
PostPosted: Sat Apr 18, 2009 12:28 pm 
Offline

Joined: Wed Oct 08, 2008 12:47 pm
Posts: 726
I expect you have, but incase you forgot, do clear your error logs - that way it becomes apparent which change causes which error. I have a feeling this one has been sitting in the log for quite some time.

Judging from your post, it doesn't look like the logging record *when* an event occurs. This could be very useful as a minor addition...


Top
 Profile  
 
 Post subject: Re: Error
PostPosted: Sat Apr 18, 2009 8:05 pm 
Offline
Site Admin

Joined: Sat Jun 28, 2008 6:24 am
Posts: 892
The time the error occurred is used for the filename of the error-log, so yup the time info is available if you look at it from the admin CP


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group