开发者

Moving Site has broken CodeIgniter Modules

开发者 https://www.devze.com 2023-04-10 07:45 出处:网络
I had to move my site to another host and now the codeigniter installation is failing.I\'ve fixed a few problems, but some o开发者_开发技巧f my modules break when I try to save changes.The end up goin

I had to move my site to another host and now the codeigniter installation is failing. I've fixed a few problems, but some o开发者_开发技巧f my modules break when I try to save changes. The end up going to the following url

admin/index.php/admin/index.php

is that right?


Your paths are relative. Put before an / or write using base_url()


It turned out that the person who had origionally implemented the system had used a differnt bit of code to get the base script for each module, so I had to go through and change each module.

For the admin module it turned out it was to do with changes in how the two differnt versions of php dealt with paths.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号