Thank you for replying, but I have read and done everything on that article, but still getting a 500 error, or a blank page.
Have you checked your server’s error logs?
I checked the servers error log, it shows error with some plugins and the theme, so I disable the plugin and renamed the theme folder as mentioned in http://wordpress.org/support/topic/internal-server-error-after-moving-to-new-server-1. Then I got a blank page and no update in the error log.
Ok, so now I change the theme to load from the database, so that it is using the default “twntyeleven” theme, and the site is showing something. But only the homepage is working, other page will show 404 error. I am guessing that the original theme has some kinds of redirection working?
I switch back the theme and I’ll get this error message in the log:
[12-Jul-2012 17:43:37] PHP Parse error: syntax error, unexpected T_FUNCTION in /home/cp27908/public_html/hatchetcaye.com/wp-content/themes/hatchetcaye/functions.php on line 12
This is line 12-19
add_action('wp_enqueue_scripts', function() {
wp_deregister_script('jquery');
wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js', null, null);
wp_register_script('fancybox', get_template_directory_uri().'/fancybox/jquery.fancybox.pack.js', array('jquery'), filemtime(__DIR__.'/fancybox/jquery.fancybox.pack.js'));
wp_register_script('fancybox-buttons', get_template_directory_uri().'/fancybox/helpers/jquery.fancybox-buttons.js', array('fancybox'), filemtime(__DIR__.'/fancybox/helpers/jquery.fancybox-buttons.js'));
wp_enqueue_script('theme', get_template_directory_uri().'/js/default.js', array('jquery', 'fancybox', 'fancybox-buttons'), filemtime(__DIR__.'/js/default.js'));
});
Not sure what should be done to fix the theme… 🙁
is this a custom theme? If not, where did you download it from?
Yes, it’s a custom theme, you can see the site here: http://hatchetcaye.com/
I am checking the newly hosted site by changing my host file or use an alternate url: http://www.bimwddomains.com/hatchetcaye.com/
First, re-upload a fresh, unpacked, copy of the Twenty Eleven folder to wp-content/themes using FTP or whatever file management application your host provides.
http://wordpress.org/extend/themes/twentyeleven
OK, if have re-uploaded a fresh new version of the theme, and applied it to the site. What next?
The site at http://hatchetcaye.com/ is still using the old theme.
Sorry for the confusion, http://hatchetcaye.com/ is the original, should-be-like-this site. This is still with the original hosting until I finish the setting up on my side.
The site I am working on can be visible through the URL http://www.bimwddomains.com/hatchetcaye.com/. When I am sure that the site is correctly working, then I will point the nameserver from the domain registrar to the new hosting.
So which site has the problem?
It’s this one that I need to make it work correctly:
http://www.bimwddomains.com/hatchetcaye.com/
Did you change the site urls in the database before uploading it? Have you reset the permalinks?
I changed the site url in database after uploading.
I didn’t reset the permalinks because I think I will switch back to the original url ( http://hatchetcaye.com/) after everything is setup correctly.