Hello im trying to install a plugin using the option upload zip file but it doesnt work i get this error displayed
“Could not save uploaded file! The upload was cancelled, or server error encountered.”
anyone can help me fix this?
Hello im trying to install a plugin using the option upload zip file but it doesnt work i get this error displayed
“Could not save uploaded file! The upload was cancelled, or server error encountered.”
anyone can help me fix this?
Hey @Onder
Welcome to the MainWP community.
Can you please post the community system report from your MainWP Dashboard for review? The report is located in your Dashboard under Info → Server, on the top right of the page.
Be sure to use the button like the one below; this button hides all your private information:
Pressing the button auto-copies the report to your clipboard then just paste it in a reply here.
Hello thank you for your reply,
here is the report ;
### WordPress Check Required Detected Status ###
FileSystem Method = direct direct Pass
MultiSite Disabled =true true Pass
WordPress Memory Limit >=64M 40M Warning
WordPress Version >=6.2 6.6.1 Pass
### PHP Required Detected Status ###
cURL Extension Enabled =true true Pass
cURL Timeout >=300 seconds 60 Warning
cURL Version >=7.29.0 7.29.0 Pass
OpenSSL Version >=OpenSSL/1.1.0 NSS/3.53.1 Pass
OpenSSL Working Status Yes Yes Pass
PCRE Backtracking Limit >=10000 1000000 Pass
PHP Allow URL fopen N/A YES
PHP Disabled Functions N/A opcache_get_status,
PHP Exif Support N/A YES
PHP IPTC Support N/A YES
PHP Loaded Extensions N/A Core, PDO, PDO_ODBC, Phar, Reflection, SPL, SimpleXML, Zend OPcache, apcu, bcmath, bz2, calendar, cgi-fcgi, ctype, curl, date, dba, dom, enchant, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, imap, intl, ionCube Loader, json, ldap, libxml, mbstring, mcrypt, mysqli, mysqlnd, odbc, openssl, pcre, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, posix, pspell, random, redis, session, soap, sockets, sodium, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, zlib
PHP Max Execution Time >=30 seconds 300 Pass
PHP Max Input Time >=30 seconds 300 Pass
PHP Memory Limit >=256M 768M Pass
PHP Post Max Size >=2M 64M Pass
PHP Safe Mode Disabled =true true Pass
PHP Upload Max Filesize >=2M 64M Pass
PHP Version >=7.4 8.2.7 Pass
PHP XML Support N/A YES
SSL Extension Enabled =true true Pass
SSL Warnings = empty Pass
### MySQL Required Detected Status ###
MySQL Client Encoding N/A utf8
MySQL Mode N/A NOT SET
MySQL Version >=5.0 5.7.41 Pass
### Server Configuration Detected Value ###
Accept Content text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/png,image/svg+xml,*/*;q=0.8
Accept-Charset Content N/A
Architecture 64 bit
Gateway Interface CGI/1.1
HTTPS ON
Memory Usage 46.2 MB
Operating System Linux
Request Time 1722603801
Server Protocol HTTP/1.1
Server self connect Not expected HTTP response body:
Server Software Apache
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0
### MainWP Dashboard Settings Detected Value ###
Abandoned plugins/themes tolerance
Basic uptime monitoring enabled Yes
MainWP Dashboard Version Latest: 5.1.1 | Detected: 5.1.1 Pass
MainWP legacy backups enabled No
Maximum number of pages to return
Maximum number of posts to return
Maximum simultaneous install and update requests3
Maximum simultaneous requests 4
Maximum simultaneous requests per ip1
Maximum simultaneous sync requests 8
Minimum delay between requests 200
Minimum delay between requests to the same ip1000
Number of connected sites 10
Optimize data loading No
Plugin advanced automatic updates enabledNo
Primary backup system MainWP Legacy Backups
REST API enabled No
Site health monitoring enabled Yes
Theme advanced automatic updates enabledNo
Use WP Cron No
WP Core advanced automatic updates enabledNo
### Extensions Version License Status ###
No installed extensions
### Plugin Version Status ###
MainWP Dashboard 5.1.1 Active
My Home 1.0.3 Inactive
Thanks for the system report.
Can you try uploading a different ZIP file?
If the current ZIP is over 2MB it will be hitting the limit of PHP Upload Max Filesize and PHP Post Max Size.
Perhaps something small like Classic Editor: https://downloads.wordpress.org/plugin/classic-editor.1.6.4.zip
i have tried it and still not work. my zip file is 123 kb and have the same problem with different zip files aswell.
here someone solved the problem and said;
"Problem resolved. It was caused by disabled tmpfile() PHP function. "
but i didnt understand it and cant manage to solve it
We have a help article for enabling tmpfile() on Cloudways, and it should be somewhat similar for other hosts: Enable tmpfile() PHP function on Cloudways - MainWP Knowledgebase
However, when tmpfile() is disabled, it is stated so in the system report under PHP Disabled Functions
which does not appear to be the case here.
Would you mind opening a private Help Desk ticket so we can collect some additional information & investigate further?
And please refer to this Managers thread by its URL in the ticket.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.