WordPress.org

Ready to get started?Download WordPress

Forums

Imported database, not showing up. (5 posts)

  1. lstok
    Member
    Posted 1 year ago #

    hello.
    I am installing a wordpress site:

    1. install a default WordPress site or backup the existing data on your server
    2. copy the wp-content folder to the root folder of your WordPress site on your server
    3. replace all instances of http://SITEURL in the .sql file with your real site URL and save the .sql file
    4. import the database from the .sql file (please note that when importing all your existing data will be replaced with the data from the .sql file)
    5. the admin panel access will be reset to user: admin password: admin

    these were my directions.
    I did # 4 via the phpmyadmin widget.

    My theme is installed, but not populated and it is showing up file not found everywhere.

    any ideas?

  2. lstok
    Member
    Posted 1 year ago #

    I see all the content in the sql.

  3. michael.mariart
    Member
    Posted 1 year ago #

    Where did you get thos instructions? They are almost right, but they will end up with your site being pretyt well... broken.

    The problem is that you can't jsut change the 'http//www.olddomain.com' to 'http://www.mynewdomain.com' in the SQL file unless you are *really* lucky. The resaon for this is that WordPress stores most of it's data and settings as serialized arrays, and these hold more information then just the actual value, so changing the value creates an invalid array, and that causes havoc.

    The way that I do this, and I recommend to thers, is I install the original SQL dump and run this script to do the database changes.

  4. lstok
    Member
    Posted 1 year ago #

    Hi Michael,
    Thanks for your response.
    I had custom theme developed. those were the instructions that I was given.

    I have tried this like 10 times with no luck.
    The theme is installed I just get file not found errors. the theme shows. up.

  5. govpatel
    Member
    Posted 1 year ago #

    I had custom theme developed. those were the instructions that I was given.

    I have tried this like 10 times with no luck.
    The theme is installed I just get file not found errors. the theme shows. up.

    To install a theme in wordpress you do not have to do anything in database as all you need to do is upload the theme using install theme feature in themes or ftp the theme folder in wp-content/themes folder and activate within admin

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.