为会员运行 PHP 测试脚本时出现奇怪的错误
我正在尝试在我的 Windows 7 计算机上设置 aMember Pro 会员软件。我已经正确安装了 PHP,并且安装了 aMember Pro 试用版所需的 ionCube 加载程序。当我运行 aMember 提供的 Tester.php 脚本来检查 Web 服务器计算机是否满足 aMember 的所有要求时,我在浏览器中多次重复出现以下错误消息,然后是更清晰的 Failed (enable_dl在 php 中禁用) .ini) 错误消息。我对导致“Split()”错误不断重复的原因非常感兴趣。有什么解释吗?
Warning: split(): 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/Helsinki' for '2.0/no DST' instead in C:\Development\PressMart\aMember\Web\tester.php on line 28 Deprecated: Function split() is deprecated in C:\Development\PressMart\aMember\Web\tester.php on line 28 Warning: eregi(): 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
I'm trying to set up the aMember Pro membership software on my Windows 7 machine. I have properly installed PHP, and I have installed the ionCube loader, required for the trial version of aMember Pro. When I run the Tester.php script provided by aMember, to check if the web server machine has all the requirements for aMember, I get several repeats of the following error message in my browser, followed by a clearer, Failed (enable_dl disabled in php.ini) error message. I'm very intrigued by what causes all the repeats of the "Split()" error though. Any explanations?
Warning: split(): 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/Helsinki' for '2.0/no DST' instead in C:\Development\PressMart\aMember\Web\tester.php on line 28 Deprecated: Function split() is deprecated in C:\Development\PressMart\aMember\Web\tester.php on line 28 Warning: eregi(): 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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 php.ini 中取消注释或添加以下行:
所以对于赫尔辛基来说是:
确保在保存 php.ini 后重新启动服务器
In your php.ini uncomment or add the line stating:
So for Helsinki it would be:
Make sure you restart your server after saving the php.ini