Adding comment problem

2»

Comments

  • @sbillard
    I was just being lazy hehe.
    Anyway I hate messing up with the DB, so I run setup 4 times and I still have the problem :D. I will try the fix later. Thank you for pointing it out.
  • If you haven't tried the nightly build, you should. Many people have reported this problem fixed with that build and a run of setup.
  • nightly build? What is that? and where can I download it?
  • acrylian Administrator, Developer
    On our homepage.
  • Thanks. I will try it!
  • Hello I had 1.1.3 version of zenphoto and problem with adding comments like on 1 post:
    Invalid argument supplied for foreach() in /home/www/zenphoto/zenphoto/zp-core/kses.php on line 429
    Now I upgrade my zenphoto to nightly build 2008-01-05 run setup.php and adding comments still does not working. When I add comment it goes to database but also I see error message:
    Fatal error: Using $this when not in object context in /home/duet/mydomain/public_html/galeria/zp-core/functions.php on line 1044
    What can I do ?
  • Sorry about that. There will be a fix in tonight's build.

    You can change line 1044 in functions.php from:
    ` $this->comments[] = $newcomment;`
    to:
    ` $receiver->comments[] = $newcomment;`

    in the mean time.
  • Thanks working :)
  • Hello, great product, I like it but I'm also having problems with the commments. I just upgraded to the latest nightly build I just keep having the same issue.

    Whenever you post a comment for a photo, after a while I get a CGI error "The specified CGI application misbehaved by not returning a complete set of HTTP headers." But if I go to comments on the console I see about 100 copies of my comment.

    Everything else works fine, but this is a crucial part of the software, that is absolutely needed for it to be useful. Please help, I'm running on Windows IIS6.

    Thanks
  • There has been one other report of this problem. So far we have no idea what might be causing it. Basically, the comments are being resubmitted where as the code is sending a header to prevent this. So, for some reason header redirection is not working on your installation.

    IIS6 may be the issue. The other user with this problem did not mention the server software. In general I think people are using apache with zenphoto.
  • I installed tonight build and thecomments works, thanks :)
    But now i can't delete images, a new error:

    Warning: unlink(/home/origami/public_html/gallery/albums/origami/scorpions.jpg) [function.unlink]: Permission denied in /home/origami/public_html/gallery/zp-core/class-image.php on line 413

    Warning: Cannot modify header information - headers already sent by (output started at /home/origami/public_html/gallery/zp-core/class-image.php:413) in /home/origami/public_html/gallery/zp-core/admin.php on line 303
  • And don't save order of albums (
  • acrylian Administrator, Developer
    Did you run setup?
  • Of course. When i choose "manual sorting", albums saves. But deleting photos don't work (
  • Tararasik:

    Your error indicates that zenphoto has not got permission to delete files from the album folder (or one of the subalbum folders.) You need to check your access permissions on these folders. They should all be 777--read, write, and execute for all users.
  • Hi

    I have the very latest version installed on IIS6 and am also having problems with comments (they re-submit over & over & over and then return an HTTP headers error).

    CGI Error
    The specified CGI application misbehaved by not returning a complete set of HTTP headers.

    I see Tararasik resolved this problem but no detail how - anyone able to assist?

    Thanks
Sign In or Register to comment.