phpWebLog

find
story index | search | archive | submit story | downloads | stats | contact
Topics
  • General (915)
  • Announcements (20)
  • Development (521)
  • Mods & Hacks (33)


  • phpWebLog
  • Latest Release - 0.5.3 (BETA)
  • Latest Stable - 0.5.2
  • ChangeLog
  • TODO / Roadmap
  • BUGS

    CVS WEB

  • New XL fork 0.5.2
  • Unstable branch 0.5.3

  • For development discussions and for general support, join the phpWebLog mailing list

    phpWebLog needs active developers to help fix bugs. If you are interested, send me your SourceForge login information for CVS access.


    Last 5 Comments
  • Setup Problems (Aaron)
  • phpweblog 0.5.2 (and maybe 0.5.3) security problems (JustTesting)
  • Meaning of Blog (JKilborn)
  • Meaning of Blog (JKilborn)
  • phpweblog 0.5.2 (and maybe 0.5.3) security problems (Anonymous)


  • help me, the code is eating my face!
    Posted under Development by esoteric on Tuesday May 29 2001 @ 09:51PM EDT
    Development please explain to me why I am getting these errors! THANKS FOR ANY HELP

    Warning: Cannot add header information - headers already sent by (output started at /include/layout.inc.php:357) in /admin/auth.inc.php on line 29

    Warning: Cannot add header information - headers already sent by (output started at /include/layout.inc.php:357) in /admin/index.php on line 26

    the only thing I edited was the layout.inc.php, when I did that it was just to change the navigation menu.... Would the problem be in layout.inc.php?


    line 357 in layout.inc.php is: ?>

    line 29 in auth.inc.php: setcookie(md5($name),md5(rot13($CONF["SiteKey"])),0,"/index.html","",0);

    line 26 in index.php: header("/LocationG_URL/admin/moderate.html");

    HELP! I can't see why I have an error@!#

    < import_layout error? | Authentication Problem >

    jason writes on Tuesday May 29 2001 @ 11:29PM EDT: [ reply | parent ]
    My best guess is that there is some whitespace being printed from layout.inc.php. In fact, that's the only thing it can be from what you've described. Make sure there are no spaces or extra lines after the ?> tag in layout.inc.php.
    Dylan writes on Tuesday May 29 2001 @ 11:30PM EDT: [ reply | parent ]
    Have a look at the source and you may be able to find out more - something is being sent before the cookie, which shouldn't really happen.
    esoteric writes on Wednesday May 30 2001 @ 12:30PM EDT: [ reply | parent ]
    I looked at the code lastnight, a few minutes after posting this and saw that there were three while spaces behind the ?>, thanks for all feedback on this post.... this problem was really pissing me off.

    you guys are great.

    ________
    esoteric
    Nekrataal writes on Tuesday June 05 2001 @ 05:17AM EDT: [ reply | parent ]
    MMMh I have to doublecheck our code, because I get the error from time to time, too. Up to now I thought it was some provider problem ... well I will have a look at the code ...
    Post a Comment
    Name:
    Email:
    URL:
      Remember my information (uses cookies)
      I would rather be anonymous
    Comment:
    * Your email will not be made public.
    Save As:

    SourceForge
    SourceForge is providing us a mailing list , documentation and a CVS tree.

    SourceForge Logo


    PHP.net

    PHPBuilder
  • Zend Studio 3.0
  • GIS Mapping with PHP
  • On User-Defined Timezones in PHP
  • Dreamweaver MX 2004
  • Using PEAR's HTML_Table Class
  • An introduction to the ADOdb class library, Part 2
  • An introduction to the ADOdb class library for PHP
  • Manually Expiring Web Pages
  • Regression Testing With JMeter
  • Advanced Image Editing Under the GD Library

  • phpWebLog: A PHP News and Content Management System
    Copyright (C) 2000-2002, Jason Hines / Eye Integrated Communications