Oz ozhosting - 由于发生内部服务器错误,无法显示页面 [英] Oz ozhosting - The page cannot be displayed because an internal server error has occurred

查看:81
本文介绍了Oz ozhosting - 由于发生内部服务器错误,无法显示页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为使用自定义管理系统的朋友开发网站,我正在使用的托管服务是澳大利亚服务器 http://www.ozhosting.com.au/ 我上传的网站确实给了这个



因为内部页面无法显示发生了服务器错误。



但是当我把网站放到另一台服务器而不是它之前工作正常没有错误没问题时,我联系了www的托管支持.ozhosting.com.au所以我可以看到他们有什么要说的,是服务器方面的问题,还是我的代码中的问题,经过与支持服务的长时间对话,他们发给我了这个:

I am working on a website for a friend made with the customized management system, the hosting service that I'm using is an Australian server http://www.ozhosting.com.au/ Whene I upload the website it does give this

" The page cannot be displayed because an internal server error has occurred."

But when I put the website into another server not the one before it work fine no bug no issue,I contacted the hosting support of www.ozhosting.com.au so I can see what they have to say about it, is it a server side problem or it's a problem in my code ,after long conversation with the support service they sent me this:

''This issue has been escalate with our level 2. There are no errors from our end.

The issue is with the connection of the database to your site. Kindly check the credentials you are using to connect to the DB."





如果在我的代码中出现问题,为什么它在另一台服务器上正常工作我已经检查了数据库的连接参数,看起来没问题。是我的参数





If it's a problem in my code why it's working just fine on another server I've checked connection parameter to the database they seem fine. here are my parameters

<?php
class S_config{
public static $root     = "kulchi/";
var $host                     = "localhost";
var $database                 = "kulchi";
var $username                 = "root";
var $password                 = "";
public static $reecriture     = true;
public static $display_errors = 0;
public static $prefix         = "kul_";

}

?>





注意:我正在使用PHP5网站托管:IIS网站我不知道是否这件事或者这可能是问题来自哪里因为它的IIS服务器我是否必须更改托管公司? ?



Note : I'm using PHP5 web hosting : IIS Website i don't know if this matter or maybe this is where the problem is coming from becaus it's IIS server do I have to change the hosting company ??

推荐答案

root = kulchi /;
var
root = "kulchi/"; var


host = 本地主机;
var
host = "localhost"; var


数据库 = kulchi;
var
database = "kulchi"; var


这篇关于Oz ozhosting - 由于发生内部服务器错误,无法显示页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆