![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 137 Pomógł: 2 Dołączył: 2.07.2007 Skąd: Ostrzeszów Ostrzeżenie: (0%) ![]() ![]() |
Poznałem właśnie wzorzec rejestr i mam taki problem:
register.php
register_start.php
register2.php
Najpierw startuje od register_start.php, potem klikam na linka i mam taki błąd: Fatal error: main() [<a href='function.main'>function.main</a>]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "Register" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in C:\xampp\xampp\htdocs\php\register2.php on line 9 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 137 Pomógł: 2 Dołączył: 2.07.2007 Skąd: Ostrzeszów Ostrzeżenie: (0%) ![]() ![]() |
Zastanawiem się nad sensem Rejestru. Skoro odbieram z jednego pliku obiekty metodą get to jaką to daje przewagę w przypadku po prostu tworzenia nowych obiektów ?
Ten post edytował smiady 22.07.2014, 21:25:57 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 10.10.2025 - 15:19 |