Welcome Guest, Not a member yet? Register   Sign In
An Error Was Encountered. Unable to load the requested class: dx_auth - But local copy works fine!
#13

[eluser]djreed[/eluser]
I've come upon this post several times with the same error. My issue was totally different.

After migrating from my local MAMP server to my Lunarpages hosting account, I was receiving the "Unable to load error." After confirming that I had correctly changed my Database and Config files before uploading, I decided to check the PHP versions of both servers. Both were running PHP 5, however, my Lunarpages host was using a slightly more recent release of PHP 5. Still, I didn't know why this would cause Dx_Auth to fail.

Finally, I inspected my Autoload file and decided to throw up a prayer. I changed the array from dx_auth to Dx_Auth and it fixed my problem! Apparently the very latest version of PHP5 is case sensitive whereas my MAMP earlier versions are not. Hopefully this fact helps some other frustrated person!

Bottom line, if you are Autoloading Dx_Auth, be sure to be sensitive to upper and lower case!


Messages In This Thread
An Error Was Encountered. Unable to load the requested class: dx_auth - But local copy works fine! - by El Forum - 01-21-2010, 04:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB