1.4.1 unable to create admin user

vincent3569 Member, Translator
Hi,

to solve the problem of french translation, I have installed the zenphoto-2011-06-28-trunk release from scratch (not a migration).

after that, I can't create an admin user.

do you know what the problem is ?

Comments

  • There is a thread on this http://www.zenphoto.org/support/topic.php?id=9404

    Please add your contribution.
  • vincent3569 Member, Translator
    It seems not to be the same problem.

    In my case, I'm not redirecting to login screen.

    In fact, there'is no admin created in the database, I can't access to users tab in the admin to create a user (I'm redirecting to overview tab), I don't have the message and the link "Logged in as vincent3569 | Log Out" in the admin pages, and I can't log out.

    So everybody can access to my admin pages...

    there is the setup log

    Zenphoto Setup v1.4.1[7601] Thu, 30 Jun 2011 08:30:05 +0200

    warn: PHP version 5.1.3RC4-dev Version 5.2 or greater is strongly recommended.

    warn: Log security [is compromised] Zenphoto attempts to make log files accessable by owner only (permissions = 0600). This attempt has failed. The log file permissions are 0644 which may allow unauthorized access.

    warn: PHP Safe Mode [is set] Zenphoto functionality is reduced when PHP safe mode restrictions are in effect.

    warn: PHP magic_quotes_gpc [is enabled] You should consider disabling magic_quotes_gpc. For more information See What is magic_quotes_gpc and why should it be disabled? in the Zenphoto troubleshooting guide.

    warn: The Zenphoto filesystem character define is ISO‑8859‑1 [no test performed] Setup did not perform a test of the filesystem character set. You can cause setup to test for a proper definition by creating a file in your zp-data folder named charset.tést and re-running setup.If your server filesystem character set is different from ISO‑8859‑1 and you create album or image filenames names containing characters with diacritical marks you may have problems displaying the names.Change the filesystem character set define to Unknown ASMO-708 DOS-720 ISO-8859-6 WINDOWS-1256 IBM775 ISO-8859-4 WINDOWS-1257 IBM852 ISO-8859-2 WINDOWS-1250 EUC-CN GB2312 HZ-GB-2312 BIG5 cp866 ISO-8859-5 KOi8-R KOi8-U WINDOWS-1251 IBM737 ISO-8859-7 WINDOWS-1253 IBM869 DOS-862 ISO-8859-8-i ISO-8859-8 WINDOWS-1255 CP870 CP1026 EBCDIC-CP-US IBM861 EUC-JP ISO-2022-JP CISO2022JP SHIFT_JIS KS_C_5601-1987 EUC-KR ISO-2022-KR JOHAB ISO-8859-3 ISO-8859-15 IBM437 WINDOWS-874 IBM857 ISO-8859-9 WINDOWS-1254 US-ASCII UNICODE UNICODEFFFE UTF-7 UTF-8 WINDOWS-1258 IBM850 ISO-8859-1 MACINTOSH WINDOWS-1252apply.If you do not know the character set try "UTF-8"

    warn: .htaccess file [is empty or does not exist] If you have the mod_rewrite module enabled an .htaccess file is required the root zenphoto folder to create cruft-free URLs.You can ignore this warning if you do not intend to set the mod_rewrite option. Make setup create the file

    Completed system check

  • acrylian Administrator, Developer
    You got some warnings apparently you should really take care about. Most important is to disable safe mode.
  • vincent3569 Member, Translator
    I had some warnings during the installation of my prod site in 1.4.0.3.

    the only difference between the two log files is :

    warn: Log security [is compromised] Zenphoto attempts to make log files accessable by owner only (permissions = 0600). This attempt has failed. The log file permissions are 0644 which may allow unauthorized access.

    can it be the source of the problem ?

    btw : for safe mode :
    with my actual provider, I can't modify php parameters.
    I don't know what are the possible problem with safe mode...
    so I can't do anything but change ISP :-s
  • acrylian Administrator, Developer
    The possible problem with safe mode is safe mode (it is even deprecated). See the troubleshooting, that has a lengthy article about it for this reason.

    The log security is a security issue which has should not have directly to do with creating admins. Standard question: Any errors in the php error log?
  • vincent3569 Member, Translator
    where is this php error log ?
    I can't find this file
  • You will have to ask your hosting service about this. Usually the provider has a dashboard with such things as myPHPadmin and you will find a link to review your CGI logs on it. But it all depends, so not something we can answer.
Sign In or Register to comment.