Error after trying to use theme EXPORT ZIP
-
Hello. I’m trying to backup my website, but when I tried to use the EXPORT ZIP option for the theme, I got the following message: “There has been a critical error on this website”, then it supplied a link to the WP troubleshooting webpage. There I couldn’t find the specific information about the Export Zip (just a bunch of other error topics).
If the google search results are correct (many times they’re out of date), it says I need to install the ZIP PHP extension from my hosts cPanel. So I installed the only zip related extension offered, which was called: Archive_Zip’ (Zip file archiving management class). Once I installed it, it gave me a line of code (below) and instructed me to add it to the ‘include path’.
“You will need to add “/home/xxxxxxx/php” to the include path. You can do this by adding the following code to your script: ini_set(“include_path”, ‘/home/xxxxxxx/php:’ . ini_get(“include_path”) );
NOTE: I replaced a folder name with ‘xxxxx’ .My questions are:
1) Am I on the right path? Was this the right PHP extension to install? If not what would it be called?
2) If I did everything correct so far, where and HOW do I place the code? Put it in a notepad file and upload the file to a folder in my site directory?
I have filezilla installed so I have access to the sites files/folders. But I don’t have an ‘include’ (or includes) direction in my theme directory. So do I create it?
3) Use a plug in instead? When I searched google for help, I got a warning that I shouldn’t be adding code directly. Instead use a plugin (like WPCode). If I’ve done everything right so far, can I install the script using WPCode? (I don’t have it installed, but found it).Updated PHP version… I use to be able to export the zip file without any problems. But I remember a few months ago WP gave me a notice that I needed to update the php version. So I guess that update now has broken the abaility to use the Export Zip function (seems everytime I update something WP recommends, it ends up breaking something else).
Some guidence would be appreciated.
Thanks…JEB
You must be logged in to reply to this topic.