PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old October 29th, 2004, 10:28 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2003
Posts: 14
Unable to add cookies, header already sent.

I'm a little stumped. I'm running IIS 6 w/ php 4.3.8, vB 3.0.3 and Photopost 4.8 on a dedicated server that I log into.

When using header_inc.php (vBulletin Integration only, not the vBPortal setup), I receive the following error:

Unable to add cookies, header already sent.
File: c:\blahblah\index.php
Line: 15

I've removed header.html and made sure the only header available is coming from the header_inc.php.

Obviously, the page doesn't load no matter where in Photopost I attempt to load via URL -- this is the only message that displays.

vBulletin works like a charm with no errors whatsoever.

I've double-checked and rechecked the cookie domain/path for vBulletin and Photopost and both appear correct.

I've searched here, however I haven't found it. I also searched on photopostdev concerning it (and asked, although MichaelP pointed me here ), but I didn't find it there either. There's a possibility I might've skipped over it and if I have, I apologize.


Anyone have a clue where to start or what direction to take with this? This isn't my first time installing Photopost as I've installed it before on a shared hosting website and it worked like a charm. This is, however, my first dedicated server. IIS, PHP, and MySQL all seem to be working and accepting data just fine.. just the headers are already sent for Photopost.
Ixtli is offline   Reply With Quote
Old October 30th, 2004, 12:17 AM   #2 (permalink)
Junior Member
Verified Customer
 
Join Date: Sep 2003
Posts: 14
I hope I'm not speaking too fast when I state this, but I think I just fixed this problem myself. If anyone else has the issue, atleast they can refer here to see what's up.

There was a notice about the argv variable before the 'Unable to add cookies, header already sent.' message. In the index.php, setting this variable as follows fixed the problem for me, first line after <?php:

Code:
Content visible to verified customers only.
I'd originally thought this notice was just a notice (as it's been my experience php notices are just that), however I thought wrong. Whether or not this was the correct fix is irrelevant -- as of now the problem appears to be fixed.


After the header began loading I'd noticed the stylesheets weren't loading correctly since I'm having Vbulletin save them to file. I just checked the "Having trouble getting css files to load when stored as files instead of inline!!!" section of the VB3 Integration FAQ available here on the Photopost forums and now everything appears to be working.


Thanks anyway, guys.
Ixtli is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Unable to add cookies, header already sent." - adminfunctions.php PageUp Bugs From 1.0.0 7 April 2nd, 2005 10:09 AM
Old Cookies.php gone how do we clear cookies now? paprman Photopost Pro How Do I...? 2 April 2nd, 2005 09:32 AM
How do I add my own header and links booyachickenmomm Photopost Pro How Do I...? 7 March 3rd, 2005 07:27 AM
Error: Unable to add cookies... tunaman Installs and Upgrade - vBulletin 3.0.X 2 January 12th, 2005 12:28 PM


All times are GMT -5. The time now is 05:47 PM.

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