Definitely possible to upgrade CakePHP - will try when I get my dev
version working.

Realised I had phpBB and phpMyChat installed, have uninstalled
phpMyChat to no avail but not phpBB as we want to keep it.

Tried a higher debug level but the page displayed is just the homepage
with no trace of the failed save in. It was previously level 1 but
thanks for the tip Bert!

Having trouble installing a local version - currently the images
appear fine but the Cake variables are all undeclared. I've just
grabbed the code on the server and put it in the Apache www folder
(installed using Wamp). I've duplicated the database setup and
directory structure so database.php and index.php are still valid
(index.php is all relative to __FILE__). I've checked .htaccess, added
mod-rewrite in httpd.conf, changed to port 8080 so it doesn't clash
with IIS. My directory structure is:
root->cake->cake and root->cake->app and root->public_html and I've
changed the Apache DocRoot to root->public_html and ensured
AllowOverride All

Sorry for the stupid questions
Chris

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