I am tryng to use phpAdsNew2. I got the phpadsnew.inc.php included in the phpinclude and I'm working with view_raw(). Everything is ok, everything workes fine...
BUT when I come to a showthread.php page, I get the following php warning:
Warning: Cannot add header information - headers already sent by (output started at /usr/local/etc/httpd/htdocs/ads/phpadsnew.inc.php:47) in /usr/local/etc/httpd/htdocs/forum/admin/functions.php on line 1187
So, line 47 is just the end of the document where the other three old includes are included. No real hint there.
But line 1187 is the vbsetcookie() function.
And that is called from showthreads only at one place in showthread.php. Nothing special to me, there. vbsetcookie gets called from all kinds of other pages, too - without this php warning.
Does anybody know what so special about it? and *much* more important: Can anyone tell me how to get rid of the warning by either editing phpAdsNew2 or vBulletin?
Thanx
Oh, don't waste your time on telling me things about the remote invokation by simply using the image tag and forgetting about the inclusion of phpadsnew.inc.php. I *need* html-banners and wise-cracking about the buggy remote invocation (even thourgh JavaScript) is no help.
Thanx, again
BUT when I come to a showthread.php page, I get the following php warning:
Warning: Cannot add header information - headers already sent by (output started at /usr/local/etc/httpd/htdocs/ads/phpadsnew.inc.php:47) in /usr/local/etc/httpd/htdocs/forum/admin/functions.php on line 1187
So, line 47 is just the end of the document where the other three old includes are included. No real hint there.
But line 1187 is the vbsetcookie() function.
And that is called from showthreads only at one place in showthread.php. Nothing special to me, there. vbsetcookie gets called from all kinds of other pages, too - without this php warning.
Does anybody know what so special about it? and *much* more important: Can anyone tell me how to get rid of the warning by either editing phpAdsNew2 or vBulletin?
Thanx
Oh, don't waste your time on telling me things about the remote invokation by simply using the image tag and forgetting about the inclusion of phpadsnew.inc.php. I *need* html-banners and wise-cracking about the buggy remote invocation (even thourgh JavaScript) is no help.
Thanx, again
Comment