Hello, I installed the script, everything works fine but I get an error at the top of all my pages: Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting 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 'Europe/Berlin' for 'CET/1.0/no DST' instead in /var/www/vhosts/xxxxxxx/httpdocs/member/setup/index.php on line 695 What should I do to run the script correctly? thank you very much
Of course we can help. Please submit a ticket with access info. From what I can see there are no reasons for such errors.
Hi Alex, I sent two replies to my request for your support (yesterday), I did not answer them ... Reference: RCB-52331-896
I too have encountered this Warning which shows up in the top of the Amember pages in a long text block: I have gone to the mentioned index.php script but nothing there seems to clearly relate to time zone. And I could find no Amember setup GUI which specifies timezone. And I do not know what the warning message : "date.timezone setting or the date_default_timezone_set() function" commands are referring to. Is that in Amember? Or some PHP setting? Or something else on my server host? FYI, I have just a little while ago posted to the official Support Channel, but it is not yet Friday work day there yet. so waiting ...
It is the php.ini setting date.timezone If you are on managed hosting, raise a ticket to their support and ask for it to be set. Otherwise; date.timezone -- I use UTC but a valid value from the list WHM/Cpanel >> PHP Configuration Editor >> Advance Mode >> date.timezone Non-Panel find where php.ini is, search for date.timezone and edit/add
Thanks Jenolan, I posted a request to my hosting service. After a bit of web research it seemed that it was a PHP setting, but my host service has no interface for me to it. (They use Parallels H-Sphere instead of CPanel... an open-source philosophy thing). So I am now waiting on their reply.