Welcome Guest, Not a member yet? Register   Sign In
VIEWPATH constant undefined

I upgraded from CodeIgniter 2.x to the most recent 3.x version. I got a VIEWPATH constant undefined error in my exceptions.php file. I had to define the variable myself to get my code working again. Is there something I missed during the upgrade process?

The constant is defined in index.php
Did you update to the new version of that file?

(This post was last modified: 09-03-2019, 08:08 PM by rad2.)

Yes. that was stupid of me. I made that mistake with the applications folder but forgot to copy index.php as well. thanks.

Theme © iAndrew 2016 - Forum software by © MyBB