zenphoto forums » Usage Support

Problem with accesing admin page

(3 posts)

Tags:

  1. teigas

    Apprentice
    Joined: Jul '06
    Posts: 4

    I suddenly got a problem with zenphoto admin page. Its a couple of weeks since i last used it, everything worked fine then.
    Uploded a few pictures today trough ftp, and wanted to access the admin page, wrote my correct password and user name, but then the text below apeard any ide what has happend her?
    The gallery itself starts nice and works okey.
    http://galleri.byggekompaniet.no/zenphoto/

    Warning: fopen(/home/httpd/byggekompaniet.galleri/zenphoto/zp-data/security_log.txt) [function.fopen]: failed to open stream: Permission denied in /home/httpd/byggekompaniet.galleri/zenphoto/zp-core/zp-extensions/security-logger.php on line 77

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/httpd/byggekompaniet.galleri/zenphoto/zp-core/zp-extensions/security-logger.php on line 95

    Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/byggekompaniet.galleri/zenphoto/zp-core/zp-extensions/security-logger.php on line 96

    Warning: chmod() [function.chmod]: Operation not permitted in /home/httpd/byggekompaniet.galleri/zenphoto/zp-core/zp-extensions/security-logger.php on line 97

    Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/byggekompaniet.galleri/zenphoto/zp-core/zp-extensions/security-logger.php:77) in /home/httpd/byggekompaniet.galleri/zenphoto/zp-core/functions.php on line 1632

    Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/byggekompaniet.galleri/zenphoto/zp-core/zp-extensions/security-logger.php:77) in /home/httpd/byggekompaniet.galleri/zenphoto/zp-core/auth_zp.php on line 89

    Posted 1 year ago #
  2. Zenphoto development team
    sbillard

    Chief Developer
    Joined: May '07
    Posts: 9,767

    My guess would be that your ISP has "strengthened" the security of the site. I deduce this because of the warning about chmod.

    But anyway, the problem is that PHP is not being allowed to open the security log [see the permissions denied error message.] We can only guess the cause. But the first things you should do is look at the filesecurity on the log. Normally it would be 0600, that is readable and writeable only by the creator (which should be zenphoto.)

    If Zenphoto is no longer considered the creator, then it will not be able to access the file. Try using FTP to delete the file and see if things then work. If so, then there was some change in the user id assigned to zenphoto. If not you can try weaker permissions. But then the log could possibly be accessed by someone else--not a good situation.

    Don't forget to read the Forum rules and usage resources
    Posted 1 year ago #
  3. teigas

    Apprentice
    Joined: Jul '06
    Posts: 4

    Deleted the log file, and I was abel to open the admin page, thank you! :)

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.