XF 1.1 Getting XenForo_ControllerPublic_Thread does not define an action

arms

Well-known member
Help,

Near happy with my setup and was going through some test and getting an odd error.

No addons enabled :

Random thread with no numbers in URL gives:

"XenForo_ControllerPublic_Thread does not define an action"

Should give "The requested page could not be found."

upload_2013-7-10_21-0-48.webp
 
That error means exactly what it says. It's an invalid URL that doesn't define a thread_id or valid action. This detailed error message is only shown when debug mode is enabled. Otherwise it just says "The requested page could not be found."

Are you testing random URLs trying to break things? Or is this a legitimate link that you clicked somewhere on your forum?
 
You need thread numbers to tell the system you are looking for a thread. Without it, it interprets the link (eru) as an action and handles it properly. What Jake said is correct.
 
Ah thanks guys, yes its in debug and just trying different things to break it. I was worried when i tried it on other sites and didn't get the same return.

Case closed!!!
 
Top Bottom