500 error at installation

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 magic_quotes_gpc de PHP [est activée] Vous devriez réfléchir à désactiver l'option magic_quotes_gpc. Pour plus d'information, voyez le point #25 du guide de dépannage de ZenPhoto.
warn: Le package mbstring de PHP [Votre jeu de caractères interne est ISO-8859-1] Paramétrer l'option mbstring.internal_encoding sur UTF-8 dans votre fichier php.ini est conseillé pour permette aux caractères accentués et multi-byte de fonctionner correctement.
warn: Les permissions sur les fichiers/répertoires sont accès total (0777) Si les permissions sur les dossiers et fichiers ne sont pas sur strict, 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.

Comments

  • acrylian Administrator, Developer
    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.
  • acrylian Administrator, Developer
    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:
    - the mysql user account has all the necessary rights
    - the permissions are all set to 777
  • acrylian Administrator, Developer
    If the database server has a point because it is in a subdomain, that should not matter. Mine is also and it works fine.
    Something must be wrong then. Maybe ask your host if you miss anything?
  • 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.
  • acrylian Administrator, Developer
    Installing Zenphoto is not harder than Wordpress. What does the server error log say?
  • 500 errors are often permission problems. Try differnt permissions
  • My webhost reset all the permissions to 755 (folders) & 644 (files) for me & that did the trick. Though, I swear that's what they were. Just thought I'd let you know. Thanks
Sign In or Register to comment.