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.

Options: ReplyQuote
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

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.3 32 bit - Apache 2.4.46 - PHP 7.4.9…5.6.40 - MySQL 5.7.31 - MariaDB 10.5.5
Wampserver 3.2.3 64 bit - Apache 2.4.46 - PHP 7.4.9…5.6.40 - MySQL 5.7.31/8.0.21 - MariaDB 10.5.5
PhPMyadmin 5.0.2 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote


Sorry, only registered users may post in this forum.