Roundcube Community Forum

 

500 Server Error for some users after working fine for a day.

Started by no1knows, December 02, 2009, 07:21:01 AM

Previous topic - Next topic

no1knows

oh I see.. how did you remove me? Just by changing the email address for my user?

If I try to delete my user row I get mysql errors.

SKaero

I did it the hard way, I checked the user_id then deleted the all of the other fields in the database that had the same user_id then you can delete the the user.

no1knows

ahah :)

ok I've done the same, so far so good but it may break tomorrow again!

are there any side-effects do you think? I will hide the error for now, unless it can be fixed?

SKaero

I would teen to say that caching isn't going to work, however if it does fix the problem we can back track and find the point that its being called at and hopefully fine a better fix. If it doesn't work on your server check and see if does on mine, if it does then we will have more to work with.

no1knows


no1knows

Skaero - both servers seem to be working as expected now... which is good!

The above error is presumably showing up in your logs too (and caching not working?). Where can we go from here?

Cheers

SKaero

Well that's good news! I am not getting that error on my server, but it may be because my mixed versions. I have been looking at whats happening and it doesn't seem to break caching. What does seam to be affected is the message count, when you login on my server 3 IMAP.messagecount records are created and instead of updating it next time you login it makes 3 new ones. That's going to be a rather big problem for your database because it does it for each user. Does your server do the same thing? I am still looking into it and trying to track the problem.

no1knows

#37
If you mean there are a lot of duplicate entries in the message table for each email then yes, I get the same...

Oh, i see where you mean, in the cache table. Yep, I am getting 3 entries each time I login...

SKaero

If you disable caching does the error message go away, and is it only when you login?

no1knows

It does seem to only be on login... (i.e. if i refresh it goes away (when debug level is 4)).

It does not appear when caching is disabled...


SKaero

Sorry for my delay in replying, I have look at the code and have run out of ideas. I would need to to the variables that are getting passed around to find out why if failing. You could try using the debug_logger plugin and see if it comes up I haven't used it before so I don't know how well it will work.