It looks like you need to set PHP to allow call-time pass by reference, which is technically depreciated, but works fine. You can do that by adding the following line to the .htaccess file in your cake directory:
php_flag allow_call_time_pass_reference on Hope this helps. Casey On Dec 20, 5:43 am, pandako <[EMAIL PROTECTED]> wrote: > ok, since i use cake 1.1.8 i changed two lines in oth_auth component > file on line 333,334 so i dont get the mysql error anymore. > but whats with the headers and that variable notice?... > > On Dec 20, 11:22 am, pandako <[EMAIL PROTECTED]> wrote: > > > ok new thing didnt do anything, now it seems that oth_msg outputs > > right when blank it says so, when wrong usrnm or pswd also, but when i > > write the right username and password i get following errors: > > > Notice: Only variables should be assigned by reference in /localhost/ > > hola/app/controllers/components/oth_auth.php on line 308 > > > Warning: Cannot modify header information - headers already sent by > > (output started at /localhost/hola/app/controllers/components/ > > oth_auth.php:308) in /localhost/hola/app/controllers/components/ > > oth_auth.php on line 554 > > > Query: INSERT INTO `users` (`last_visit`,`created`,`modified`) VALUES > > ('2007-12-20 11:18:13','2007-12-20 11:18:13','2007-12-20 11:18:13') > > Warning: SQL Error: 1062: Duplicate entry '' for key 2 in /localhost/ > > hola/cake/libs/model/datasources/dbo_source.php on line 440 > > > Warning: Cannot modify header information - headers already sent by > > (output started at /localhost/hola/app/controllers/components/ > > oth_auth.php:308) in /localhost/hola/cake/libs/controller/ > > controller.php on line 447 > > > On Dec 19, 4:37 pm, daphonz <[EMAIL PROTECTED]> wrote: > > > > What is yourothAuthsetup? > > > > On Dec 19, 10:15 am, pandako <[EMAIL PROTECTED]> wrote: > > > > > ok, i made new clean install of cake without ani paginations and > > > > decorate.php... > > > > > now when i try to login it simply doesnt redirect me to any page but > > > > to login.thtml forever. i imputed: "auth_msg" and it says "Plaese > > > > login!" no matter what i type in form, even if i leave it blank.. > > > > > Any sugestions? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---