?
Solved

Imported Wordpress and my websites are blank

Posted on 2011-10-12
7
Medium Priority
?
243 Views
Last Modified: 2012-05-12
Hi:
I am moving 2 wordpress blogs to a new webserver. I have a backup of the 2 databases. In the new server, I copied my public_html folder to my server and created the databases and users using instruction provided by wordpress:
$ mysql -u adminusername -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5340 to server version: 3.23.54
 
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
 
mysql> CREATE DATABASE databasename;
Query OK, 1 row affected (0.00 sec)
 
mysql> GRANT ALL PRIVILEGES ON databasename.* TO "wordpressusername"@"hostname"
    -> IDENTIFIED BY "password";
Query OK, 0 rows affected (0.00 sec)
 
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.01 sec)

mysql> EXIT
Bye
$

Then, I accessed my server through phpmyadmin and imported each of the databases. No errors were shown during import. When I try to access my webpage of any of the 2 blogs, I get a blank screen in the browser, no errors are shown.

The database names, usernames and passwords are the same in the old and new server. So, I didn't change anything in the wp-config.php file.

Thanks for your help!
0
Comment
Question by:pcelements
  • 5
  • 2
7 Comments
 
LVL 13

Expert Comment

by:George K.
ID: 36957001
Have you also applied, themes, plugins etc?
0
 
LVL 13

Expert Comment

by:George K.
ID: 36957009
Have you also moved all files?
0
 

Author Comment

by:pcelements
ID: 36957056
All files have been moved.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Author Comment

by:pcelements
ID: 36957772
More Info: Please Help!

I just enabled display_errors in the php.ini file and when accessing website through browser, the following error is shown:

Warning: require(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Anguilla' for 'AST/-4.0/no DST' instead in /var/www/virtualdomains/domain1.com/wp-settings.php on line 21 Warning: require(/var/www/virtualdomains/domain1.com/wp-includes/load.php): failed to open stream: Permission denied in /var/www/virtualdomains/domain1.com/wp-settings.php on line 21 Warning: require(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Anguilla' for 'AST/-4.0/no DST' instead in /var/www/virtualdomains/domain1.com/wp-settings.php on line 21 Fatal error: require(): Failed opening required '/var/www/virtualdomains/domain1.com/wp-includes/load.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/virtualdomains/domain1.com/wp-settings.php on line 21

I have another domain in this server and Wordpress is running in that one without problems, but it is a new installation and a new database.
0
 

Author Comment

by:pcelements
ID: 36957960
Ok, the timezone error got fixed by adding the following line in the php.ini file with my time zone:
date.timezone = "America/Anchorage"

The Permission denied error, still getting it.
0
 

Accepted Solution

by:
pcelements earned 0 total points
ID: 37103791
Problem Solved!
I installed mod-rewrite to my server and accessed wordpress backend, changed permalinks to custom to the way I had them and it worked!
0
 

Author Closing Comment

by:pcelements
ID: 37126834
I was able to find the solution by trial and error.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating a Cordova application which allow user to save to/load from his Dropbox account the application database.
Among the most obnoxious of Exchange errors is error 1216 – Attached Database Mismatch error of the Jet Database Engine. When faced with this error, users may have to suffer from mailbox inaccessibility and in worst situations, permanent data loss.
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question