VQmod not working for open cart admin

谁都会走 提交于 2020-01-14 18:51:52

问题


I am having the most frustrating issue with VQmod. I moved my OpenCart store from a Godaddy VPS to Rackspace's Cloud Sites. The move went fine and everything works properly except the VQmod's on the admin panel. None of them load. No errors in the log files, no admin cache files in the cache dir, no php errors.

Things I have tried:

  • Cleared all cache Changed admin folder to 755
  • reinstalled VQmod tried both manually and using the installer with fresh index.php files
  • Removed all XML files and tried to load only one at a time
  • Cursed loudly at my computer repeatedly.

Please Help! OC version 1.5.6 VQmod 2.5.1


回答1:


For those that want the solution to this, the issue was that the config.php files were both using relative paths instead of the full paths for OpenCart's various directories. They should always be full paths, or resolved with realpath() in the config.php files themselves




回答2:


My case was a bit different. I checked the permissions, paths, all the regular stuff that comes to mind first. I even walked step by step through the manual installation guide.

The Opencart copy in question is shared across several environments using git. Long story short, the mods.cache and checked.cache were not added to .gitignore right away, and when I finally did that, I emptied both of them just to make sure Opencart will write new content based on my current environment. Turns out, since mods.cache was empty, Opencart believed there are no mods available.

Solution: delete both vqmod/mods.cache and vqmod/checked.cache.

Update: here are some similar issues:

  • https://github.com/vqmod/vqmod/issues/32
  • https://github.com/vqmod/vqmod/issues/3

The vqmod/vqmod/wiki/Troubleshooting guide, as of now, does not make it obvious the files should've been deleted, neither does the vqmod/vqmod/wiki/Installing-vQmod-on-OpenCart, and there doesn't seem to be any way to contirbute. vQmod fails silently, without producing any notifications, warnings, or simply detecting the issue and rebuilding the cache files. I've spent few hours trying to figure out what's wrong.



来源:https://stackoverflow.com/questions/28159373/vqmod-not-working-for-open-cart-admin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!