By they don't 'work', I mean the browser says "Not Found. The
requested URL /users/admin_index was not found on this server."

On Aug 14, 1:29 am, technicaltitch <[email protected]> wrote:
> Sorry forgot to say - that is the homepage, which route.php seems to
> be successfully redirecting to the articles_controller
> volunteer_animal_refuge method. I can't get the direct URLs to work,
> eg,http://localhost:8080/users/admin_indexorhttp://localhost:8080/public_html/users/admin_index
>
> On Aug 14, 1:24 am, technicaltitch <[email protected]> wrote:
>
>
>
> > These are the error messages on my local setup:
>
> > Deprecated: Assigning the return value of new by reference is
> > deprecated in C:\wamp\www\cake\cake\libs\object.php on line 94
>
> > Deprecated: Assigning the return value of new by reference is
> > deprecated in C:\wamp\www\cake\cake\libs\model\connection_manager.php
> > on line 84
>
> > Deprecated: Assigning the return value of new by reference is
> > deprecated in C:\wamp\www\cake\cake\libs\model\connection_manager.php
> > on line 107
>
> > Deprecated: Assigning the return value of new by reference is
> > deprecated in C:\wamp\www\cake\cake\libs\security.php on line 48
>
> > Deprecated: Assigning the return value of new by reference is
> > deprecated in C:\wamp\www\cake\cake\libs\inflector.php on line 65
>
> > Deprecated: Assigning the return value of new by reference is
> > deprecated in C:\wamp\www\cake\cake\libs\configure.php on line 89
>
> > Deprecated: Assigning the return value of new by reference is
> > deprecated in C:\wamp\www\cake\cake\dispatcher.php on line 157
>
> > Deprecated: Assigning the return value of new by reference is
> > deprecated in C:\wamp\www\cake\cake\dispatcher.php on line 221
>
> > Deprecated: Assigning the return value of new by reference is
> > deprecated in C:\wamp\www\cake\cake\libs\controller\controller.php on
> > line 308
>
> > Deprecated: Assigning the return value of new by reference is
> > deprecated in C:\wamp\www\cake\cake\libs\controller\controller.php on
> > line 347
>
> > Deprecated: Assigning the return value of new by reference is
> > deprecated in C:\wamp\www\cake\cake\libs\controller\controller.php on
> > line 535
>
> > Deprecated: Assigning the return value of new by reference is
> > deprecated in C:\wamp\www\cake\cake\libs\controller\controller.php on
> > line 805
>
> > Deprecated: Assigning the return value of new by reference is
> > deprecated in C:\wamp\www\cake\cake\libs\controller\component.php on
> > line 125
>
> > Deprecated: Assigning the return value of new by reference is
> > deprecated in C:\wamp\www\cake\cake\libs\view\view.php on line 687
>
> > Deprecated: Assigning the return value of new by reference is
> > deprecated in C:\wamp\www\cake\cake\libs\class_registry.php on line 55
>
> > Warning: call_user_func_array() expects parameter 2 to be array, null
> > given in C:\wamp\www\cake\cake\dispatcher.php on line 263
>
> > Notice: Undefined variable: banner_image in C:\wamp\www\cake\app\views
> > \layouts\public_site.thtml on line 42
>
> > Notice: Undefined variable: article in C:\wamp\www\cake\app\views
> > \articles\volunteer_animal_refuge.thtml on line 2
>
> > Notice: Undefined variable: html_blocks in C:\wamp\www\cake\app\views
> > \articles\volunteer_animal_refuge.thtml on line 2
>
> > Notice: Undefined variable: article in C:\wamp\www\cake\app\views
> > \elements\LangsAndMotto.thtml on line 13
>
> > Notice: Undefined variable: html_blocks in C:\wamp\www\cake\app\views
> > \elements\LangsAndMotto.thtml on line 16
>
> > Warning: Invalid argument supplied for foreach() in C:\wamp\www\cake
> > \app\views\elements\HtmlBlock.thtml on line 8
> > Html Block motto_esp not found.
>
> > Notice: Undefined variable: article in C:\wamp\www\cake\app\views
> > \articles\volunteer_animal_refuge.thtml on line 27
>
> > Notice: Undefined variable: main_menu in C:\wamp\www\cake\app\views
> > \articles\volunteer_animal_refuge.thtml on line 27
>
> > Warning: Invalid argument supplied for foreach() in C:\wamp\www\cake
> > \app\views\elements\Menu.thtml on line 8
>
> > Notice: Undefined variable: article in C:\wamp\www\cake\app\views
> > \articles\volunteer_animal_refuge.thtml on line 30
>
> > Notice: Undefined variable: sub_menu in C:\wamp\www\cake\app\views
> > \articles\volunteer_animal_refuge.thtml on line 30
>
> > Warning: Invalid argument supplied for foreach() in C:\wamp\www\cake
> > \app\views\elements\Menu.thtml on line 8
>
> > Notice: Undefined variable: article in C:\wamp\www\cake\app\views
> > \articles\volunteer_animal_refuge.thtml on line 33
>
> > Notice: Undefined variable: html_blocks in C:\wamp\www\cake\app\views
> > \articles\volunteer_animal_refuge.thtml on line 36
>
> > Warning: Invalid argument supplied for foreach() in C:\wamp\www\cake
> > \app\views\elements\HtmlBlock.thtml on line 8
> > Html Block main_menu_blurb_esp not found.
> > [admin click here]
>
> > Notice: Undefined variable: article in C:\wamp\www\cake\app\views
> > \articles\volunteer_animal_refuge.thtml on line 59
>
> > Notice: Undefined variable: article in C:\wamp\www\cake\app\views
> > \articles\volunteer_animal_refuge.thtml on line 74
>
> > Notice: Undefined variable: article in C:\wamp\www\cake\app\views
> > \articles\volunteer_animal_refuge.thtml on line 77
>
> > Notice: Undefined variable: news_menu in C:\wamp\www\cake\app\views
> > \articles\volunteer_animal_refuge.thtml on line 77
>
> > Notice: Undefined variable: article in C:\wamp\www\cake\app\views
> > \elements\NewsMenu.thtml on line 11
> > Noticias:
>
> > Warning: Invalid argument supplied for foreach() in C:\wamp\www\cake
> > \app\views\elements\NewsMenu.thtml on line 24
>
> > Notice: Undefined variable: article in C:\wamp\www\cake\app\views
> > \articles\volunteer_animal_refuge.thtml on line 82
>
> > Notice: Undefined variable: html_blocks in C:\wamp\www\cake\app\views
> > \articles\volunteer_animal_refuge.thtml on line 85
>
> > Warning: Invalid argument supplied for foreach() in C:\wamp\www\cake
> > \app\views\elements\HtmlBlock.thtml on line 8
> > Html Block news_menu_blurb_esp not found.
>
> > Notice: Undefined variable: article in C:\wamp\www\cake\app\views
> > \articles\volunteer_animal_refuge.thtml on line 100
>
> > Notice: Undefined variable: article in C:\wamp\www\cake\app\views
> > \articles\volunteer_animal_refuge.thtml on line 118
>
> > Notice: Undefined variable: body_override in C:\wamp\www\cake\app\views
> > \articles\volunteer_animal_refuge.thtml on line 119
> > top
>
> > On Aug 13, 10:54 am, Bert Van den Brande <[email protected]> wrote:
>
> > > Are you working in CakePHP debug mode ? I would advise setting the
> > > debug level to 2 , this would output performed sql queries which can
> > > be usefull in this case to find the cause of the error.
>
> > > Also, come to think of it ... I think Cake gives 404 errors when in
> > > production mode (debug level 0), thus hiding the real error message.
>
> > > Good luck !
>
> > > On Wed, Aug 12, 2009 at 12:45 PM,
>
> > > technicaltitch<[email protected]> wrote:
>
> > > > Thanks hugely delocalizer and bert and anyone else who reads this. I
> > > > am trying to get the site working on Apache locally (I did have it but
> > > > the hard disk crashed a couple months ago and I'm struggling hence the
> > > > delay).
>
> > > > I hadn't come across debugging PHP before - sounds very useful. What
> > > > is the generally recommended setup for debugging PHP? I've found a
> > > > couple Eclipse plugins - EclipsePDT based on xdebug and PHPeclipse
> > > > which seems more basic.
>
> > > > The string length does not seem relevant - the two strings currently
> > > > isolated are:
>
> > > >http://geocities.com/     [ed: this is not a link - this is the text
> > > > I enter into the text field that creates the error]
>
> > > > and the two Spanish sentences in my original post starting "Los
> > > > animales silvestres..." - either of the sentences on its own does not
> > > > crash, just the pair together.
>
> > > > I don't specify the string length in the CakePHP, and it happens to
> > > > both varchar(255) and blob database fields (mysql 5).
>
> > > > By 404 I mean that when I press submit, it redirects to the homepage,
> > > > which is exactly what it does if I type in a non-existent URL. I'm not
> > > > sure what is doing this but if I can figure it out I'll create a 404
> > > > page to confirm.
>
> > > > Thanks hugely
> > > > Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to