Toby Allen
Toby Allen

Reputation: 11213

Moving Site has broken CodeIgniter Modules

I had to move my site to another host and now the codeigniter installation is failing. I've fixed a few problems, but some of 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?

Upvotes: 1

Views: 105

Answers (2)

Toby Allen
Toby Allen

Reputation: 11213

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.

Upvotes: 0

Alfonso Rubalcava
Alfonso Rubalcava

Reputation: 2247

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

Upvotes: 1

Related Questions