是不是服务器得session目录设置问题?

解决方案 »

  1.   

    呵呵,设error_reporting 设为all再试
      

  2.   

    我把;error_reporting  =  E_ALL & ~E_NOTICE & ~E_STRICT 改成error_reporting  =  E_ALL 还是没报错。
    我觉得是session问题,一楼能说的详细点吗?
      

  3.   

    你是架设在什么服务器上得呢?
    如果是2000你应该修改php.ini里面得Session的路径.默认得好像是/tmp吧,这个是linux得路径,windows应该写成绝对路径,例如c:/temp
      

  4.   

    问题找到了,是winnt下一个php.ini、usr\local\php下也有一个php.ini,我把usr\local\php下的php.ini注释掉就好暸,可是进入管理又要反复输入密码,郁闷...
      

  5.   

    如果你的空间不支持frame框架就会这样.
      

  6.   

    这个的确是session问题,一般在Windows系统的服务器中常见。可以这样解决:
    1、在discuz论坛当前路径中新建一个tmp文件夹;
    2、修改discuz论坛当前路径中的文件admincp.php,查找:
      session_start();
    一行,在前面加上一行:
             session_save_path("tmp");就可以解决进入管理又要反复输入密码的问题!
      

  7.   

    我也是遇到了这个问题,我在DISCUZ论坛上看到了‘官方解释’,是这样:
    如果是服务器禁止使用框架所致,你可以用
    http://地址/admincp.php?action=menu来访问,并新开窗口实施管理操作,不过这样感觉很烦
    後台管理,編輯完資訊後.....按"提交",卻又叫我輸入密碼....然後我就輸入.......但是又回到原設定值了
       A.1.一般地,如果是自己的服务器,在硬盘根目录下建立tmp目录。(租用的就去找管理员。。)
          2.如果方法1不生效,就在每个分区跟目录都建立tmp
          3.还不见效,可以到php.ini(通常在winnt目录里)找到下面一段,按照里面的说明修改就好了。
        附:
      CODE: [Copy to clipboard]   
    ; Argument passed to save_handler.  In the case of files, this is the path
    ; where data files are stored. Note: Windows users have to change this 
    ; variable in order to use PHP's session functions.
    ; As of PHP 4.0.1, you can define the path as:
    ;     session.save_path = "N;/path"
    ; where N is an integer.  Instead of storing all the session files in 
    ; /path, what this will do is use subdirectories N-levels deep, and 
    ; store the session data in those directories.  This is useful if you 
    ; or your OS have problems with lots of files in one directory, and is 
    ; a more efficient layout for servers that handle lots of sessions.
    ; NOTE 1: PHP will not create this directory structure automatically.
    ;         You can use the script in the ext/session dir for that purpose.
    ; NOTE 2: See the section on garbage collection below if you choose to
    ;         use subdirectories for session storage
    session.save_path = /tmp   //需要改这行,按照上面的E文说明修改即可 
     
    我改了,使用很正常