Magento module works well on localhost but not on live server

前端 未结 4 1385
日久生厌
日久生厌 2021-01-22 21:32

I have a weird case here....

I\'m making a simple magento module right now. Some kind of script injection module (similar to google analytics module). I\'ve built the ad

相关标签:
4条回答
  • 2021-01-22 22:11

    Usually there are three things:

    • typos in xml files (validate them with validator)
    • cache is not cleared after installation (clear cache)
    • ACL rules are not reinitiated (re-save admin roles)
    0 讨论(0)
  • 2021-01-22 22:16

    Thumb rules while deploying magento custom module on the live server-

    1. Deploy your custom module
    2. Flush your all magento cache or at-least refresh them [System->Cache Management]
    3. If you have enabled compilation re-run the compilation or disable compilation until the testing is done. [System-Tools->Compilation]
    0 讨论(0)
  • 2021-01-22 22:21

    If you adjust the layout/add your own layout in the backoffice of magento, it's best to clear the cache (remove everything in the var/cache/ folder) and to logout and re-login.

    0 讨论(0)
  • 2021-01-22 22:25

    The most common problems are associated with case sensitivity. If you have Windows hosting, then the error in the uppercase/lowercase characters is not visible and it works. But as soon as it gets to linux hosting, the module will not work.

    Check the paths in the settings and folders/files - so that they match.

    0 讨论(0)
提交回复
热议问题