ZenphotoCMS Forum
Comments white page. - 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: Comments white page. (/thread-4580.html)



Comments white page. - olihar - 2009-02-01

Just ran few tests with making comments.

I have zenphoto version 1.2.2 [3423] | zenpage version 1.0.1 [3423]

running on MAMP.

Everytime I make a test comment I get a white page, I can see the comment goes through but the page goes blank, if I refresh the page I can see as well the comment get posted again.

Just me keeping on doing some testing.

P.s.
Minor copy paste error spotted as well.
in Plugins Register user has the same descriptipn text as Logout user plugin. However the links are right.

EDIT: I can see there is a # in the end of the URL when the white page displays.




Comments white page. - kingkool68 - 2009-02-08

I've been having a problem with comment performance. It takes over a minute for a new comment to post. Here is a screenshot of the performance according to Firebug -> http://www.imagechicken.com/uploads/1234118108044892300.jpg

It seems I suffer from the same issue with a # at the end of a URL and a 302 Moved Temporarily being returned.

Any insight?




Comments white page. - sbillard - 2009-02-08

Are you perchance using IIS? There is a problem with comment redirection and IIS. See functions-controller.php line 233. You may need to comment out the redirection.




Comments white page. - kingkool68 - 2009-02-08

I'm on an Apache server on Dreamhost. I'll take a look at line 233 of functions-controller.php to see if I can come up with anything.




Comments white page. - kingkool68 - 2009-02-08

Commenting out the redirect didn't seem to be the issue. The comment form has no action associated it. I was wondering what happens when the form is submitted. I feel like the slow up is happening between when the form is submitted and the function zp_handle_comment() is called. Any ideas?




Comments white page. - sbillard - 2009-02-09

There is almost nothing happening between the post and the processing. Are you having e-mails send of the posted messages?




Comments white page. - kingkool68 - 2009-02-09

Yes I am, I guess I could try and disabling the e-mail notification to see if that is what is causing the hold up.




Comments white page. - kingkool68 - 2009-02-09

Nope that had no effect. Here are the headers (via Firebug) that were returned after trying to post a comment on this image http://www.russellheimlich.com/zen/May%20Blog%20Images/img_8956.jpg

Request Header:
Host: www.russellheimlich.com

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8

Accept-Language: en-us,en;q=0.5

Accept-Encoding: gzip,deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Keep-Alive: 300

Connection: keep-alive

Referer: http://www.russellheimlich.com/zen/May%20Blog%20Images/img_8956.jpg

Cookie: zenphoto_auth=5a6093223327f4e89db557cecbd5fd66; utma=36692259.2262422548802471200.1233456246.1234136338.1234140043.9; utmz=36692259.1234110278.6.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none); PHPSESSID=lt9ghf43ee85thmcnb9cqik335; zenphoto=r%7C%7E%2A%7E%7Cmyemail%40gmail.com%7C%7E%2A%7E%7Chttp%3A%2F%2Fwww.russellheimlich.com%2Fblog%7C%7E%2A%7E%7C%7C%7E%2A%7E%7C%7C%7E%2A%7E%7C%7C%7E%2A%7E%7C; utmc=36692259; utmb=36692259.1.10.1234140043

Response Header:
Date: Mon, 09 Feb 2009 00:42:35 GMT

Server: Apache/2.0.61 (Unix) PHP/4.4.7 mod_ssl/2.0.63 OpenSSL/0.9.7e mod_fastcgi/2.4.2 DAV/2 SVN/1.4.2

X-Powered-By: PHP/5.2.6

Set-Cookie: zenphoto=Russell+Heimlich%7C%7E%2A%7E%7Cmyemail%40gmail.com%7C%7E%2A%7E%7Chttp%3A%2F%2Fwww.russellheimlich.com%2Fblog%7C%7E%2A%7E%7C%7C%7E%2A%7E%7C%7C%7E%2A%7E%7C%7C%7E%2A%7E%7C; expires=Fri, 10-Apr-2009 00:43:36 GMT; path=/

Location: /zen/May%20Blog%20Images/img_8956.jpg

Vary: Accept-Encoding

Content-Encoding: gzip

Content-Length: 20

Keep-Alive: timeout=2, max=100

Connection: Keep-Alive

Content-Type: text/html

The response took 1.03 minutes according to the Net tab of Firebug.




Comments white page. - sbillard - 2009-02-09

I do not really have any idea. But maybe a change in the current nightly build might make a difference.

Could you try the current Nightly build to see if there is any difference?




Comments white page. - kingkool68 - 2009-02-09

Tried the latest nightly build which with no differences in comment POSTing. Will open a ticket in Trac.