PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Bugs From 1.0.0 (http://www.photopost.com/forum/bugs-1-0-0/)
-   -   "Unable to add cookies, header already sent." - adminfunctions.php (http://www.photopost.com/forum/bugs-1-0-0/117986-unable-add-cookies-header-already-sent-adminfunctions-php.html)

PageUp March 31st, 2005 01:18 PM

"Unable to add cookies, header already sent." - adminfunctions.php
 
I have this problem after I upgraded from RC3 to RC4. When I go to Admin CP > vBa Gallery > Validate New Images:



vBulletin Message
Unable to add cookies, header already sent.

File: C:\ServInt\vbulletin\includes\adminfunctions.php
Line: 223








Same error also on "Validate New Posts" and "Edit Categories > Mass Edit / Delete" pages.

I have this same issue on both my home PC and the new server. The old server with RC3 installed is working fine.

Prevoius posts on the "Unable to add cookies..." issue say that the problem is in the white space below the ?> tag. But unless I'm completely blind, there is no white space below that tag in the adminfunctions.php page...

Brian March 31st, 2005 02:49 PM

Re: "Unable to add cookies, header already sent." - adminfunctions.php
 
Double check your modcp/vba_gallery.php file and make sure there is no white space below the ending ?> tag there. If that's not it, please submit a support ticket and I'll track the problem down for you.

PageUp March 31st, 2005 03:28 PM

Re: "Unable to add cookies, header already sent." - adminfunctions.php
 
Nope, no white space. I've submited a support ticket.

Brian March 31st, 2005 03:31 PM

Re: "Unable to add cookies, header already sent." - adminfunctions.php
 
Have submitted? There aren't any open tickets from you...

phlogiston April 1st, 2005 08:46 PM

Re: "Unable to add cookies, header already sent." - adminfunctions.php
 
**edit I got this totally wrong so don't bother with it - see next posts**



I had this problem as well and seem to have fixed it with changing line 41 in the /modcp/vba_gallery file by putting single quotes around the number so it's:
Code:

Content visible to verified customers only.
I haven't yet been able to test if that works when the validation queue is split across more than one page though.
(And I also have no real idea why it makes any difference! :S)

zoque April 2nd, 2005 03:24 AM

Re: "Unable to add cookies, header already sent." - adminfunctions.php
 
i have the same problem here.

changing it to

Code:

Content visible to verified customers only.
did not the fix the problem.

phlogiston April 2nd, 2005 07:15 AM

Re: "Unable to add cookies, header already sent." - adminfunctions.php
 
actually, your right - it was almost 4am here when I posted that and I was a step behind myself.

What actually got rid of this problem for me was commenting out that entire line, which will obviously more than likely break something else but it did allow me to validate pics in the meantime...
Maybe moving the line to above where global.php is called would work fine?

sorry zogue & anyone else who tried my quick not-fix :(

Brian April 2nd, 2005 09:09 AM

Re: "Unable to add cookies, header already sent." - adminfunctions.php
 
For those having a problem with this, look in your functions_gallery.php file for this:
Code:

Content visible to verified customers only.
Replace with this:
Code:

Content visible to verified customers only.
And that should take care of the problem.


All times are GMT -5. The time now is 01:05 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97