Welcome Guest, Not a member yet? Register   Sign In
How do I retrieve a uri segment in a hook?
#13

[eluser]Jelmer[/eluser]
Are you showing all errors? (like I posted in post #4) Because if "Fatal errors" are shown but load_class('URI') gives you a white screen that means that load_class('URI') gives you a lesser error then load_class('uri'). But without knowing what error it's still giving, it's impossible to tell what's wrong.

EDIT: For example, if you have defined CURRENT_LANGUAGE already somewhere else and forgot to remove that - the second define( 'CURRENT_LANGUAGE', $lang) would throw a parse error which is not shown when error reporting is set to E_ERROR. So set your error reporting to E_ALL to find out what's going on, don't take a white screen for a worse error then a "fatal error" because it isn't. It's just not showing the lesser errors, even though it does crash on them.


Messages In This Thread
How do I retrieve a uri segment in a hook? - by El Forum - 08-09-2010, 12:43 PM
How do I retrieve a uri segment in a hook? - by El Forum - 08-09-2010, 01:11 PM
How do I retrieve a uri segment in a hook? - by El Forum - 08-09-2010, 01:26 PM
How do I retrieve a uri segment in a hook? - by El Forum - 08-09-2010, 01:29 PM
How do I retrieve a uri segment in a hook? - by El Forum - 08-09-2010, 01:31 PM
How do I retrieve a uri segment in a hook? - by El Forum - 08-09-2010, 01:40 PM
How do I retrieve a uri segment in a hook? - by El Forum - 08-09-2010, 01:43 PM
How do I retrieve a uri segment in a hook? - by El Forum - 08-09-2010, 01:54 PM
How do I retrieve a uri segment in a hook? - by El Forum - 08-09-2010, 02:03 PM
How do I retrieve a uri segment in a hook? - by El Forum - 08-09-2010, 02:07 PM
How do I retrieve a uri segment in a hook? - by El Forum - 08-09-2010, 02:28 PM
How do I retrieve a uri segment in a hook? - by El Forum - 08-09-2010, 03:20 PM
How do I retrieve a uri segment in a hook? - by El Forum - 08-09-2010, 03:53 PM
How do I retrieve a uri segment in a hook? - by El Forum - 08-09-2010, 06:49 PM
How do I retrieve a uri segment in a hook? - by El Forum - 08-10-2010, 03:47 AM
How do I retrieve a uri segment in a hook? - by El Forum - 08-10-2010, 03:57 AM
How do I retrieve a uri segment in a hook? - by El Forum - 08-10-2010, 04:12 AM
How do I retrieve a uri segment in a hook? - by El Forum - 08-10-2010, 04:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB