Conflicting routes found

wesley | 3 years ago

I just installed recess, but am stuck now with the error "Conflicing routes found: GET recess/home"

"Location: Line 0 of "

And then it just dies.. So I can't see the rest of the output.

This happend only after a refresh of the page (first time it displayed ok) so I assume something is cached incorrectly?

Here's a screenshot as well: http://i43.tinypic.com/2hd66i8.png



wesley | 3 years ago

Never mind, switched to XAMPP (from MAMP) and everything works. So the problem is MAMP.

reply

TheIdeaMan | 3 years ago

I ran into the same problem with Recess! on MAMP. Any guesses at what the specific problem is? The error message doesn't really help locate the problem.

Is MAMP missing a module that XAMPP has? Is Recess! not compatible with 5.2.6?

Thanks in advance.

reply

KrisJordan | 3 years ago

The most likely reason for seeing conflicting routes is that the 'WelcomeApplication' is still installed and you've created another application that has a blank routePrefix. Try removing the 'welcome.WelcomeApplication' line from your recess-conf file and running again.

reply

TheIdeaMan | 3 years ago

I'm using a "vanilla" installation of Recess! No changes other than setting up the MySQL db.

The welcome page came up the first time, but has been dead ever after.

I tried changing the applications variable in the conf to just the welcome app, but then I get a Resource Not Found error. I tried just loading tools, but got nothing.

Thanks again.

reply

KrisJordan | 3 years ago

Any chance you're using eAccelerator or an opcode cache? Some caches will strip a script of its doccomments after the first run. In development mode this matters because routes are not stored in cache.

There are settings for most providers to turn off the stripping of doccomments:

https://eaccelerator.net/changeset/269/eaccelerator/trunk/config.m4

reply

thebeline | 3 years ago

I am running Recess! on MAMP 1.7.2, PHP 5.2.6 with no problems...

What _does_ the error message say?

reply



Welcome KrisJordan!

Web: http://www.krisjordan.com/

Location: North Carolina

Edit Profile