SetUp Log does not display

ZenPhoto 1.4.1.6, IE 9, Vista Business

Clicking the Logs->SetUp Log - nothing happens, the log does not display.

The log does exist, can download it via FTP ok.

Comments

  • what are the permissions of the file? Does anything show an error in your apache/http error logs?
  • Permissions are 600 - Owner read/write - assume admin is owner should be able to read.

    No errors logged.
  • Quite possibly your server has not configured PHP scripts to be the owners of their files. Try 0660.

    Note: 0600 should be correct if script users are properly configured. But sadly that is not always the case.
  • Thanks, I read the rules.

    I've tried 660, didn't work.

    Also, security log in same directory is 600 also but displays correctly, so looks like owner is admin.
  • No idea, then. There is only one set of code to display the logs--just the file name is changed for the various tabs. What exactly happens when you select the setup log tab?
  • Clicking the setuplog tab hangs the browser window with nothing displayed, sometimes there's a quick flash as if something is about to display, but nothing ever is, it just hangs - have to close the browser window and re-navigate to zenphoto to continue - incidentally IE 9 running compatability view for the website as otherwise IE 9 does not work correctly for it.
  • acrylian Administrator, Developer
    Quick guess: Is this an older install and the log file maybe quite big with several MB? Then that might be the reason. I think I had that once as well.
  • No, it is a fresh install. (that's why I looked at the setup log ;) ).
  • IE 9 works just fine for me in regular mode. In fact in many cases the compatibiliy mode is what does not look correct.

    When nothing is displayed in the browser it is almost always the case that there has been a script error. The only other possibility would be something in the setup log that is causing the problem. Not sure what that might be, though, the setup log is just plain text.

    You said you could download the file. Anything strange in it?
  • Nothing strange in the log as far as I can see.

    I just tried turning on script debugging and checked display all scripting errors. The setup log was displayed !! (same contents as downloaded file). But then immediately IE9 reported webpage not responding and could not recover it. No scripting errors reported.

    I opened a new browser window, and repeated the test. This time, it flashed up the setup log then immediately went to the original browser window page (ie. IE 9 new tabs page) - slightly odd behaviour!

    I then tried testing combinations of IE9 settings, and it seems for the setup log to display, the key setting is to have "display every script error" checked (script debugging can be set on or off). Although it does not display any script errors, the log does get displayed, though the page then hangs completely.

    This seems to me be to be something IE9 isn't handling like a script error or - I suppose could be an invisible character in the log?
  • There is no unique javascript on that tab. Maybe there is a character in the log that IE does not like. Generally the setup log is not very large. Were there warnings in the log?

    Here is what my log typically looks like
    `
    Zenphoto Setup v1.4.2-BETA[8585] Tue, 06 Dec 2011 14:39:02 -0800

    warn: General file security Zenphoto is unable to manage file security on Windows servers. Please insure that your logs and config file are not browsable.

    warn: Zenphoto core files [This is a debug build]

    Completed system check

    Notice: "Module mod_rewrite" is working. The Zenphoto option "mod_rewrite" is "enabled".
    `
  • Yes there were warnings. It was quite a long list. Maybe the display could not cope with a long list?
  • acrylian Administrator, Developer
    I don't rememeber how the text is displayed on the log tab (iFrame, directy), but it might be an IE bug displayling long text within an element or so. We have seen IE doing other strange things over the years..;-) I sadly cannot help as I am on Mac.
Sign In or Register to comment.