![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
![]() Grupa: Zarejestrowani Postów: 165 Pomógł: 0 Dołączył: 14.11.2005 Skąd: London Ostrzeżenie: (0%) ![]() ![]() |
Witam
Proboje sie dowiedziec o co chodzi z tym php warnings - zainstalowalem na serverze wiki i teraz na dole jej strony wyswietla mi jakies php waning chcial bym prosic o pomoc w wyjasnieniu problemu dziekuje php Warnings lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference lib/WikiUser.php:59: Notice[8]: Only variables should be assigned by reference lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference lib/pear/DB/common.php:741: Notice[8]: Only variable references should be returned by reference lib/Template.php:112: Notice[8]: Only variables should be assigned by reference lib/Template.php:114: Notice[8]: Only variables should be assigned by reference lib/Template.php (In template 'html'):112: Notice[8]: Only variables should be assigned by reference lib/Template.php (In template 'html'):114: Notice[8]: Only variables should be assigned by reference lib/Template.php (In template 'html'):112: Notice[8]: Only variables should be assigned by reference lib/Template.php (In template 'html'):114: Notice[8]: Only variables should be assigned by reference lib/Template.php (In template 'body') (In template 'html'):112: Notice[8]: Only variables should be assigned by reference lib/Template.php (In template 'body') (In template 'html'):114: Notice[8]: Only variables should be assigned by reference lib/Template.php (In template 'top') (In template 'body') (In template 'html'):112: Notice[8]: Only variables should be assigned by reference lib/Template.php (In template 'top') (In template 'body') (In template 'html'):114: Notice[8]: Only variables should be assigned by reference lib/pear/DB/common.php (In template 'navbar') (In template 'top') (In template 'body') (In template 'html'):741: Notice[8]: Only variable references should be returned by reference lib/Template.php (In template 'body') (In template 'html'):112: Notice[8]: Only variables should be assigned by reference lib/Template.php (In template 'body') (In template 'html'):114: Notice[8]: Only variables should be assigned by reference lib/CachedMarkup.php (In template 'browse') (In template 'body') (In template 'html'):427: Notice[8]: Only variables should be assigned by reference lib/Template.php (In template 'browse') (In template 'body') (In template 'html'):112: Notice[8]: Only variables should be assigned by reference lib/Template.php (In template 'browse') (In template 'body') (In template 'html'):114: Notice[8]: Only variables should be assigned by reference lib/Template.php (In template 'browse') (In template 'body') (In template 'html'):112: Notice[8]: Only variables should be assigned by reference lib/Template.php (In template 'browse') (In template 'body') (In template 'html'):114: Notice[8]: Only variables should be assigned by reference lib/Template.php (In template 'browse-footer') (In template 'browse') (In template 'body') (In template 'html'):112: Notice[8]: Only variables should be assigned by reference lib/Template.php (In template 'browse-footer') (In template 'browse') (In template 'body') (In template 'html'):114: Notice[8]: Only variables should be assigned by reference lib/Template.php (In template 'actionbar') (In template 'browse-footer') (In template 'browse') (In template 'body') (In template 'html'):112: Notice[8]: Only variables should be assigned by reference lib/Template.php (In template 'actionbar') (In template 'browse-footer') (In template 'browse') (In template 'body') (In template 'html'):114: Notice[8]: Only variables should be assigned by reference lib/Template.php (In template 'body') (In template 'html'):112: Notice[8]: Only variables should be assigned by reference lib/Template.php (In template 'body') (In template 'html'):114: Notice[8]: Only variables should be assigned by reference -------------------- Linux is like Wigwam - no Windows, no Gates and apache inside :D
|
|
|
![]()
Post
#2
|
|
![]() Grupa: Przyjaciele php.pl Postów: 5 724 Pomógł: 259 Dołączył: 13.04.2004 Skąd: N/A Ostrzeżenie: (0%) ![]() ![]() |
Instalowales to na php5?
Blad jest w wiki, typu:
-------------------- Nie lubię jednorożców.
|
|
|
![]()
Post
#3
|
|
![]() Grupa: Zarejestrowani Postów: 165 Pomógł: 0 Dołączył: 14.11.2005 Skąd: London Ostrzeżenie: (0%) ![]() ![]() |
Instalowales to na php5? Blad jest w wiki, typu:
ok odpalilem to na wersji 5.1.3 i teraz znowu nie wyswietla mi wogole strony i dostaje odrazu taki blad lib/main.php:20: Fatal[2048]: Assigning the return value of new by reference is deprecated
-------------------- Linux is like Wigwam - no Windows, no Gates and apache inside :D
|
|
|
![]()
Post
#4
|
|
![]() Grupa: Przyjaciele php.pl Postów: 5 724 Pomógł: 259 Dołączył: 13.04.2004 Skąd: N/A Ostrzeżenie: (0%) ![]() ![]() |
1. nie uzywaj 5.1.3 (ma blad w $_POST) w tylko najnowszej 5.1.4
2.
3. Po prostu to jest juz bledem w php 5.1 (4.4 chyba tez) Ustaw zend.ze1_compatibility_mode na true (http://pl2.php.net/manual/en/ini.core.php#ini.zend.ze1-compatibility-mode ) i powinno juz dzialac, choc php bedzie sie zachowywal jak php4.3, stracisz wszystkie nowosci w OOP z piatki. -------------------- Nie lubię jednorożców.
|
|
|
![]()
Post
#5
|
|
![]() Grupa: Zarejestrowani Postów: 165 Pomógł: 0 Dołączył: 14.11.2005 Skąd: London Ostrzeżenie: (0%) ![]() ![]() |
1. nie uzywaj 5.1.3 (ma blad w $_POST) w tylko najnowszej 5.1.4 2.
3. Po prostu to jest juz bledem w php 5.1 (4.4 chyba tez) Ustaw zend.ze1_compatibility_mode na true (http://pl2.php.net/manual/en/ini.core.php#ini.zend.ze1-compatibility-mode ) i powinno juz dzialac, choc php bedzie sie zachowywal jak php4.3, stracisz wszystkie nowosci w OOP z piatki. dzieki ![]() ![]() mozesz mi tylko podpowiedziec jak i gdzie mam to zend zmienic - nie mam bezposredniego dostepu do php ![]() ![]() Ten post edytował andy84 21.06.2006, 20:45:01 -------------------- Linux is like Wigwam - no Windows, no Gates and apache inside :D
|
|
|
![]()
Post
#6
|
|
![]() Grupa: Przyjaciele php.pl Postów: 5 724 Pomógł: 259 Dołączył: 13.04.2004 Skąd: N/A Ostrzeżenie: (0%) ![]() ![]() |
Nawet ini_set() sie da (w htaccess tez)
http://pl2.php.net/manual/en/ini.php#ini.list -------------------- Nie lubię jednorożców.
|
|
|
![]()
Post
#7
|
|
![]() Grupa: Zarejestrowani Postów: 165 Pomógł: 0 Dołączył: 14.11.2005 Skąd: London Ostrzeżenie: (0%) ![]() ![]() |
Nawet ini_set() sie da (w htaccess tez) http://pl2.php.net/manual/en/ini.php#ini.list no w sumie ![]() probowalem na kilka sposobow tak w yglada moj httaccess ini_set(zend.ze1_compatibility_mode,1) AddHandler php5-fastcgi php Action php5-fastcgi /fcgi-bin5/php5 AddHandler application/x-httpd-php5 php probowalem juz zend_mode w cudzyslowie 1 w cudzisylowie razem osobno i na zmiane ;/ i ciagle nie dziala moge prosic o wielka pomoc ![]() AddHandler php5-fastcgi php Action php5-fastcgi /fcgi-bin5/php5 AddHandler application/x-httpd-php5 php - to mi laduje php 5 a nie 4 jak jest ustawione na serverze domyslnie -------------------- Linux is like Wigwam - no Windows, no Gates and apache inside :D
|
|
|
![]()
Post
#8
|
|
![]() Grupa: Przyjaciele php.pl Postów: 5 724 Pomógł: 259 Dołączył: 13.04.2004 Skąd: N/A Ostrzeżenie: (0%) ![]() ![]() |
ini_set() to funkcja php, i "zend_..." w apostrofach/cudzyslowach.
-------------------- Nie lubię jednorożców.
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 22.08.2025 - 10:59 |