壹佰网|ERP100 - 企业信息化知识门户

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1499|回复: 7

虚拟空间安装weberp出现500错误怎么解决

[复制链接]
发表于 2009/7/3 23:32:07 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622  。

您需要 登录 才可以下载或查看,没有帐号?注册

x
php的虚拟空间安装weberp,一直没能成功,出现500 Internal Server Error错误,按道理我的空间环境符合weberp的安装要求,但始终不成功。config.php文件是按照教程一步一步设置的。
网上查到的资料有限(其实E文的看不懂),可能是.htaccess或php.ini的配置,但确实不懂该怎么解决。

请大家帮帮忙,多谢了!
发表于 2009/7/6 20:02:53 | 显示全部楼层
 楼主| 发表于 2009/7/8 17:23:03 | 显示全部楼层
谢谢楼上。
广告实在太多了,呵呵
 楼主| 发表于 2009/7/16 08:57:04 | 显示全部楼层
看看有没有高手能帮我解决
发表于 2009/8/7 13:30:16 | 显示全部楼层
***************New Installations***************

Note: It is worth printing this document off and checking off the steps as you go.

Pre-requisites:

- A working PHP web server - v 5.0 or later - with support for mysql or postgres databases, gd, gettext and ftp
- A working MySQL or Postgres server (MySql version 4.1 or above - innodb tables must be enabled - this normally requires modifying your my.cnf file (normally under /etc/my.cnf or the mysql data directory - see the MySQL manual).

Installing these components are well covered elsewhere - but if you need to install these components the recommended solution under windows would be to download and install apache2triad - http://apache2triad.net/ or under windows or *nix download and install XAMP - http://www.apachefriends.org/en/xampp.html

PHP must have the register globals configuration parameter set to off.  This is the default (now).  This flag can be set in the php.ini on the server.  If it can't be changed, it is possibe for apache web servers to create a file called .htaccess. A .htaccess file is included in the webERP directory that ensures the register_globals flag is set to off for those web-servers that support .htaccess files.

In addition the magic_quotes_gpc setting must also be set to off. This is a configuration parameter in the php.ini file on the web-server. If you don't have access to the web-server's php.ini, then the webERP distribution has an .htaccess file to ensure that this is set to off for apache servers and thos other servers that look at the parameters in the .htaccess file. If magic_quotes_gpc is not set to off then this can leave annoying "\" characters in some fields otherwise webERP works as normal.

One more issue with php setup - by default the setting session.use_cookies is set to 1, if it is set to 0 this can also cause problems.

There are a number of traps with PHP installation depending on the web-server - see http://www.weberp.org/wikidocs/F ... estionsInstallation

The system is developed using MySQL. webERP was also tested up to version 3.05 with the Postgres database server. Postgres is no longer supported due to lack of support for testing with postgres and writing upgrade scripts. Instructions here are for mysql.


weberp要求:
1. magic_quotes_gpc为Off
2. register_globals 为off

你的虚拟空间限制了吧,所以上面就说了,可以用根目录下面不是那个.htaccess修改
自带的.htaccess文件里面果然是:
php_flag magic_quotes_gpc off
php_flag register_globals off


但是系统php.ini里面不允许啊,所以你500你了
修改.htaccess看看

很巧,今天安装碰到一样问题了
 楼主| 发表于 2009/8/7 20:28:15 | 显示全部楼层
在php.ini中,将上面两项已经设置为off,.htaccess是默认的没有修改,还是不行
发表于 2009/8/7 20:57:21 | 显示全部楼层
你用的虚拟空间,自己改不了的
你把.htaccess去掉试试
 楼主| 发表于 2009/8/12 13:26:13 | 显示全部楼层
.htaccess去掉还是不行哦,真是没招了。不过还是谢谢楼上的关注!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|手机版|壹佰网 ERP100 ( 京ICP备19053597号-2 )

Copyright © 2005-2012 北京海之大网络技术有限责任公司 服务器托管由互联互通
手机:13911575376
网站技术点击发送消息给对方83569622   广告&合作 点击发送消息给对方27675401   点击发送消息给对方634043306   咨询及人才点击发送消息给对方138011526

GMT+8, 2025/11/29 06:13 , Processed in 0.019062 second(s), 16 queries , File On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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