I've been trying to install ZenPhoto without success; I always get the following error message after validating the DB settings:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
The setup_log.txt file contains this:
`
Zenphoto Setup v1.2.8[4881] Wed, 10 Feb 2010 08:11:08 +0100
Query error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
warn: L'option [code]magic_quotes_gpc[/code] de PHP [est activée] Vous devriez réfléchir à désactiver l'option [code]magic_quotes_gpc[/code]. Pour plus d'information, voyez le point #25 du guide de dépannage de ZenPhoto.
warn: Le package [code]mbstring[/code] de PHP [Votre jeu de caractères interne est [b]ISO-8859-1[/b]] Paramétrer l'option [i]mbstring.internal_encoding[/i] sur [b]UTF-8[/b] dans votre fichier [i]php.ini[/i] est conseillé pour permette aux caractères accentués et multi-byte de fonctionner correctement.
warn: Les permissions sur les fichiers/répertoires sont [i]accès total[/i] ([code]0777[/code]) Si les permissions sur les dossiers et fichiers ne sont pas sur [i]strict[/i], il existe un risque de sécurité. Cependant, certains serveurs ne supportent pas bien les permissions strictes. Si vous rencontre des problèmes, relancez l'installation et désactivez cette option.
Changez le masque des permissions sur le fichier/répertoire : accès total (0777) accès relaché (0775) accès strict (0755)
`
but I don't know how to fix the problem.
Host is OVH.
The database already exists and works well with other pages. I have checked with PhpMyAdmin, and no ZenPhotos has been created.
Any suggestion will be appreciated.
The internal server error is probably related to htaccess/modrewrite. If mysql can'T connect, somethin is not correct with your db details. Double check that.
The other stuff is actually explained.. On magic_quotes there is an entry on the troubleshooting.
Thanks for your answer.
I have already double-triple-checked the DB settings; they are identical to those I use for other pages/sites hosted in the same environment.
And the modrewrite is already implemented and works for other sites on the same host and DB.
Does ZP have special requirements I should be aware of?
NB: I'll see to the other stuff later; currently, my priority is to install ZenPhoto properly.
Actually zp does not have that special requirements and I installed it successfully on several shared hosts.
Does maybe your mysql user account have insufficient rights? See the installation post on the user guide.
It might all come down to the permissions warning. There is also a troubleshooting entry what is needed for zp to work if you set them manually.
I've succeeded in installing ZP on my local computer in no time ...
Regarding the online installation that still won't work, I'm wondering whether the database name provided by my host could play some havoc, as it contains a '.' right in the middle (the name is something like xxxxx-n.yyyyy)
Regarding your last suggestions:
I get the same error but there is no setup_log.txt file.
I upgraded from 1.2.6, which was working but jumped & jittered. The upgrade reported the 500 error page. Since then I've tried the manual upgrade; that also did not work. I have completely removed all instances of zenphoto, and tried to start from scratch, nothing works. I dumped the old tables, then dumped the database. Created a new database - nothing but the 500 server error. I spoke to my host, nothing they could tell me, except everything looks OK. PHP 5.2.12, MySQL 5.0.45. Is there any settings in php.ini that could be causing this?
I am sorry that I cannot figure this out on my own. I am not savvy enough and I avoid the databases (for lack of knowledge) Which is why I chose ZenPhoto.
I run 2 separate wordpress on this site without issue, each has their own MySQL database.