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

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?
Reply
#2

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

(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.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB