Home›Support›English Support›[Resolved] How can I resolve the installation errors for WPML? What steps should I take to successfully activat...
[Resolved] How can I resolve the installation errors for WPML? What steps should I take to successfully activat...
This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to install the WPML multilingual CMS and encountering errors such as 'Could not copy file' during installation and a fatal error upon activation. These issues persist even after attempting installation through different methods including OTGS, WordPress interface, and manual installation via cPanel. Solution: The issue appears to be related to your server rather than WPML itself. Here are the steps we recommend: 1. Check file permissions: Ensure that the
wp-content
folder and its subdirectories have the correct write permissions. Directories should generally have 755 permissions and files should have 644. You can set these using an FTP client or via SSH with the commands:
chmod -R 755 wp-content
(for folders)
chmod -R 644 wp-content/*
(for files) 2. Check disk space: Verify that your hosting account has sufficient disk space to complete the installation. Insufficient disk space can cause file copy operations to fail. 3. Consult your hosting provider: Since the problem persists even after ensuring file permissions and disk space, it might be related to specific server settings or PHP configurations. Discuss these issues with your hosting support.
If these steps do not resolve the issue or if the solution seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Background of the issue:
I am trying to install the WPML multilingual CMS on a site under development. I initially attempted installation through OTGS, which resulted in an error. I then manually downloaded the plugin and tried installing it via the WordPress interface, encountering another error. Finally, I manually installed it through cPanel, but activation resulted in a fatal error.
Symptoms:
Error messages during installation: 'Could not copy file. (sitepress-multilingual-cms/vendor/otgs/installer/includes/class-translation-service-info.php)' and 'Could not copy file. sitepress-multilingual-cms/vendor/otgs/installer/includes/class-otgs-installer-plugins-page-notice.php'. Fatal error upon activation. and 'Plugin could not be activated because it triggered a fatal error.'
Questions:
How can I resolve the installation errors for WPML?
What steps should I take to successfully activate WPML after manual installation?
The issue is exclusive to the mail WPML Plugin, all other plugins instal just fine. Even the supporting plugins from WPML install one. Disk space is adequate. I am unable to provide debug information as wpml has not installed yet. Please help.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hi,
I would like to offer to take a closer look and request temporary access (wp-admin and FTP) to the site to investigate the issue further.
The required fields are below the comment section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.
IMPORTANT
Please be sure to back up the site and database before granting us access.
If you can't see the "wp-admin / FTP" fields, your post and site login details will be set to "PUBLIC". DO NOT publish the data unless you see the required wp-admin / FTP fields.
I may need to install a plugin called "All In One WP Migration" here to create a copy of the site that I can use to investigate the issue further.
However, I would also be very grateful if you could provide a staging site or copy of the website from your server for this purpose.
If you have any questions about creating such a staging site, you can consult your hosting provider. Please note that WPML must also be registered on this staging site at https://wpml.org/de/account/websites/.
If you are not able to provide such a copy of the website for testing, please let me know on this ticket.
The private reply form looks like this: hidden link
The next time you reply, click on "I still need assistance".
Video: hidden link
Please note that we are obliged to request this information individually on each ticket. We are not allowed to access any credentials that were not specifically submitted on this ticket in the private response form.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
This is not a WPML problem. Even when I disable all plugins and try to reinstall WordPress, I get also an error:
Downloading update from hidden link
Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /home2/webbiesc/public_html/stage/stage92/wp-includes/functions.php on line 5464
Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /home2/webbiesc/public_html/stage/stage92/wp-includes/functions.php on line 5464
Unpacking the update…
Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /home2/webbiesc/public_html/stage/stage92/wp-includes/functions.php on line 5464
Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /home2/webbiesc/public_html/stage/stage92/wp-includes/functions.php on line 5464
Could not copy file.: wordpress/wp-includes/blocks/footnotes/style.css
Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /home2/webbiesc/public_html/stage/stage92/wp-includes/functions.php on line 5464
Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /home2/webbiesc/public_html/stage/stage92/wp-includes/functions.php on line 5464
Installation failed.
Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /home2/webbiesc/public_html/stage/stage92/wp-includes/functions.php on line 5464
Notice: ob_end_flush(): Failed to send buffer of zlib output compression (1) in /home2/webbiesc/public_html/stage/stage92/wp-includes/functions.php on line 5464
Please consult hosting support, as I am not sure what is causing the issue and it appears to be server-related.
More on the topic:
This error generally occurs due to problems with file permissions or insufficient disk space on the server.
Example:
The file wordpress/wp-includes/blocks/footnotes/style.css could not be copied.
Steps to fix:
Check file permissions: Make sure the wp-content folder and its subdirectories have the correct write permissions. Normally, WordPress directories should have 755 permission and files should have 644 permission. You can set these permissions using an FTP client or via SSH:
chmod -R 755 wp-content (for folders)
chmod -R 644 wp-content/* (for files)
Check disk space: Make sure the hosting account has enough disk space to complete the update. Sometimes the copy operation fails due to insufficient disk space.
We set the necessary permissions as stated by you, however I still receive the fatal error issue on installing post that. All other plugins install just fine from ehe WP dashboard. So it makes me believe it is indeed just a wpml issue. Please investigate further.
the max limits are set to the max size already, please see screenshot. Andreas I think you are missing something, how are all other plugins installing just fine. Please reinvestigate and see.