Most visitors online was 8830 , on 6 Feb 2024
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!Zer0nix the error is on line 10, but I still don't understand where I should add or modify it.
*date_default_timezone_set('america/los_angeles')*
jorklenis2 the panel does not have a file called php.ini
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = [U][I]*the supported timezones*[/I][/U] // search for them...
date_default_timezone_set('[U][I]*zone here*[/I][/U]');
Okey, I get it, now this happens:php.ini file is not a file that comes with the website files you have (or the panel files). it's PHP's configuration file, and it is found somewhere in the apache folder (xampp or what ever you're using). You can either open it and search for the block and edit it: (if the block isn't found just add it)
Code:[Date] ; Defines the default timezone used by the date functions ; http://php.net/date.timezone date.timezone = [U][I]*the supported timezones*[/I][/U] // search for them...
Or, you can just use the function at the beginning of the file sql_check.php:
Code:date_default_timezone_set('[U][I]*zone here*[/I][/U]');
Okey, I get it, now this happens:
1.- it should not be American/Oregon ?,date_default_timezone_set('america/los_angeles') ,You must be registered to see linksYou must be registered to see links
2.- when leaving america / angeles I get this errorYou must be registered to see links
It should be your location, here is the list of supported time zones from php's website:
You must be registered to see links
The other error isn't related to time zone as much as I can tell. It literally tells you that the "alert()" function is undefined, so you either put the JavaScript function "alert()" inside the php code, or you forgot to declare another one.
By the way, all your problems can be solved quickly if you use google search for a second. I'm not saying don't ask, but try to search before you do
Good Luck