0

I uploaded the files into my hosting server and im getting this error when i want to open my site what is the problem ? Im using index.php but i think that should not be the problem ?

3
Contributors
7
Replies
22
Views
2 Years
Discussion Span
Last Post by Stefan_1
0

A 500 is a fairly generic error. If you are trying to access your site and you get this error, you have some code that is crashing the site. it could be in index.php, or another php related file.

0

is there any difference in file.inc.php and file.php ? i though its because that but its not i have changed the files but not helping..

0

How do i know where is my error and how do i fix it ? :/
My index.php file is simple with redirecting code

<?php
    require 'connect.php';
    require 'core.php';

    if(loggedin()) {
        header('Location: home.php');
    } else {
        header('Location: login.php');
    }
?>

Edited by Stefan_1

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.