Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
I recently upgraded from CE2 to CE4 and uploaded my site. I have the latest versions of Pages, Publisher, Wordpress, Gallery, Cart, and Auto-Index.
When I go to the blog page, I get this message: Fatal error: Call to undefined function get_header() in/home/content/65/9258665/html/blog/index.php on line 1
Any clues?
Last edited by hulsebos58 (2014-12-27 07:11:30)
Offline
did you upload your theme in the blog/wp-content/themes/ folder?
a quick Google search suggests that perhaps the theme isn't uploaded to the correct folder
also check to make sure you're running the latest version of WordPress
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Sounds like you might have a bad WordPress install. The get_header() function should be defined within WordPress (not the theme), so it sounds like you might be missing WordPress files.
Offline
Does this mean I have to talk to Godaddy about this?
Offline
I uploaded the theme to the root level. That is to say I first exported with the name blog. Then the resulting folder was uploaded to the root level. Is this not correct?
Last edited by hulsebos58 (2014-12-27 10:55:49)
Offline
no, it's not correct.
you should first install WordPress on your site if you haven't done so already. If you're going to use it as a blog, then install it in its own folder. For example, for my site I installed it in a folder I created named "blog"
Then upload your exported theme for WordPress. In my case that was /blog/wp-content/themes/
You'll need to activate the Theme from the WordPress back-end by logging on to your WordPress installation.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Ok, I had gotten it to work for a little while, then I made some updates to my site and uploaded. Now I am getting the Fatal Error again. The theme is uploaded to /blog/wp-content/themes/ Wordpress 4.1 is installed.
Offline
when you made your changes and uploaded your theme again, could you have inadvertently uploaded to the /blog/ folder rather than the /blog/wp-content/themes/ folder?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I made sure I didn't make that mistake this time.
Offline
I wonder if the old theme remains in the /blog/ folder and is causing problems. Is there any way I can tell...are there files that shouldn't be there that I can look for?
Offline
Do you still have WordPress' base themes installed (2014, 2014, etc.)? If so, try switching to one of those and see if your blog comes back. That at least should narrow down the issue.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
I switched to the 2014 theme and same fatal error
Offline
I'm guessing that points to the WordPress installation then
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Pages: 1