Website not working
Posted by: umang (27.62.156.---)
Date: September 08, 2020 10:53PM

My website was working file, until i downloaded a plugin. It was getting activated, but before it does error occurred and the website stopped working. On refreshing, all it shows is a downloading file popup. And when i click on download, a php file gets downloaded.

The message that php file contains is:

<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/

/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define( 'WP_USE_THEMES', true );

/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';


I tried restarting wampserver, and opening website again, but none of the pages work. All it shows is this popup for downloading this file.

It would be really helpful if someone can help me out with this issue.
Thanks much in advance.

Re: Website not working
Posted by: Otomatic (Moderator)
Date: September 09, 2020 09:45AM

Hi,

Problems with a WordPress plugin are to be discussed with the plugin creator.

Reminder :
Your local sites must imperatively use VirtualHost, as with all hosting providers.
See:
The need for Virtual Host
and
Wampserver 3 - Create or add a VirtualHost
and
Why to create a VirtualHost BEFORE installing a CMS

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Sorry, only registered users may post in this forum.