Blank Page after exporting website to my localhost.
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Apprentice
- Posts: 27
- Joined: Wed Apr 15, 2015 7:31 am
Blank Page after exporting website to my localhost.
So I tried to export our website to localhost for testing. I use FTP for file transfer to my localhost and phpmyadmin to export sql file of my website. But when I tried to open it on my localhost all I see is a blank page.
My wamp server uses php 5.5.12.
My wamp server uses php 5.5.12.
-
- Joomla! Apprentice
- Posts: 11
- Joined: Mon May 04, 2015 6:00 am
Re: Blank Page after exporting website to my localhost.
There is no message error? Anyway, it might be a missing file or htaccess or your url's inside your template. Anyway, try checking your htaccess first if no problem and then your template and if no problem than repeat exporting the files and database again.
-
- Joomla! Apprentice
- Posts: 27
- Joined: Wed Apr 15, 2015 7:31 am
Re: Blank Page after exporting website to my localhost.
There are warning message, I just hide it withwebseller wrote:There is no message error? Anyway, it might be a missing file or htaccess or your url's inside your template. Anyway, try checking your htaccess first if no problem and then your template and if no problem than repeat exporting the files and database again.
Code: Select all
define( '_JEXEC', 1 );
error_reporting( E_ERROR | E_PARSE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING );
- toivo
- Joomla! Master
- Posts: 17445
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Blank Page after exporting website to my localhost.
A blank page indicates that a PHP fatal error has occurred.
You can turn off error reporting completely, if required, by editing the file configuration.php:
Alternatively, add a php.ini file into the main Joomla folder, with the following content, for example: This setting will display or write into a log file, depending on how error logging has been configured, all actual errors but no notices, warnings, Strict Standards and Deprecated messages which you would otherwise see a lot in Joomla 1.5 running in PHP 5.5.
Where did you add the code?There are warning message, I just hide it with
You can turn off error reporting completely, if required, by editing the file configuration.php:
Code: Select all
var $error_reporting = '0';
Code: Select all
error_reporting = E_ALL & ~(E_NOTICE | E_WARNING | E_STRICT | E_DEPRECATED)
Toivo Talikka, Global Moderator
-
- Joomla! Apprentice
- Posts: 27
- Joined: Wed Apr 15, 2015 7:31 am
Re: Blank Page after exporting website to my localhost.
I put the code at index.php. Why do you think I have a blank page?toivo wrote:A blank page indicates that a PHP fatal error has occurred.Where did you add the code?There are warning message, I just hide it with
You can turn off error reporting completely, if required, by editing the file configuration.php:Alternatively, add a php.ini file into the main Joomla folder, with the following content, for example:Code: Select all
var $error_reporting = '0';
This setting will display or write into a log file, depending on how error logging has been configured, all actual errors but no notices, warnings, Strict Standards and Deprecated messages which you would otherwise see a lot in Joomla 1.5 running in PHP 5.5.Code: Select all
error_reporting = E_ALL & ~(E_NOTICE | E_WARNING | E_STRICT | E_DEPRECATED)
- toivo
- Joomla! Master
- Posts: 17445
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: Blank Page after exporting website to my localhost.
There is an index.php file in the main folder but your template has also a file called index.php. If you edited index.php in the main folder, the setting in configuration.php will override your settings.I put the code at index.php.
You can leave the numeric value in configuration.php as -1 which means 'System Default' but add a php.ini file into the same folder, and those settings in your php.ini become the system default for Joomla.
There are quite a few possibilities. One or more files may not have been copied correctly to your workstation. Some obsolete extension may be using functions that were deprecated in PHP 5.4 and removed in PHP 5.5.Why do you think I have a blank page?
Once you see the PHP fatal error message, you will have more information.
Toivo Talikka, Global Moderator
-
- Joomla! Apprentice
- Posts: 27
- Joined: Wed Apr 15, 2015 7:31 am
Re: Blank Page after exporting website to my localhost.
So I tried php 5.2 with xampp and I still get a blank page? Both the front page/administrator area are blank.