提示的意思是include_once 找不到指定的文件syssite/smtpmail/sm.php,
你上服务器找找看,有没有这个文件,目录对不对

解决方案 »

  1.   

    1:打开你的错误提示,error_reporting(E_ALL);
    2:运行下phpinfo();本地与服务器上的进行比较;
    3:针对你上述信息,很明显是文件包含问题,查看下路径,是否正确.比方用:
    file_exists//(PHP 3, PHP 4, PHP 5)//file_exists -- 检查文件或目录是否存在;
    4:/**
    Fatal error: Class 'smtp' not found in D:\trefgf.cn\shop\shop\neworder_act.php on line 371
    */
    这是一个邮件服务器的设置,先把邮件功能关闭,这样便于你调试其他功能,最后调试这邮件功能;
      

  2.   

    I think the notice has told you the problem ...
      

  3.   

    It may because you include file by using the absolute address and it is different on the server.
      

  4.   

    LZ的server端的smtp服务靠了么~~
      

  5.   

    服务器是windows的?
    你先去相应位置看看是否有此文件
      

  6.   

    sm.php 这文件有,路径也对
      

  7.   

    跟mail的smtp 服务应噶没问题 我在本地测试时 根本都没SMTP 而且03系统默认也不安
      

  8.   

    Warning: include_once(syssite/smtpmail/sm.php) [function.include-once]: failed to open stream: No such file or directory in D:\trefgf.cn\shop\shop\neworder_act.php on line 364Warning: include_once() [function.include]: Failed opening 'syssite/smtpmail/sm.php' for inclusion (include_path='.:/php/includes') in D:\trefgf.cn\shop\shop\neworder_act.php on line 364Fatal error: Class 'smtp' not found in D:\trefgf.cn\shop\shop\neworder_act.php on line 371---------------------------------------------------------------------------------
    提示如此清楚,为什么不按着这个提示去查呢?
      

  9.   

    路径路径
    你看看这个地址的文件在不在
    D:\trefgf.cn\shop\shop\syssite\smtpmail\sm.php如果在的话我也没话好说了
      

  10.   

    我现在似乎找到了一点头目了 我在查看 neworder_act.php 第 364行
    它是这样写的 
    $smtp = new smtp($smtpuser,$smtppass,$smtpserver,$smtpserverport,true);//这里面的一个true是表示使用身份验证,否则不使用身份验证.
    //$smtp->debug = true;//是否显示发送的调试信息
    $smtp->encode = $shopinfo->mail_enc; 
    $smtp->lang = $FRONTEND_LANG;这个 $smtp->lang = $FRONTEND_LANG; 是错误信息提示的第 364行
    各位也看看 错误在哪,我这也试试
      

  11.   

    Fatal error: Class 'smtp' not found in D:\trefgf.cn\shop\shop\neworder_act.php on line 371人家已经说的很清楚了啊,顺着这条路找,就应该能找到!