Hi. Im getting crazy trying to solve a problem with zenphoto.
Many core.xxx files are auto-generated into the zp-core directory. The admin server says me that they come cause the script is broken.... do you know something about it?
The version I have is the last one.
The site si alejiga.com, so you can check everything looks works fine.
When the script crashes a core.xxx file is generated. xxx means a random number. They goes to the zp-core directory. The problem is that the script is crashing continiously. I installed the previous version to the last one, I thought upgrading problem would go away, painfully still remains.
First, Zenphoto NEVER makes files in the zp-core folder. So if these files are there something else is creating them. If they are indeed caused by script crashes the there must be entries of the crash in the CGI log. You will have to find these entries and report what the failure is.
Well, as i guessed, is related with the c.php file. Using Chrome browser it says c.php doesn't exist, but I can say IT EXISTs, and also captcha images are not showed. The admin server is telling me: "There are several errors referring to the c.php file:
[Mon Feb 14 14:02:57 2011] [error] [client 90.165.50.240] Premature end of script headers: c.php". "That error message is repeated again and again for several images". So, I think is something about captcha...
The CGI does not say anything else. However seems the core file has some relevant information about the crash. I zip one of them and put into the same server. The URL is http://alejiga.com/core.13179.zip Googling people say must be opened with a debugger. No idea about debugging. What I can confirm is everytime a image captcha should be showed in forms of the site a core.xxx file is generated.
Sorry, no idea how to make use of this file. Certainly not a normal script error. Also, so far as I know no one else has had this problem. Maybe a corrupt file, so you could try reloading the files.
c.php is really a pretty simple script. It takes the text of a captcha and, using the GD library, makes an image from it. So also maybe there is a problem with your GD library. I would assume such a crash file is due to a fault in server code--either apache or PHP.
The core file is useless to us without the symbols to go with it, but what I can tell you is that it looks like a PHP core dump. This is probably a misconfiguration of some sort on the server-end, perhaps even with regards to how php was compiled. You should get in touch with your host and keep pestering them until you can talk to someone who knows what they're talking about.
You might also be able to get some info if you use gdb to look at the core dump. You will need SSH access to do so. You can use `gdb
Yes, I'll share it.
I found the solution at 2 a.m. and being bit tired of it, so I just let you know I got it.
It seems, not sure, is cause the server, the ZenPhoto script or both together. The fact is I had enabled the imageshack library to generate the images for captcha. Imageshack is working properly as I'm using in other account of my reseller hosted account (so no way to say is not workin, then I can confirm works nice). However, something happens when mix the library with this script and the Imageshack option in the admin panel is enabled. Surely this option works fine in other servers. Not in mine. Therefore I disabled it in order to use the GD library, and now works great.
So, for painfull souls as me getting crazy cause odds core.xxx files autogenerated by the hosting are eating the host space, just disable the imageshack option in the Admin Panel of the ZenPhoto (by the way, nice software). I think even is a good solution for people who don't see the Captcha image works as expected (in case it is enabled, of course).
I recommend to developers specify in the Admin Panel the use of imageshack or GD Library. I mean, a combo option or a help note where people see clearly what they are using or selecting. Solution was as easy as click a box.