I am facing an issue while file uploading.
Got below in error log:
#1 is_uploaded_file() called at [/home/public_html/includes/classes/upload.php:86]
#2 upload->parse() called at [/home/public_html/manage/includes/modules/new_product_preview.php:148]
#3 require(/home/public_html/manage/includes/modules/new_product_preview.php) called at [/home/public_html/manage/product.php:120]
Limits that are set for file upload:
* file_uploads: On
* upload_max_filesize: 200M
* max_input_time: 60
* memory_limit: 1024M
* max_execution_time : 100000
* post_max_size: 200M
File up to 2MB uploaded successfully, larger size files not uploaded
Please see the documentation on file uploads: https://www.zen-cart.com/content.php?306-what-is-the-maximum-file-upload-size-for-my-site
Make sure:
The setting in the admin is also higher then 2MB
The php settings are properly loaded by calling phpinfo() from within your project.
Note: Your 'error' misses an actual error message, it's just a notice
Related
My Error :
Fastlane upload to crashlytics fails with the following error :
[12:59:37]: Error fetching remote file: Exit status of command 'unzip
'C:/Users/xxxx/Library/CrashlyticsAndroid/crashlytics-devtools.zip' -d
'C:/Users/xxxx/Library/CrashlyticsAndroid'' was 2 instead of 0.
Archive: C:/Users/xxxx/Library/CrashlyticsAndroid/crashlytics-devtools.zip
warning [C:/Users/xxxx/Library/CrashlyticsAndroid/crashlytics-devtools.zip]: 30829 extra bytes at beginning or within zipfile (attempting to process anyway)
file #1: bad zipfile offset (local header sig): 30829 (attempting to re-compensate)
inflating:
C:/Users/xxxx/Library/CrashlyticsAndroid/crashlytics_build.xml
error: invalid compressed data to inflate bad CRC 00000000 (should
be 313e1340)
file #2: bad zipfile offset (local header sig): 839 (attempting to re-compensate)
file #2: bad zipfile offset (local header sig): 839
file #3: bad zipfile offset (local header sig): 34909
Fastlane env : my fastlane environment is here https://github.com/fastlane/fastlane/issues/12161
fastlane is not officially supported on Windows (yet). My suggestion is to do this on macOS. (I also commented this on your GitHub issue).
Download the zip from here and extract where fastlane fails to unzip crashlytics-devtools.zip.
For me the path is C:/Users/{your-user}/Library/CrashlyticsAndroid/crashlytics-devtools.zip
I upgraded my prestashop version vom 1.6.1.0 to 1.6.1.16 without any problems with 1 click upgrade tool.
Then I tried it from version 1.6.1.16 to 1.7.2.1, but I get the Error:
[Ajax / Server Error for action upgradeDb] textStatus: "error " errorThrown:"Internal Server Error " jqXHR: " "
In my Apache log, I found only this line:
PHP Fatal error: Class 'Language' not found in /www/htdocs/CNUMBER/FOLDER1/admin123/autoupgrade/latest/prestashop/install/upgrade/php/migrate_tabs_17.php on line 54
This is Line 54 in migrate_tabs_17.php:
$defaultLanguage = new Language((int)Configuration::get('PS_LANG_DEFAULT'));
then I tried to my php values like this (in .htacces):
upload_max_filesize = 640M
post_max_size = 640M
max_file_uploads = 200
memory_limit = 320M
max_input_vars = 3000
max_input_time = 600
max_execution_time = 600
set_time_limit = 600
But no changes... same error! All files in /autoupgrade/latest/prestashop are 777
I hope someone can help me :-)
My PHP Version: 5.6 CGI
Best regards
I hit the same issue using 1 click upgrade. After it error'd I had to take a backup and reload the site files to a previous version, which tells me that it was definitely a code issue vs a DB issue. Once the site files were restored it was fixed to where it was before the upgrade. I'm going to work my way through it now as I try again and I'll post results.
I am using Yii EAjaxUpload extension to upload files. I am facing a problem during uploading image. 'Getting content length is not supported'. In console It is showing the error "http://46.101.98.121/MyApp/index.php?r=controller/upload&PHPSESSID=j7…KEN=077cb06478a3c70e40a2a01dc4cb1a94a6ff96ec&qqfile=518164-backgrounds.jpg". In php.ini 'upload_max_filesize' and 'post_max_size' both are 100MB. File is already uploaded to the destination folder but the uploading procedure fails each time. Please help.
I have some issue in uploading file using JQueryFileUpload with Backload.
I have added settings in web.config to upload large file like 1 GB file allow.
When i try to upload zip file around 150MB it upload successfully but when i try to upload file around 200 MB it showing following exception.
errorcode:12
error: Exception occured while storing the file
Can you please help me to get the solution? Why i am getting above error?
I have one other question : can we use UNC path to save image outside of website folder? If yes then how we can use?
Thanks in advance.
I got a warning when parsing my "Twitter BootStrap" files and saving them on disk in my less-cache folder.
Warning: is_file(): open_basedir restriction in effect. File(/../../lib/bootstrap/less/reset.less.less) is not within the allowed path(s): (/var/www/vhosts/example.com/:/tmp/) in /var/www/vhosts/example.com/httpdocs/wp-content/modules/wp-less/lessc/lessc.inc.php on line 80
I'm using (for example) #import "../../lib/bootstrap/less/reset.less"; in the main file that I'm parsing.
The funky thing is, that the first stylesheet gets the extension two times: reset.less.less - the other ones not. Another thing that keeps me wondering, is why the heck there's a leading / in front of the files.
Some data about the environment and server:
PHP 5.3.3
Wordpress 3.4.2
The WP-LESS Plugin (yes, I commit to this repo), which uses the LESSc library - which throws the error from here.
php.ini
include_path = ".:..:"
upload_temp_dir _no value/not set_
open_basedir = "/var/www/vhosts/example.com/:/tmp/"
Thanks for any help in advance!