kohana framework doesn't load module on linux server while load it perfectly on mamp

221 Views Asked by At

well, question is in subject, here i can give you some details. Error is Class QIWI is not found. In bootstrap it is uncommented, when i use

    Debug(Kohana::modules()) 

it shown like module is loaded. folder three is

    --modules
    --|-qiwi
    ----|--classes
    -------|--Kohana
    ----------|--Qiwi.php (class Kohana_Qiwi)
    -------|Qiwi.php (class Qiwi extends Kohana_Qiwi)

i think that is a filename issue, but it seems like files r named correctly

1

There are 1 best solutions below

0
On BEST ANSWER

Try to uncomment this line in bootstrap:

spl_autoload_register(array('Kohana', 'auto_load_lowercase'));