我也碰到过,可能是服务器的问题或PHP版本的问题。

解决方案 »

  1.   

    类没有实例化成功!
    希望能看到shop.php 125附近的代码,最好是该文件的全部
      

  2.   

    Sorry, our resident telepath is off in the desert somewhere on military duty.
    靠。我去phpbuilder 发这个帖子 他们值班的斑竹给我了这个恢复!母亲的!!!
      

  3.   

    If you do turn on session.auto_start then you cannot put objects into your sessions since the class definition has to be loaded before starting the session in order to recreate the objects in your session. 看到这句话我明白了! 问题也搞定了.下次也应该不会出现了!! 哎.现在的CSDN人气好差了。起码PHP不火啊!!!
      

  4.   

    靠!kao!
    问题搞定了,还不赶快揭贴!
    弟兄们都等着分呢!
      

  5.   

    对啊,是重复session_start()了。
      

  6.   

    引以为签!:)
    不过我很少启用session.auto_start
    一般都在文件中加session_start();