QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 845|回复: 3

我实在搞不定php+mysql的思诺影视管理系统了

[复制链接]
发表于 2004-1-8 20:30:32 | 显示全部楼层 |阅读模式

5.0和6.0的都搞不定。我在win2k下,准备会用后到linux下用。但现在运行6.0,
提示:

Warning: session_start(): open(/tmp\sess_025eb292bcf6e9863d39b70e9aa23f82, O_RDWR) failed: No such file or directory (2) in c:\www\apache group\apache\htdocs\m6\admin\index.php on line 2

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at c:\www\apache group\apache\htdocs\m6\admin\index.php:2) in c:\www\apache group\apache\htdocs\m6\admin\index.php on line 2

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\www\apache group\apache\htdocs\m6\admin\index.php:2) in c:\www\apache group\apache\htdocs\m6\admin\index.php on line 2
您无权访问!
Warning: Unknown(): open(/tmp\sess_025eb292bcf6e9863d39b70e9aa23f82, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

运行5.0,点下面的
配置完毕后,请按这里继续
,可什么反映也没有,不继续:(

我是从来没摸过php和mysql的,网上乱找资料看了一下。后来 在有个思诺5.0里看到说安不上,

2.如果出现

Warning: open(/tmp\sess_eba70cec37fe41bd2c43a72b569b8595, O_RDWR) failed: No such file or directory

这种错误请正确配置session的保存目录

我上网查了下,说改php.ini中的
session.save_path = C:\win\temp

把路径设好,也不行啦。不知如何搞定,大家帮忙。
发表于 2004-1-9 13:12:13 | 显示全部楼层
session.save_path = C:\win\temp

这个目录存在吗 ?
回复

使用道具 举报

 楼主| 发表于 2004-1-9 21:58:14 | 显示全部楼层
[quote:a94de89db4="gugong"]session.save_path = C:\win\temp

这个目录存在吗 ?[/quote]

这种错误当然不会换。我是举思诺5.0里的自带例子,实际上我是指向c:\php\tmp

目录是建好的。

我如果用asp的,到是可以在本地找人帮我装。但我喜欢linux,也想今后把电影服务器构建在linux上,所以要php+mysql的。我在网上只找到有思诺的系统,网友曾经发了一个类似的,我也没搞定。

5555,我菜呆了,有个网友说好搞的很,当时我没条件映射端口,所以没搞,现在准备映射端口,让他通过vnc帮我安装(因为2k终端我看不到他搞的过程),可惜没看到在线。
回复

使用道具 举报

发表于 2004-1-14 09:24:54 | 显示全部楼层
; 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
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-15 06:34 , Processed in 0.064123 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表