Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 06:11 pm EST

Geeklog Forums

Warning: Cannot add header information


marian

Anonymous
Hi, this is what I get with 'lib-custom.php ' file and when file is empty works fine "Warning: Cannot add header information - headers already sent by (output started at /system/lib-custom.php:158) in /system/lib-sessions.php on line 150 Warning: Cannot add header information - headers already sent by (output started at /system/lib-custom.php:158) in /system/lib-sessions.php on line 162" any idea ???
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The lib-custom.php file that ships with Geeklog 1.3.5sr2 uses DOS linefeeds, while (almost) all the other files use Unix linefeeds. If your uploading from Windows, make sure that file is transferred in text mode. If you're on Linux, convert the file to Unix linefeeds locally before uploading it (I think "dos2unix" is the command to use). bye, Dirk
 Quote

Status: offline

ndarlow

Forum User
Junior
Registered: 06/30/02
Posts: 31
If your unix-like system doesn't have a dos2unix program, the following will do as a replacement: cat oldfile | tr -d '\\r' > newfile This strips all carriage return characters from the file "oldfile" and places the result into "newfile".
 Quote

Status: offline

ndarlow

Forum User
Junior
Registered: 06/30/02
Posts: 31
The above should have a single backslash character in the quotes. Geeklog doesn't display a single backslash but displays more than one :-(
 Quote

marian

Anonymous
- I deleted all the lines at the end of the file, and tested one more time and works how...
 Quote

All times are EST. The time is now 06:11 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content