CodeIgniter Forums
VIEWPATH constant undefined - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: VIEWPATH constant undefined (/showthread.php?tid=76785)



VIEWPATH constant undefined - Fpxex - 06-19-2020

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? 192.168.l0.1 192.168.l.l 10.0 0.0 1


RE: VIEWPATH constant undefined - DarkKnight - 06-19-2020

(06-19-2020, 05:31 PM)Fpxex Wrote: 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?

Did you replace index.php ?


RE: VIEWPATH constant undefined - Fpxex - 06-21-2020

Yes i changed