Welcome Guest, Not a member yet? Register   Sign In
Development mode ignored
#1

It seems I've fallen at the first hurdle, I'm trying to follow the initial tutorial here: https://www.codeigniter.com/user_guide/t...index.html
I've set the env file to development, but when I view the public folder, it says Environment: Production on the footer. I have flushed the cache, checked the file on the server and waited a day, but still no difference. It's as if the env file is just being ignored.
Reply
#2

Output command cat .env and ./spark env?
Simple CI 4 project for beginners codeigniter-expenses ( topic )
Reply
#3

did you set env to dot env ? i.e .env ?
CMS CI4 A CMS system, runs out of the box written on top of CI4
Arch Book  CodeIgniter4 on Apache(pages 92-114) 
Reply
#4

(This post was last modified: 12-16-2024, 04:54 AM by badgersnadgers.)

(12-15-2024, 08:45 AM)captain-sensible Wrote: did you set env to dot env ? i.e .env ?
No! thanks for that. For some reason, I just saw the . in front when it wasn't there. Working fine now.

It seems I'm not getting very far with this tutorial: https://www.codeigniter.com/user_guide/t...index.html

I now have it saying development mode, but there is no flame showing to toggle the debug bar on and off as described.

Ah okay, base url was not set, that's not obvious from the tutorial.
Reply
#5

ok your on your way at least ; i recommend having some sort of version control in place, so you can get back to where it was working . Git is OK if you keep it simple and stick to basics
CMS CI4 A CMS system, runs out of the box written on top of CI4
Arch Book  CodeIgniter4 on Apache(pages 92-114) 
Reply




Theme © iAndrew 2016 - Forum software by © MyBB