4,547 Warnings & 10 Errors |
Hello CodeIgniters,
I'm new to CodeIgniter, so please forgive my ignorance. I downloaded CodeIgniter-3.1.5, unzipped it to a new directory and then opened it with Eclipse PDT (Oxygen). Without writing a single line of code I was presented with 4,547 warnings & 10 errors. Deleting the User Guide (It uses frames?) reduced it to just 10 errors & 9 warnings. (See the two screenshots below.) Questions:
Best Regards
I get a lot of warning using phpStorm, but most of them are from comments that
are returning the wrong type in the return. I would worry more about the errors then the warning, but look at the warnings you could probably fix a lot of them but they are in the core files. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(08-05-2017, 03:25 AM)LordLiverpool Wrote: Hello CodeIgniters, I'm using PDT oxygen and I've never seen any of that kind of error before. have you tried setting your project "PHP Version" into 5.6 or less ? or if you choose "User default PHP settings" in the project properties, have you tried changing your OS's php environment path into a php version that is 5.6 or less? also, Netbeans PHP Platoform. PDT is kind'a inferior to Netbeans PHP in regards to feature such as Composer support, Framework's Support, etc.
Thanks everyone
I've just seen that the images I originally attached are too small to be legible. So here's a close up:
(08-05-2017, 09:20 AM)InsiteFX Wrote: I get a lot of warning using phpStorm, but most of them are from comments that @InsiteFX Thanks for replying. I haven't written any code, so I don't understand my Eclipse found so many errors in CodeIgniter??? Cheers
@jarmen_kell
Thanks for replying. Within Eclipse PDT I've just changed my PHP to 5.6 (see image) But it made no difference. Running phpinfo reveals I'm on PHP 5.6.28 And like you said to do I've added PHP to my path in Windows, but I'm still getting the errors and warnings. |
Welcome Guest, Not a member yet? Register Sign In |