i've downloaded a wordpress theme(clubber) but when i try to install it on my wordpress 3.9, it shows the error message while unzipping which is
The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
i have no idea whats the problem. please help
That has often been my expression of late as a result of my frequent WordPress troubleshooting.
Due to my busy schedule, I haven’t had time to login to my blog. On one of my spare time, I took it as an opportunity to update my plugins, as usual with WP automatic update via my dashboard. One of such plugins that desperately needed an update was WpOptimix, a premium WordPress security plugin. While the update was going on, suddenly it came to a halt and below is the error message I got
An error occurred while updating wpOptimix: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
I knew this has to be a server configuration, since I have got no time to spare, rather than spending countless number of hours troubleshooting this error, I decided to take the shortest way out – deactivated and deleted the problematic plugin, re-downloaded, uploaded and activated the updated plugin Archive file (.zip) via WordPress plugin dashboard (http://yoursite.com/wp-admin/plugin-install.php?tab=upload).
A known solution to this problem is simply commenting out mbstring.func_overload php.ini directive (subject to your host granting you access to php.ini) as signified below
;mbstring.func_overload=7
You must unzip the downloaded theme zip file after then you should open unzipped folder and see another zip file overthere. that zip file you have to upload on WordPress > Add New theme page. I'm sure you'll not get that error again on your computer screen.
Related
My hoster forced me to upgrade my Wordpress site because it was fairly old. I decided to upgrade to PHP 8.1. It caused issues with the website, so I figured I'd rebuild the whole website since it's a simple website. I deleted all the existing files and uploaded the 5.8.2 WordPress install files. Then I changed all the permissions to 0755. I created a fresh database for the install.
At first, the setup would appear. I would go through the install, but when I clicked install after entering all the database info, I got "There has been a critical error on this website." I recreated the .htaccess file to the default and tried again. Now I get this error just hitting the domain, no more setup screens. The site does redirect to the /wp-admin/setup-config.php file. I don't have a wp-config.php file in the directory, just the sample one. I tried creating a wp-config.php with the correct info, but same error. I also tried adding the debug options, increasing PHP memory, etc. Same error. I don't get any error logs.
Does anyone now how to get an error log or can help with ideas on how to create a fresh WordPress site? I did change the PHP versions to older ones, but that didn't work either.
You need to take a backup of your file ,then fallow the fallowing instruction.
Rename your plugin one by one and refresh the website.
this issue due to the unsupported plugin ,that is installed in your wordpress website.
1- Make a backup copy of the files and from the old database
2- After that, download these files on your PC
3- Install WordPress again
4- Replace the wp-content file with the old one
5- Clean the new database and import the old database through phpMyAdmin
I solved that problem installing an older version of Xampp, with previous version of php, MySQL and Apache. I give up version 8.1.1
XAMPP 7.4.27 / PHP 7.4.27
https://www.apachefriends.org/download.html
There was something wrong on the hosting side. The source of the issue was indeed that WordPress could not write to the config file. Even the hoster was unable to delete the files. We ended up deleting the entire root directory and starting from scratch. Now it's all good.
The lesson learned is that one of the sources of the "There has been a critical error on this website." error is that WordPress is unable to write/edit files. It's also why it could not write an error log. WordPress could have been more descriptive here.
I have a working version of Wordpress on my home Synology web server, and I can view the site and post comments etc without any problem.
However, I cannot update any plugins or themes and also can't add any new plugins or themes. I keep getting the error saying "Installation failed: could not copy file..." The name of the file it fails to copy changes each time.
I have verified that I do have FTP access and all my permissions across the files/folders seem to be precisely correct (664 for files, 775 for folders).
The only seemingly significant bread crumb I have found is this: Checking my FTP transfer log files, I see that there are files being added to the correct directories BUT then they are IMMEDIATELY being deleted from those same directories ('put' followed by 'delete'). So it seems like it is connecting to the web server, installing the files, and then immediately uninstalling everything!!
I sincerely appreciate any help!
Thanks,
Bryan
I downloaded a theme called MyWriter. In my WP panel it says I should update it, when I click update I get this error:
Update Failed: The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
It uploaded correctly and works fine as well. But I thought before I start customising it properly, I should update it. Does anyone know how I can get past this?
Thanks,
Can you download the theme package and unzip it manually? The most likely cause of the error is that the zip is corrupt or that it was not compressed with zip.
If you can unzip the theme package, you could then upload the latest version via FTP to the folder /wp-content/themes/mywriter (please note the actual folder would be case sensitive so if its myWriter or MyWriter or some other variation be careful to upload it to the right place).
Or you could try rezipping it (using zip) and upload it via WordPress admin.
Incidentally, if you are intending to customise the theme substantially, then you should use a child theme. Otherwise next time the theme is brought up to date by the theme author you could stand to lose all of your customisations. For more information about creating a child theme, the official WordPress guidance can be found here https://codex.wordpress.org/Child_Themes and is explained more simply here https://www.smashingmagazine.com/2016/01/create-customize-wordpress-child-theme/
Hope this helps.
After updating my client's WordPress site to 4.7 version, could not access the website and wp-admin. I got this error:
Fatal error: Class 'WP_Roles' not found in /webcorp1/www/corpusers/h/y/hyeinfotech.com/wp-settings.php on line 293
Before you update WordPress you should follow the WordPress guideline.
It looks some files are missing related to user_role class. Try updating plugins. If issue not solved try following solutions.
Solution 1: If you have backup then you can restore the website and try update WordPress once again along with all plugins.
Solution 2:
Create a demo/test location on the server/local computer.
Take backup of wp_content folder.
Take backup of Database.
Install a fresh wordpress on the test location.
Import the database backup on step 3 to test location wordpress database.
Replace the content folder on the test location.
Check, if everything works fine then you can move the code and database to current running server.
I hope this solution will work for you. If not you can hire any reliable WordPress Development Agency or Individual to make things done for you.
I just went to update one of my wordpress sites. It was my first time updating a wordpress site.
When i went to update the update screen hung for 20 minutes saying "installing". The website home page was still displaying the maintenance notification. I looked this up and the consensus seemed to be to ftp to the site and delete the "maintenance" file. I did this and now the homepage displays:
Fatal error: Call to undefined function get_front_page_template()......
When i went to mysite/wp-admin it said, "wordpress has been installed, you now need to update your databases". So i pressed the "Update Databases" button upon which i'm presented with the error:
Fatal error: Class 'WP_Theme' not found in.....
I have a feeling i've done something very stupid. Can anyone help me out?
Backup your current faulty setup via FTP.
Then download the wordpress version you were using from the Release Archive and replace the files of your wp-admin and wp-include folders using FTP.
This should make your wordpress installation work again.
The problem about the database is probably because the update wasn't completed.