![]() |
|
[Wordpress] Transferring Website - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Webmasters (https://hackforums.net/forumdisplay.php?fid=141) +---- Forum: Website Construction (https://hackforums.net/forumdisplay.php?fid=50) +---- Thread: [Wordpress] Transferring Website (/showthread.php?tid=5271196) |
Transferring Website - A + - May 16, 2016 I am trying to transfer my Website from Hostgator to 000 without redoing it. I made a full backup, and exported the database. On the new site, I uploaded the files, and imported the DB. I had a couple of problems importing the DB at first, so I went into phpMyAdmin and dropped all of the tables, and reimported. It finished importing that time, but now I always get a message Code Parse error: syntax error, unexpected T_STATIC in /home/--/public_html/wp-content/themes/--/inc/components/pagination/--.php on line 53I deleted all of the files and reinstalled wordpress. I also created a new DB because I was just going to redo the whole thing. The problem is, is as soon as I upload a theme, I start getting that same error message again! I either deleted something that I shouldn't have, or messed up something with the DB. Any ideas? If it is possible to salvage the Website, I would much rather do that instead of redoing the entire thing. Thanks! Edit: I forgot to mention that I deleted all of the files inside public_html and reinstalled WP. And the only two folders in the home directory are .ftpquota and public_html. I might have deleted something that I shouldn't have. * - Wifi Pineapple - May 16, 2016 if you still have the database, try and only import the users, posts,comments and tables like that. I hope it helps - starting over really does suck * - kznamst - May 17, 2016 Did you modified your wp-config? With the new db, db-username and db-password? * - xkox - May 19, 2016 Change your php version. This is a php version compatibility issue, perhaps you are using way too old verision. Give it a try. * - Shroomies_temp - May 20, 2016 https://codex.wordpress.org/Moving_WordPress |