On my site (http://10days.bzzagent.com/gallery/index.php?album=Day1&image=DSC_6854.jpg#) when a user posts a comment he/she'll get:
Warning: Cannot modify header information - headers already sent by (output started at /home/bzzagent/www/10days/gallery/index.php:5) in /home/bzzagent/www/10days/gallery/zen/template-functions.php on line 67
Warning: Cannot modify header information - headers already sent by (output started at /home/bzzagent/www/10days/gallery/index.php:5) in /home/bzzagent/www/10days/gallery/zen/template-functions.php on line 75
Any idea on how to fix this ?
Erik
one quick way around it.. if you can.. it to turn off Display_errors in your php config file. the comment is still getting posted it is just displaying the warnings..
Other than the theme.. what else have you done to your gallery.. any special mods.. normally you will see those errors when integrating zp into another site like wp where the headers are sent outside of zp
I get 2 different cookies when I post on your site... and they are different compared to all my zp sites.. normally I am only gettting 1 cookie with a name.. zenphoto and my post information.. i am getting 2 different ones on yours with different information... any ideas what would of caused this on your side.
for the cookies I am thinking you're hitting the wp app first and then zenphoto which both set a cookie ?
As far as modifying anything, there is one thing, I added a line of HTML to return to the wordpress site at the top of each of the three main pages (index, album, detail). What could that do ?
as far as the cookies go.. those are wordpress cookies and not zp cookies, hence the reason you are getting the errors....
That is most likely your problem. you might want to try this..(not sure how you have currently configured it) but my guess from what you said is with a php call you included/required a wordpress file into index/album/image.php is this correct.. ?
you are receiving a conflict because both wp and zp are trying to output header information.
include your wp file in the zp index.php before your require_once to template-functions.php
Since I dont really know how exactally you integrated it then if that still doesnt work, on line 66 of image.php in the template that you are using, change "isset($error)" with ($FIXME). Let us know how that works for ya
LOL, That is possible also, is there anything else that you have integrated into it..
If all you did was create a link at the top.. that is not the problem.. i thougth you were pulling WP stuff into your install..
it is probably the blogbeat which is causing the errors. How and where did you integrate that into your zp installation
just for sake of determining weather or not blogbeat is the problem, remove the blogbeat from the template files and see if it still happens..
if it is the problem I would try a similar method that I mentioned above but with the blogbeat script.. put it in the index.php in your zproot indead of your template files.. see if that helps
Ok, so I tried a few thing. First I removed the blogbeat script. No dice. Then I remove the theme files and overwrote them with the default-dark vanilla file. No dice. So I decided to use the default theme. No dice.
So I re-aplied the modified default-dark I had. Still no dice but it looks good
so even the, unmodified, default theme does not work? whatabout the testing theme?
Maybe there was something wrong with your download????? I am all out of ideas..
Try to download the latest version again and re-upload the index.php in the zproot and the zen directory.
dont use the same config but rather put in your settings in the new config.php.
honestly I am out of ideas. I have zp integrated into many sites left and right on multiple different webserver types and configurations.. and I have only had THAT problem when modding the files to do something other than default. Which is why I am suggesting to download a new package..
anyone have any other better ideas.. ??????? I am about all out..