• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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?

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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.