简体   繁体   English

spl_autoload_register

[英]spl_autoload_register

This must be simple question for someone who knows about spl_autoload routines. 对于知道spl_autoload例程的人来说,这必须是一个简单的问题。 I am using spl_auto_register functions and it works fine for anyone who is in my office network but as soon as somebody outside of the office tries to access it triggers fatal error. 我正在使用spl_auto_register函数,它对于办公室网络中的任何人都可以正常工作,但是一旦办公室以外的人尝试访问它,就会触发致命错误。 The error says... 错误说...

 Fatal error: Call to undefined function spl_autoload_register() in /home/xxxxxxx/sitename/html/healthcare/qdpm/core/lib/symfony/autoload/sfCoreAutoload.class.php on line 69 

My initial thought is it has something to do with cookies. 我最初的想法是它与Cookie有关。 Can anyone help me in fixing this. 谁能帮我解决这个问题。
Thanks in advance 提前致谢

It's telling you that the function spl_autoload_register() is not defined. 告诉您spl_autoload_register()函数spl_autoload_register() It doesn't exist. 它不存在。 It means that SPL isn't compiled in the server, this support is not loaded, it has nothing to do with cookies. 这意味着SPL不在服务器中编译,该支持未加载,与Cookie无关。

What is the PHP version you're using? 您正在使用什么PHP版本? Is it more recent than 5.1.2? 它比5.1.2更新吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM