• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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
Yes. that was stupid of me. I made that mistake with the applications folder but forgot to copy index.php as well. thanks.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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