Uploading site from backup

due to malicious content, I had to delete everything and upload my site from my latest backup in january. But now it is not working. just white screen. my site name www.roboticmagazine.com
can you look and tell me why if you can?
and my database in hosting is still from today, i did not replace todays database with january database yet. is that why or do i need to? i have january dabatase backup too if necessary

What does the error log say?

White screens appear most times when error reporting is off. You could turn the error reporting on temporary to find out which errors you get, There are a few ways to put them on:

  • in the php.ini configuration file or via the control panel of your provider

  • in the .htaccess file

  • in the .php files self like so:

    ini_set(‘display_errors’, 1);
    ini_set(‘display_startup_errors’, 1);

While this is true, you also should NEVER do it to a live site. Errors are for you, not the users visiting your site or using your application. The error log will show you those same errors without exposing them to the outside world.

Sponsor our Newsletter | Privacy Policy | Terms of Service