I'm trying to upload files for download, however every time I get an error: 'Warning! Please select a file!' once upload is finished. Tried it several times with three different browsers, with no luck... The files are zip archives about 3.5 MB.
Regards
tomsky
Regards
tomsky
Regards
Thomas
Web design and development
http://www.goInventive.co.uk
I have the same problem. I am not running a mac... rather MS7 at the moment. When I go to upload say, a picture for the manufacturer spot, it will let me browse for the picture, I am able to select it (or double-click, even). The file browser closes and I get a javascript alert, telling me to select a file. Many times tried and failed, not only for uploading pics. Not sure where to BEGIN to look for problem source.Daniel wrote:are u on a mac?
I found another thread, but no luck so far. If we link the two threads together, we might be able to see few possible answers
OpenCart®
Project Owner & Developer.
Same problem here using Firefox, I have had to separate each download. It appears that the file size is actually limited to around 2Mb.
Advanced Professional Email Template
Customers Pre-Sale. Inc abandoned cart email
Order Follow-Up Email. Inc request review
Email Validation with ZeroBounce
Problem solve. I'm able to solve the problem by edit upload_tmp_dir in php.ini.
for more details, please refer to http://dotnetfish.blogspot.com/2011/11/ ... ncart.html
for more details, please refer to http://dotnetfish.blogspot.com/2011/11/ ... ncart.html
I'm facing this as well using a mac w/firefox. The OC version is 1.5.1.3. I saw this
It appears that when image manager gives the "Warning: Please Select A File!", what's really going on is that the file is way too big for it to handle. If its over the limit but not too far over the limit, it'll complain accurately about what's going on.
and experimented by uploading a file under 2mb to see if that would help. That file was around 550Kb. While I wasn't successful at uploading the file, I did get a clear message this time that the file size was too big and that my upload needed to be under 300K. I uploaded a 30K file and was successful.opencart-templates wrote:Same problem here using Firefox, I have had to separate each download. It appears that the file size is actually limited to around 2Mb.
It appears that when image manager gives the "Warning: Please Select A File!", what's really going on is that the file is way too big for it to handle. If its over the limit but not too far over the limit, it'll complain accurately about what's going on.
I am still having this issue, I just tried uploading a file that is only 75kb. As I understand it, that shouldn't be a problem.
The workaround I have been using is just to manually upload the files via ftp but it doesn't make sense that it won't work from within the administrator portion of the site.
I simply can't tell my clients to use ftp to get the desired pictures uploaded.
Any help would be greatly appreciated
current version: 1.5.1
The workaround I have been using is just to manually upload the files via ftp but it doesn't make sense that it won't work from within the administrator portion of the site.
I simply can't tell my clients to use ftp to get the desired pictures uploaded.
Any help would be greatly appreciated
current version: 1.5.1
I also have same problem Can't upload files (Warning! Please select a file).
my opencart Version 1.4.9.3, Image folder permission 777, and my php.ini code is
Image manager is not work properly. (Warning! Please select a file).
Please Help me How to solve image manager issue.


my opencart Version 1.4.9.3, Image folder permission 777, and my php.ini code is
Code: Select all
register_globals = Off
magic_quotes_gpc = Off
memory_limit = 512M
max_execution_time = 18000
upload_max_filesize = 1024M
safe_mode = Off
mysql.connect_timeout = 18000
session.use_cookies = On
session.use_trans_sid = 1
session.save_path = /tmp
session.gc_maxlifetime = 90000000
allow_url_fopen = On
post_max_size = 1024M
display_errors = Off
upload_tmp_dir = /temp
Image manager is not work properly. (Warning! Please select a file).
Please Help me How to solve image manager issue.
Regards
Md Saiful Islam
Web development
Tuli Host Hash Encoder Site Down Checker
changes for image size upload and php.ini
incresae size of MAX_UPLOAD IMAGE
2m to 12m ?
incresae size of max post size from 2m to 12m
changes to codew at resize json error found on web
and changes to max upload from 300 kb to 10 mb
OpenCart’s default image upload size is 300KB and that is simply too small for clients that don’t have the knowledge to resize their images before uploading them. Although uploading digital camera images does use more bandwidth, sometimes it can not be avoided. To adjust the image upload size make the following changes around line 446 of admin/controller/common/filemanager.php:
if ($this->request->files['image']['size'] > 10485760) {
$json['error'] = $this->language->get('error_file_size');
}
In this case we have increased the upload size limit to 10MB, also make sure that your php configuration will allow file uploads and posts of this size.
Now you have these big images uploaded, but sometimes GD can run out of memory trying to resize these large images. You can solve this by using imagemagick, if available. So what we’re going to do is resize all images larger than 1000×1000 down to 1000×1000. Make the following changes around line 490 of admin/controller/common/filemanager.php:
if (!isset($json['error'])) {
if(substr($this->request->files['image']['type'],0,5)=='image'){
$imageinfo = getimagesize($this->request->files['image']['tmp_name']);
if($imageinfo[0]>1000 || $imageinfo[1]>1000){
exec('convert -colorspace RGB "'.$this->request->files['image']['tmp_name'].'" -resize 1000x1000 "'.$this->request->files['image']['tmp_name'].'"');
}
}
if (@move_uploaded_file($this->request->files['image']['tmp_name'], $directory . '/' . basename($this->request->files['image']['name']))) {
$json['success'] = $this->language->get('text_uploaded');
} else {
$json['error'] = $this->language->get('error_uploaded');
}
}
That’s it, your image upload file size limit has been lifted and memory usage issues have been dealt with!
incresae size of MAX_UPLOAD IMAGE
2m to 12m ?
incresae size of max post size from 2m to 12m
changes to codew at resize json error found on web
and changes to max upload from 300 kb to 10 mb
OpenCart’s default image upload size is 300KB and that is simply too small for clients that don’t have the knowledge to resize their images before uploading them. Although uploading digital camera images does use more bandwidth, sometimes it can not be avoided. To adjust the image upload size make the following changes around line 446 of admin/controller/common/filemanager.php:
if ($this->request->files['image']['size'] > 10485760) {
$json['error'] = $this->language->get('error_file_size');
}
In this case we have increased the upload size limit to 10MB, also make sure that your php configuration will allow file uploads and posts of this size.
Now you have these big images uploaded, but sometimes GD can run out of memory trying to resize these large images. You can solve this by using imagemagick, if available. So what we’re going to do is resize all images larger than 1000×1000 down to 1000×1000. Make the following changes around line 490 of admin/controller/common/filemanager.php:
if (!isset($json['error'])) {
if(substr($this->request->files['image']['type'],0,5)=='image'){
$imageinfo = getimagesize($this->request->files['image']['tmp_name']);
if($imageinfo[0]>1000 || $imageinfo[1]>1000){
exec('convert -colorspace RGB "'.$this->request->files['image']['tmp_name'].'" -resize 1000x1000 "'.$this->request->files['image']['tmp_name'].'"');
}
}
if (@move_uploaded_file($this->request->files['image']['tmp_name'], $directory . '/' . basename($this->request->files['image']['name']))) {
$json['success'] = $this->language->get('text_uploaded');
} else {
$json['error'] = $this->language->get('error_uploaded');
}
}
That’s it, your image upload file size limit has been lifted and memory usage issues have been dealt with!
Sorry forgot to add this link to help with increasing the size limits in php.ini
this should explain that
http://www.radinks.com/upload/config.php
this should explain that
http://www.radinks.com/upload/config.php
Who is online
Users browsing this forum: Google [Bot] and 4 guests