Im occasionally getting this error, sometimes it pops up sometimes it doesnt: ERROR - Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0
There was no php.ini file so i created one and turn register globals off, but that didn't work. I added "php_flag register_globals 0" to the htaccess file, but that didn't work either…
Im using the laravel framework.
Here is the link to the website, if you scroll through about 5 or so pages the error will occur
I have no more ideas. Any help would be greatly appreciated! Thanks.
From the PHP documentation:
This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
So you either need to downgrade your PHP version to <=5.2 - or you need to remove any code that is using register globals.
There was no php.ini file so i created one and turn register globals off
There is always a php.ini file. I'm guessing your are on a hosted solution somewhere, so you cannot see the ini file. You need to talk to your server administrator and get them to change it.