Wow wow wow.  This question has quickly become about 8 separate
questions, none of which still seem to directly pertain to the
original.  ;)  Your NOTICE, WARNING, and DEPRECATED error messages are
PHP-related, due to the settings in php.ini.  I thought CakePHP
usually overrides that setting, but if the local server isn't yet 100%
working properly, perhaps Cake itself isn't running properly.

- Which version of PHP are you running on your local server (hopefully
not 5.3 quite yet, but a 5.2.x version)?
- Which version of CakePHP did you just upgrade to?  CakePHP 1.3 is
for PHP 5.3, but still has a few lingering issues. 1.2.4 is the most
recent stable version that I would recommend while trying to fix
unknown issues.
- What is your php.ini's error_reporting set to?  You'll probably want
it set to E_ALL & ~E_NOTICE
- Did you try creating a simple baked model, controller, and view in
your other site and test saving the URL and text data, or did you skip
to upgrading as you felt it'd be better anyway?

On Aug 13, 8:38 pm, technicaltitch <technicalti...@gmail.com> wrote:
> Sorry again - ignore the last two posts - they were because I'd added
> AddModule mod_rewrite.c to Apache 2
>
> On Aug 14, 1:32 am, technicaltitch <technicalti...@gmail.com> wrote:
>
>
>
> > 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 <technicalti...@gmail.com> 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...
>
> > > On Aug 14, 1:24 am, technicaltitch <technicalti...@gmail.com> 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 <cyr...@gmail.com> 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<technicalti...@gmail.com> 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- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to