Mailinglisten-Archive |
Hallo Sebastian,
> Wieso funktioniert das nicht?
Es ist fuer mich total unverstaendlich wieso die lib unter php4 nicht mehr
laeuft, - obwohl sie in der gleichen Konfiguration unter php3 laeuft.
Ich benutze ueberwiegend die session, auth und perm Funktionen der lib.
Hier die Fehlermeldungen, die ich, ehrlich gesagt, nicht ganz verstehe:
Warning: Call-time pass-by-reference has been deprecated - argument passed
by value; If you would like to pass it by reference, modify the declaration
of [runtime function name](). If you would like to enable call-time
pass-by-reference, you can set allow_call_time_pass_reference to true in
your INI file. However, future versions may not support this any longer. in
/usr/www/users/pr054ear/php/session.inc on line 262
Warning: Call-time pass-by-reference has been deprecated - argument passed
by value; If you would like to pass it by reference, modify the declaration
of [runtime function name](). If you would like to enable call-time
pass-by-reference, you can set allow_call_time_pass_reference to true in
your INI file. However, future versions may not support this any longer. in
/usr/www/users/pr054ear/php/session.inc on line 273
Warning: Call-time pass-by-reference has been deprecated - argument passed
by value; If you would like to pass it by reference, modify the declaration
of [runtime function name](). If you would like to enable call-time
pass-by-reference, you can set allow_call_time_pass_reference to true in
your INI file. However, future versions may not support this any longer. in
/usr/www/users/pr054ear/php/session.inc on line 304
Warning: Call-time pass-by-reference has been deprecated - argument passed
by value; If you would like to pass it by reference, modify the declaration
of [runtime function name](). If you would like to enable call-time
pass-by-reference, you can set allow_call_time_pass_reference to true in
your INI file. However, future versions may not support this any longer. in
/usr/www/users/pr054ear/php/session.inc on line 305
Warning: Call-time pass-by-reference has been deprecated - argument passed
by value; If you would like to pass it by reference, modify the declaration
of [runtime function name](). If you would like to enable call-time
pass-by-reference, you can set allow_call_time_pass_reference to true in
your INI file. However, future versions may not support this any longer. in
/usr/www/users/pr054ear/php/session.inc on line 311
Warning: Cannot add header information - headers already sent by (output
started at /usr/www/users/pr054ear/php/session.inc:262) in
/usr/www/users/pr054ear/php/session.inc on line 447
Warning: Cannot add header information - headers already sent by (output
started at /usr/www/users/pr054ear/php/session.inc:262) in
/usr/www/users/pr054ear/php/session.inc on line 448
Warning: Cannot add header information - headers already sent by (output
started at /usr/www/users/pr054ear/php/session.inc:262) in
/usr/www/users/pr054ear/php/session.inc on line 449
Warning: Cannot add header information - headers already sent by (output
started at /usr/www/users/pr054ear/php/session.inc:262) in
/usr/www/users/pr054ear/php/session.inc on line 450
Warning: Cannot add header information - headers already sent by (output
started at /usr/www/users/pr054ear/php/session.inc:262) in
/usr/www/users/pr054ear/php/session.inc on line 451
Das Script:
<?php
require("../../../../php/prepend.php3");
include("../../include/local.inc");
page_open(array("sess" => "Example_Session",
"auth" => "Example_Auth",
"perm" => "Example_Perm"));
?>
html
<?php
if(isset($perm) && $perm->have_perm("admin")){
?>
html
<?php
}
page_close();
?>
Du siehst, ganz normaler Code mit lib-functions.....
Hast Du eine Idee wo der Fehler liegen koennte ?
oder stelle ich mich nur so doesig an ?
Liebe Gruesse,
wolf
php::bar PHP Wiki - Listenarchive