500 internal error


(Dejamps) #1

Hi guys!

I’m running Piwik in a very samll web site, I shouldn’t be getting any errors with this. My server is Lighttpd, the latest version and I’m aware that this could possibly be a server configuration issue. The thing is that I’ve tried to tweak it and didn’t get any positive results so I’ll try to ask something here and maybe find something out.

I use Piwik via the API on my application. Every user on my page (www.aquitanda.com) is able to get their stats, but this specific user get a 500 internal error when tries to reach the page with the stats. The weird thing is that the user was able to get it’s stats a week ago, and all of the suddenly, this internal error started to pop up…

I have no idea of what this might be, so I’m asking your help on this. If there is anything that I could do to find it out, I would! Thanks for the help in advanced style_emoticons/<#EMO_DIR#>/smile.gif


(kolchak) #2

Got some more details? What is the exact error? Line numbers? There are thousands of lines of code, so some help refining the error would be helpful style_emoticons/<#EMO_DIR#>/smile.gif


(Dejamps) #3

I guess that all the info that I can give is about my environment as I just get a 500 internal error message.

I’m running on a slice on slicehost of 256MB RAM
Running Linux Ubuntu 8.04
My server is Lighttpd v.1.4.22
I’m running PHP on FastCGI mode
PHP 5.2.4ubuntu5.6 with Suhosin-Patch 0.9.6.2
Running with these modules: http://pastie.org/485927
APC v.3.0.19

I don’t know what else I could provide… If I try to get this user’s info via the Piwik interface, nothing weird happens… It only happens with this user (as far as I know) and via the API.

Thanks again… style_emoticons/<#EMO_DIR#>/smile.gif


(Dejamps) #4

New info…

On the page where I get this error, I make 3 requests… One to VisitsSummary.getVisits, with period = day and date = last10… till here, everything goes ok…

The next request is to Referers.getWebsites. The period = day and the original date was = last10, but that was already giving me the 500 error. If I turn it down to last5, it goes ok.

The third request is to Referers.getKeywords and it was like the both requests before, but this one doesn’t even happen if I turn the date down… I’ll make some more testing to know if the problem is related with the modules or with the request frequency!


(Dejamps) #5

Uhmm, no, it’s not related to the model. It has something to do with the frequency I call the API… It must be my wrapper… I’ll take a look on that…