Bug

Bryan McWhirt / #5906

Summary

v0.0801
open
Sep 3, 2007
Sep 3, 2007 / guest
Sep 27, 2007 / guest
suggested
 

Attached files

No files uploaded

Issue report

Minor
Have not tried
FreeBSD 6.0-RELEASE-p15, Apache 2.0.55, mysql 5.0.19
0801
2007-05-04
Install, login as admin.
I get a Error notice
Error: Could not set cookie.

Server session section of phpinfo

session
Session Support enabled
Registered save handlers files user
Registered serializer handlers php php_binary wddx

Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly Off Off
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 4 4
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path no value no value
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0

Also I get an error
WARNING: Cannot modify header information - headers already sent by (output started at /usr/home/cs497/public_html/streber/std/common.inc.php:97)

contents of errors.log.php

Error 20070903033604 std/class_pagehandler.inc.php : 729 -> homeAllChanges()
Error 20070903033604 pages/login.inc.php : 262 -> PageHandler::show("homeAllChanges", [0])
Error 20070903033604 std/class_pagehandler.inc.php : 729 -> loginFormSubmit()
Error 20070903033604 index.php : 216 -> PageHandler::show("loginFormSubmit")
Error 20070903033604
Error 20070903033604 Variables in __toString():
Error 20070903033604 auth = OBJECT
Error 20070903033604 theme_config = themes/clean/theme_config.inc.php
Error 20070903033604 v0.0801, homeAllChanges, from 192.168.1.122, uri:/~cs497/streber/index.php




 

3 Comments

guest

Sep 22, 2007
View comment
Is there any one who knows how to fix this?

guest

Sep 27, 2007
i'm seeing this as well.
%% strip slashes%% strip slashes%% strip slashes%% strip slashes%% strip slashes%% strip slashes

back to sysInfo | log | errors | newbots | 20070927101444 WARNING: std/class_auth.inc.php:436 - Cannot modify header information - headers already sent by (output started at /var/www/streber/std/common.inc.php:97) (hide)
20070927101542 WARNING: render/render_page.inc.php:494 - Cannot modify header information - headers already sent by (output started at /var/www/streber/std/common.inc.php:97) (hide)
20070927101549 WARNING: std/class_auth.inc.php:436 - Cannot modify header information - headers already sent by (output started at /var/www/streber/std/common.inc.php:97) (hide)
20070927102013 WARNING: render/render_page.inc.php:494 - Cannot modify header information - headers already sent by (output started at /var/www/streber/std/common.inc.php:97) (hide)
20070927102016 WARNING: std/class_auth.inc.php:436 - Cannot modify header information - headers already sent by (output started at /var/www/streber/std/common.inc.php:97) (hide)
20070927102023 WARNING: render/render_page.inc.php:494 - Cannot modify header information - headers already sent by (output started at /var/www/streber/std/common.inc.php:97) (hide)
20070927102027 WARNING: std/class_auth.inc.php:436 - Cannot modify header information - headers already sent by (output started at /var/www/streber/std/common.inc.php:97) (hide)


PHP Version: 5.2.3-1+b1 (PhpInfo)
extension directory: /usr/lib/php5/20060613+lfs
loaded extensions: zip, xmlwriter, libxml, dom, xmlreader, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, session, pcre, SimpleXML, sockets, soap, SPL, shmop, standard, Reflection, posix, mime_magic, mbstring, json, iconv, hash, gettext, ftp, filter, exif, dba, date, ctype, calendar, bz2, bcmath, zlib, openssl, apache2handler, gd, mcrypt, mysql, mysqli, PDO, pdo_mysql
include path: .:/usr/share/php:/usr/share/pear
register globals: Off
magic quotes gpc: On
magic quotes runtime: Off
safe mode: Off
mail(): Available
SMTP: localhost
upload max filesize: 2M
http host: gotham
server name: gotham
server port: 80
server software: Apache/2.2.4 (Debian) PHP/5.2.3-1+b1
server os: Linux
current locale: C

Timezone detection
  • time-offset for user: 0sec
  • renderDateHtml(): Today 10:21am
  • original db-string (should be GMT): 2007-09-27 10:21:08
  • strToClienttime(): 1190888468
  • gmdate:(strToClientTime) 10:21:08
  • strToTime(): 1190845268
  • date(strToTime): 10:21:08

guest

Sep 27, 2007
How to resolve
Comment out (or delete) line 97 in std/common.inc.php:

So change this:

### remove slashes if magic quotes
            if(get_magic_quotes_gpc()) {
                echo "%% strip slashes";
                $value= stripslashes($value);
            }

To this:

### remove slashes if magic quotes
            if(get_magic_quotes_gpc()) {
                #removed# echo "%% strip slashes";
                $value= stripslashes($value);
            }
 

Comment / Update