PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, February 15, 2022

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

 February 15, 2022     frameworks, kohana, linux, mamp, php     No comments   

Issue

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


Solution

Try to uncomment this line in bootstrap:

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


Answered By - Mariyo
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing