CodeIgniter Forums
how ci let support in php version 5.2? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: how ci let support in php version 5.2? (/showthread.php?tid=1319)



how ci let support in php version 5.2? - komang suryadana - 02-27-2015

help me pleas!!!
i am hosting in 000webhost nothing access?


RE: how ci let support in php version 5.2? - ciadmin - 02-27-2015

Your question does not compute.
If looking for PHP 5.2 support, upgrade to CI3 RC2.
If looking for 000webhost support, state the problem you are having.


RE: how ci let support in php version 5.2? - iamthatguy - 02-27-2015

Your question is incomplete. Submit a complete question first. There may be many reasons behind why you are not getting access. Specify the exact problem to get the accurate solution


RE: how ci let support in php version 5.2? - komang suryadana - 02-28-2015

Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /home/a7870184/public_html/system/core/Log.php on line 183


RE: how ci let support in php version 5.2? - Rufnex - 02-28-2015

Include on the top of the root index.php the following line and try it again.

PHP Code:
if (function_exists('date_default_timezone_set')) { date_default_timezone_set('America/New_York'); } 



RE: how ci let support in php version 5.2? - komang suryadana - 03-01-2015

syntax was added at the end of the line ?

(02-28-2015, 04:08 AM)Rufnex Wrote: Include on the top of the root index.php the following line and try it again.


PHP Code:
if (function_exists('date_default_timezone_set')) { date_default_timezone_set('America/New_York'); } 



RE: how ci let support in php version 5.2? - CroNiX - 03-01-2015

(03-01-2015, 02:25 AM)komang suryadana Wrote: syntax was added at the end of the line ?

The very first line, just below the <?php open tag