Permissions issue? Some files appaer to be not included

just downloaded 1.26
New installation
upon running first time, setup stops at PHP gettext() support
although it's checked, i get a PHP notice
"Notice: Use of undefined constant FILESYSTEM_CHARSET - assumed 'FILESYSTEM_CHARSET' in /services/web/htdocs/zenphoto/zp-core/setup.php on line 659"
and that is the last thing shown.

I tried just hardcoding the value of that constant into the setup.php, which does allow to get further in the setup screen. But still no "GO" button shows up.
I also receive the warnaing that some files may be missing or variance something, and to check setup.php

This all leads me to believe that there is an issue with some files not properly being included.

Running on Linux, Apache, PHP all compiled. PHP is compiled --with-gettext --enable-mbstring (but perhaps not correctly)

Comments

  • What files were flagged as missing/wrong? What was the result of your check? The files are all there in the package, but of course some may not have got uploaded. Any other PHP errors?
  • I'm working on a local box, so no uploading over ftp.

    the setup only said to check setup.php

    no other PHP errors
  • When I say not included. I mean by PHP.
    Hence that notice of undefined constant, even though the constant is defined, setup.php can't seem to see it.
  • Could you try the nightly build and see if the problem exists there?
  • Sure.
    Here's the steps I followed:
    - Downloaded from nightly builds (2009-09-14)
    - tar -xzvf to my apache htdocs folder
    - chown -R apache:web zenphoto (apache:web) being the user and group apache runs as)
    - pointed browser to http://localhost/zenphoto/zp-core/setup.php

    End result basically the same.
    Last check that shows up is gettext() support and then the following error:
    Notice: Use of undefined constant FILESYSTEM_CHARSET - assumed 'FILESYSTEM_CHARSET' in /services/web/htdocs/zenphoto/zp-core/setup.php on line 739
  • I seem to have avoided this issue by enabling the mbstring functionality by recompiling php with the --enable-mbstring parameter.
    From What I can see having this enabled avoids the use of the FILESYSTEM_CHARSET constant due to and if/else

    So although, I've got setup to continue, I fell there would still be an issue without mbstring.

    Let me know if I can give any details to help this out.
  • If it is easy for you to recreate the original situation, please test tonight's build. I believe I have found and fixed the problem, but cannot test as I get my PHP from my ISP and do not control its configuration.
  • I tried last nights build (2009-09-15).
    On a server with gettext, but without mbstring
    It appears to be functioning correctly
    Good Job.
  • Thanks for the feed back.
Sign In or Register to comment.