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 Classifieds Support > Classifieds Installation & Upgrades

Classifieds Installation & Upgrades If you're having install or upgrade problems, post here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 21st, 2005, 04:54 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 4
new 2.2 install : login/logout errors : thumbnail.tmpl?

Hi!

I get the following errors if I'm logged in as admin and try to log out - afterwards I'm still logged in. If I comment out the entire contents of thumbnail.tmpl, everything works fine. There are also some other points in the login/logout process where this seems to make a difference, but I'm tired and goin home now.

----
Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/supporthitcatcher.com/httpdocs/clients/stonebridgepress/pp-classifieds/templates/thumbnail.tmpl:16) in /home/httpd/vhosts/supporthitcatcher.com/httpdocs/clients/stonebridgepress/pp-classifieds/forums/sellerspost.php on line 155

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/supporthitcatcher.com/httpdocs/clients/stonebridgepress/pp-classifieds/templates/thumbnail.tmpl:16) in /home/httpd/vhosts/supporthitcatcher.com/httpdocs/clients/stonebridgepress/pp-classifieds/forums/sellerspost.php on line 156

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/supporthitcatcher.com/httpdocs/clients/stonebridgepress/pp-classifieds/templates/thumbnail.tmpl:16) in /home/httpd/vhosts/supporthitcatcher.com/httpdocs/clients/stonebridgepress/pp-classifieds/forums/sellerspost.php on line 157

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/supporthitcatcher.com/httpdocs/clients/stonebridgepress/pp-classifieds/templates/thumbnail.tmpl:16) in /home/httpd/vhosts/supporthitcatcher.com/httpdocs/clients/stonebridgepress/pp-classifieds/forums/sellerspost.php on line 158

----

An associate says that it looks like some html is getting written out before the headers, but we couldn't figure out where.

Thanks in advance!!!!!
hitcatcher is offline   Reply With Quote
Old April 22nd, 2005, 10:01 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Check that file for trailing or empty space after the closing ?> tag
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 22nd, 2005, 10:32 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 4
errors are happening in sellerspost.php, lines 155-8

After removing the blank line from thumbnail.tmpl (which seems to have no effect, btw), and hitting logout several times, watching closely, I've determined that the setcookie calls in sellerspost.php is where the errors are happening. Or at least, that's what's being reported. I also notice that in these four lines, the last parameter $Globals['cookie_path'] isn't surrounded by "{ }" as it is in the calls on lines 145 and 147. Is this right?

(We're trying to get this set up to demo to the client today.)
hitcatcher is offline   Reply With Quote
Old April 22nd, 2005, 10:38 AM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 4
new and improved error!

I've removed even more whitespace from templet.tmpl - moving the closing ?> to the end of the PPPRINT; line. Now I'm getting a new error:

Parse error: parse error, unexpected $ in /home/httpd/vhosts/supporthitcatcher.com/httpdocs/clients/stonebridgepress/pp-classifieds/templates/thumbnail.tmpl on line 14

There is no $ on line 14:

PPPRINT;?>

???

Ahh - not allowed. So I'm back to the original errors... any ideas? Did my question regarding the "{ }" in sellerspost.php make sense? Does that make any difference?

Update: 14:31 EST

I've commented out the thumbnail.tmpl code again until we can figure out what's going on there.

Now I've found another issue: If I place and ad as a user, approve it (as admin), then log back in as the user and try to either edit or expire the ad, I'm told that I'm not the person who placed the ad and am not allowed to do anything with it. In addition, in the case of 'expire ad', after the message, I get a completely blank page.

Pete

Last edited by hitcatcher; April 22nd, 2005 at 01:35 PM. Reason: New information??
hitcatcher is offline   Reply With Quote
Old April 22nd, 2005, 11:05 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
PPPRINT;?>

has to be this


PPPRINT;
?>
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
login errors etc coolmoms Photopost Pro Installation & Upgrades 1 July 21st, 2005 04:13 PM
Login/logout Option not offered in header?? dwaters Photopost Pro How Do I...? 3 March 29th, 2005 01:12 PM
4.8d Fresh install - Cant login skinnyFT Photopost Pro Installation & Upgrades 4 July 20th, 2004 01:12 PM


All times are GMT -5. The time now is 07:16 AM.

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