Welcome Guest, Not a member yet? Register   Sign In
preg_match/replace() issue
#1

[eluser]Unknown[/eluser]
So, I'm wondering if I'm missing a module in PHP or something, because it seems I'm getting some failure in a couple places, both of which are related to a preg_match or preg_replace:

I'm getting the "Disallowed Key Characters" when trying to view pages (I've circumvented it for now), but this is a preg_match() failure in libraries/Input.php > _clean_input_keys().

My default controller is being called for everything that is requested. Apache logs look good, I know the rewrite is working properly. It appears that a preg_replace() in libraries/URI.php > _explode_segments() is not behaving and because of it, isn't breaking down the URI to get the correct controller.

12 hours ago, I set out to move this site from my machine in the basement, to it's home in the interweb. The server it's on was giving me problems all day and I've had to recompile PHP a lot today, so I'm wondering if there's something missing.

PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 6.6 06-Feb-2006

Put me out of my misery, please.




Theme © iAndrew 2016 - Forum software by © MyBB