Problems...problems...problems...

Status
Not open for further replies.

eternal-empire

New Member
Messages
53
Reaction score
0
Points
0
i have an apache server at home...when i try to view my website, it works...

i used the SAME files, SAME db and tables, SAME mysql user...SAME everything...

But it loads for sometime and says DONE in the status bar...but there is nothing there...you cant view any part of the website...

it happens only wiith index.php...is it something with the php code that x10 doesnt support??

coz it works in apache on my pc

plz help...i need this urgently

Thanks
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
You might be using a function that is disabled on the server and suppressing the error output by having an @ sign before the function.

I suggest you go through the code on that page and remove any @ signs before functions so it displays errors.

-Corey
 

eternal-empire

New Member
Messages
53
Reaction score
0
Points
0
the code is below:

<?php

session_start();
$_SESSION['page'] = "index";

require_once 'template.php';
$page = new Page();
$page->replaceTags(array(
'title' => 'Welcome',
'main' => 'index2.php',
'news' => 'news.php',
'mapbrowser' => 'mapbrowser.php',
'left' => 'login.php'));

$page->output();

?>


there are no @ signs :p
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Where is the output function? There could be @ in there.

-Corey
 
Status
Not open for further replies.
Top