ZenphotoCMS Forum
Adding comment problem - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Adding comment problem (/thread-1957.html)

Pages: 1 2 3


Adding comment problem - sbillard - 2007-12-24

Sounds like a mySQL issue. Storing tags and descriptions are fairly simple mySQL queries.




Adding comment problem - Elgar - 2007-12-24

The SQL server has no issues. I run 3 forums and other assorted games related programs on the same SQL server.

I even gave ZP root access to make sure.




Adding comment problem - Artz - 2007-12-25

i got same problem

try nighty build (http://www.zenphoto.org/files/nightly/zenphoto-2007-12-21-trunk.zip) and run setup.php again

it's work!




Adding comment problem - Elgar - 2007-12-26

I am using the nightly build and I have run setup.php

I just re-downloaded it all again to be sure, and it's the same.




Adding comment problem - Elgar - 2007-12-26

Just to note the problems are.

  1. Header redirect isn't clearing the post data which causes multiple comments to be posted.
  2. Tags and descriptions are not displayed or saved when added.



Adding comment problem - ianboo - 2007-12-26

Just to note the problems are.

  1. Header redirect isn't clearing the post data which causes multiple comments to be posted.
  2. Tags and descriptions are not displayed or saved when added.
  3. Tags and descriptions are saved when added, but kses.php still throws an error (what is the case for Schnouki (see above) and for me)



Adding comment problem - sbillard - 2007-12-26

ianboo:

Which is it, are Tags and descriptions saved (#2) or not(#3)?

Have you upgraded to the nightly build? If so, have you run setup? If not, have you checked your zp-config file as described above?




Adding comment problem - Elgar - 2007-12-26

'Tags' and 'Desc' columns always remain empty in the zp_images table. No matter how many times you try to add a description on an image.

Yes I have upgraded to the nightly build.
Yes I have checked the config file. I've deleted it and used the new one that comes with the nightly build.




Adding comment problem - sbillard - 2007-12-26

Elgar: Sorry, above question was if ianboo.

Perhaps if you and ianboo could compare information about your installations, we might get somewhere. There must be some similarity between you that would flag what is causing these problems. At present I have no ideas.




Adding comment problem - zucye - 2007-12-28

I also have the same problem, plus my theme does not longer works after the update ... wonder why did I updated

***After adding:

"$inarray = getOption('allowed_tags');"

...to line 428 as per Schnouki, comments are now working.




Adding comment problem - sbillard - 2007-12-28

zucye:

You should really read this thread thouroughly. (Wonder why you didn't) What you did is NOT a fix.

Please review my message Posted: 2007-12-20 14:24:19 # 88.112.152.116




Adding comment problem - zucye - 2007-12-28

@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 . I will try the fix later. Thank you for pointing it out.




Adding comment problem - sbillard - 2007-12-29

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.




Adding comment problem - zucye - 2007-12-29

nightly build? What is that? and where can I download it?




Adding comment problem - acrylian - 2007-12-29

On our homepage.




Adding comment problem - zucye - 2007-12-30

Thanks. I will try it!




Adding comment problem - mironb - 2008-01-06

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 ?




Adding comment problem - sbillard - 2008-01-06

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.




Adding comment problem - mironb - 2008-01-07

Thanks working




Adding comment problem - ljahn - 2008-01-16

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