no

How to Fix Unable to Load the Requested Class Error in Codeigniter

This happens when you deploy your application in a linux server machine. Since it's caps sensitive: Paypal_Lib is different from Paypa...

This happens when you deploy your application in a linux server machine. Since it's caps sensitive:

Paypal_Lib is different from Paypal_lib.

If you will look at magento's libraries/Loader.php code:

Line: 759


$baseclass = BASEPATH.'libraries/'.ucfirst($class).EXT;


You will notice the ucfirst which converts Paypal_Lib to Paypal_lib.

Solution: Just rename Paypal_Lib.php to Paypal_lib.php

:-)

Related

web 5036934159068872882

Post a Comment Default Comments

1 comment

Unknown said...

Yep, this fixed my problem, I had some custom libraries and was working on a local Windows server, after deploying on a Linux server, I had this problem. Thanks!

item