发新话题
打印

安装mambo4.5.4 sp3版本后的错误~~

安装mambo4.5.4 sp3版本后的错误~~

后台顶部出现
Notice: Undefined variable: return in c:\program files\easyphp1-8\www\includes\mambo.php on line 2005

Notice: Undefined variable: return in c:\program files\easyphp1-8\www\includes\mambo.php on line 2005

Notice: Undefined variable: return in c:\program files\easyphp1-8\www\includes\mambo.php on line 2005

Notice: Undefined variable: return in c:\program files\easyphp1-8\www\includes\mambo.php on line 2005

Notice: Undefined variable: return in c:\program files\easyphp1-8\www\includes\mambo.php on line 2005

Notice: Undefined variable: return in c:\program files\easyphp1-8\www\includes\mambo.php on line 2005

多行错误提示~~
前台页面

Notice: Undefined variable: return in c:\program files\easyphp1-8\www\includes\mambo.php on line 2005

Warning: Cannot modify header information - headers already sent by (output started at c:\program files\easyphp1-8\www\includes\mambo.php:2005) in c:\program files\easyphp1-8\www\includes\mambo.php on line 428

Warning: Cannot modify header information - headers already sent by (output started at c:\program files\easyphp1-8\www\includes\mambo.php:2005) in c:\program files\easyphp1-8\www\index.php on line 211

Warning: Cannot modify header information - headers already sent by (output started at c:\program files\easyphp1-8\www\includes\mambo.php:2005) in c:\program files\easyphp1-8\www\index.php on line 212

Warning: Cannot modify header information - headers already sent by (output started at c:\program files\easyphp1-8\www\includes\mambo.php:2005) in c:\program files\easyphp1-8\www\index.php on line 213

Warning: Cannot modify header information - headers already sent by (output started at c:\program files\easyphp1-8\www\includes\mambo.php:2005) in c:\program files\easyphp1-8\www\index.php on line 214

Warning: Cannot modify header information - headers already sent by (output started at c:\program files\easyphp1-8\www\includes\mambo.php:2005) in c:\program files\easyphp1-8\www\index.php on line 215

请问,这是什么原因啊~

我本来安装的是mambo4.5.4,但是装完了后台菜单没有下拉框,其他没有错误,打了补丁3,并且修改了bug,就和直接安装mambo sp3出现的错误一样了~

请帮助我一下~~万分感谢~~

TOP

php.ini设置问题,搜索论坛会有答案
动网商城:www.poweb.cn
承接mambo和joomla系统、组件、模块等程序开发和模板制作
双线空间100M只需60元,性价比高

TOP

搜了,没找到,菜~·不好意思

Notice: Undefined variable: return in c:\program files\easyphp1-8\www\includes\mambo.php on line 2005

2005行的代码是
$return = addslashes( $return );

到底是怎么回事啊~~~~

TOP

if (!get_magic_quotes_gpc()) {
$return = addslashes( $return );

mambo4.5.4SP3里的mambo.php文件比mambo4.5.4里的mambo.php文件多了这两行代码

如果没有这两行代码,后台菜单项的下拉框前几个显示位置不正确,后面几个“组件”“模块”。。等都没有下拉框显示。
但是mambo4.5.4SP3,菜单下拉框出现了,但是也出现了我刚才说的错误~
实在搞不懂了,

TOP

在 /includes/mambo.php ,2002附近行:
                        if (!get_magic_quotes_gpc()) {
                                //$return = addslashes( $return ); --修改前的,有错误
                                // modi by chq.name  on 2007.03.28 for correct
                                $arr[$name] = addslashes( $arr[$name]);    --
                        }
我的改好后,不再出现问题。

[ 本帖最后由 joson 于 2007-3-29 07:44 编辑 ]

TOP

发新话题