WordPress support from our community
Want to put local site to my hosted website – browser displays white page
April 29, 2011 at 9:58 pm #1160
I’ve tried now twice to put a locally developed wp site with a child theme based on Twentyten and haven’t been able to do it. I’ve set up a database and that checks out ok… even my host did a cgi test and the php checks out ok… I make a .sql file from my local database and import it over to the server database I made… then I “put” the site files, via Dreamweaver or I’ve used Filezilla, and updated the “wp-config.php” file to match the specs of the database I created with my host.
Strangely enough my “favicon” has shown up but the whole page goes blank and FF goes into quirks mode.
Thanks in advance for the help.
Michael SneedApril 29, 2011 at 11:08 pm #1885
You should not need an sql file to move a locally created theme over to a live site. The only reason you need the sql file is if there is a lot of data on the dev site you need to move over. Most of the time a standard WP export will work.
Have you tried setting it up without import the sql file?April 30, 2011 at 2:23 am #1886
That’s interesting… it seemed like there was a lot of info I was loading to the server.
I’ll give it a try.
MichaelApril 30, 2011 at 3:17 am #1887
I tried that and it’s adding on to my url… for example:
It shows the classic “5 minute install” window – not my site.
Thanks for the help.
MichaelApril 30, 2011 at 12:17 pm #1888
Michael– A WP website essentially has two parts: data and a theme. So, run the install and upload your child theme and it should work.
If you need to move data (posts, authors, categories,etc) from your dev site to the live site, use TOOLS > EXPORT/IMPORT in WP.
SteveApril 30, 2011 at 5:08 pm #1889
Thanks again for the assistance,Steve.
I’ll try exporting the rest of the data I have on the local site… i.e. akismet, contact form.
The funny thing is that all this info is already on my site (child theme, akisment, contact form, etc.)… I re-installed wp and now it’s back to a clean slate of Twentyten.
MichaelApril 30, 2011 at 5:56 pm #1890
WP export won’t export the plugins or settings, just Posts, tags, categories, etc. It might be easier for you to reinstall the plugins on the live site from scratch and just update their settings… instead of trying to move the db.
SteveMay 1, 2011 at 4:06 am #1891
So far I’ve installed wp on my site http://www.artdesignsneed.com and have the basic Twentyten theme running; however, I’m getting this in the appearence>themes area:
The following themes are installed but incomplete. Themes must have a stylesheet and a template.
Art Design Sneed The parent theme is missing. Please install the “Twentyten” parent theme.
–But everything’s there… the child theme has a style.css in place and they’re linked as far as I can tell. The template part doesn’t make sense though because I thought that, like, making header.php was a template.
MichaelMay 1, 2011 at 11:28 am #1892
A child theme only requires style.css… everything else is optional.
Make sure something like this is at the very top of style.css:
Theme Name: Twenty Ten Child
Theme URI: http: //example.com/
Description: Child theme for the Twenty Ten theme
Author: Your name here
Author URI: http: //example.com/about/
Here’s a good video on Child themes, that should help you: http://wpnyc.org/video/wordpress-parent-child-themes-and-why-you-should-use-them/
SteveMay 1, 2011 at 10:06 pm #1893
Well you’ll probably not going to believe this… I think I’m finally seeing the light at the end of the tunnel. I was looking at your last post and then I was searching in the codex (wordpress.org,>docs) [just in case someone else is trying to understand this] and realized ( for the first time) that in the child theme declaration, it’s case sensitive, at least the template declaration. I had “Twentyten” not “twentyten” and finally my styles began to come throught and look like what I was doing. WP also wasn’t showing, finally, in the dashboard “Theme is installed but broken”.
I can’t believe it! Just from having one capital letter.
So now I have to think, add everything by scatch or try another .sql database import to my server.??? At least I can drive myself crazy knowing that I’m doing it!
Well at least thanks to your help and this strange journey I have a choice in the matter.
Steve… all my very best on helping me through this! Cheers!
- You must be logged in to reply to this topic.