![]() |
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=74264) |
VIEWPATH constant undefined - rad2 - 09-03-2019 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? RE: VIEWPATH constant undefined - dave friend - 09-03-2019 The constant is defined in index.php Did you update to the new version of that file? RE: VIEWPATH constant undefined - rad2 - 09-03-2019 Yes. that was stupid of me. I made that mistake with the applications folder but forgot to copy index.php as well. thanks. |