Hello ,,
I have website with php lang , but when try work on my PC there not working and I have message
but the website is working online , how I can solve this problem ,
you can check our website online (www.gch-saudi.com)
Regards
Altrea wrote:circumstances had changed.
We need again the up to date action and reaction of what you think is not the correct behavior.
"not working" is no qualified error reporting.
Nobbie wrote:Which file is shown, when localhost/gch is requested (that is not a file, but a folder)? Show us the source of that file.
<?php
include("header.php");
if($_GET[module]!="")
$general_obj->website_general_information[website_title]=$general_obj->website_general_information[website_title];
if($_GET[module]=='')
$_GET[module]="home";
$original_module=$_GET[module];
if($_GET[p]!='')
$_GET[module].="_".$_GET[p];
if($original_module!="clients_details" && $original_module!="recruitment_form")
{
$main_data=template("gch_".$_GET[module]);
eval("\$main_data = \"$main_data\";");
}
$announcement_box_data=template("gch_announcements_box");
eval("\$announcement_box_data = \"$announcement_box_data\";");
$news_box_data=template("gch_news_box");
eval("\$news_box_data = \"$news_box_data\";");
if($_GET[module]=="home")
{
$clients_data=template("gch_clients");
eval("\$clients_data = \"$clients_data\";");
}
if($original_module=="contact_us")
include("contact_us.php");
if($original_module=="careers")
include("careers.php");
if($original_module=="recruitment_form")
include("recruitment_form.php");
$confirm_data=$general_obj->confirm_data();
$_GET[module]=$original_module;
if($_GET[module]=="our_team" && $_GET[c]!="")
{include("our_team_details.php");}
else
if($_GET[module]=="clients_details")
{include("clients_details.php");}
else
if($_GET[module]=="home" && $_GET[language]!="" && $_GET[language]!=$_SESSION[SESSION_PREFIX."language"])
{include("templates/gch_home_".$_GET[language].".tpl");}
else
if($_GET[module]=="staff_login")
{include("templates/gch_staff_login.tpl");}
else
if($_SESSION[SESSION_PREFIX."language"]=="en")
{
include("templates/main.tpl");
}
?>
Users browsing this forum: No registered users and 84 guests