Error in Starting

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Error in Starting

Postby ahmadsami » 20. November 2013 10:45

Hello ,,

I have website with php lang , but when try work on my PC there not working and I have message


Image

but the website is working online , how I can solve this problem ,

you can check our website online (www.gch-saudi.com)

Regards
ahmadsami
 
Posts: 4
Joined: 20. November 2013 10:40
Operating System: Windows 7

Re: Error in Starting

Postby Nobbie » 20. November 2013 11:13

You probably used "short tag"

<?

instead of


<?php
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Error in Starting

Postby ahmadsami » 20. November 2013 11:34

I changed on header and index file , still not working ,
ahmadsami
 
Posts: 4
Joined: 20. November 2013 10:40
Operating System: Windows 7

Re: Error in Starting

Postby Altrea » 20. November 2013 13:38

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.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Error in Starting

Postby ahmadsami » 20. November 2013 14:01

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.



so what I can do ?
ahmadsami
 
Posts: 4
Joined: 20. November 2013 10:40
Operating System: Windows 7

Re: Error in Starting

Postby Nobbie » 20. November 2013 15:07

Which file is shown, when localhost/gch is requested (that is not a file, but a folder)? Show us the source of that file.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Error in Starting

Postby ahmadsami » 20. November 2013 15:31

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.


the file request is index.php include header , you can show index.php here

Code: Select all
<?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");
   }
   
   ?>
ahmadsami
 
Posts: 4
Joined: 20. November 2013 10:40
Operating System: Windows 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 102 guests