Image Upload goes 100% and then I get an error in red and asks me to Remove file
I am having the exact same problem as stated here:
"products image upload error after upload 100%"
I am trying to upload images to an already existing Magento website, my images go 100% and then I get an error in red asking to remove the images. I have followed most of the tutorial I could find online, all my media/
and var/
folder have 777 permission, I have php5-gd installed on my server, the baseurl and secureurl is set properly.
Last time I have had this problem I had a hired a freelancer to resolve it, he told me, varnish setting had issues but didn't give me details.
Any help appreciated.
magento-1.9 product-images image-upload ce-1.9.2.0
bumped to the homepage by Community♦ 1 min ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I am having the exact same problem as stated here:
"products image upload error after upload 100%"
I am trying to upload images to an already existing Magento website, my images go 100% and then I get an error in red asking to remove the images. I have followed most of the tutorial I could find online, all my media/
and var/
folder have 777 permission, I have php5-gd installed on my server, the baseurl and secureurl is set properly.
Last time I have had this problem I had a hired a freelancer to resolve it, he told me, varnish setting had issues but didn't give me details.
Any help appreciated.
magento-1.9 product-images image-upload ce-1.9.2.0
bumped to the homepage by Community♦ 1 min ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I am having the exact same problem as stated here:
"products image upload error after upload 100%"
I am trying to upload images to an already existing Magento website, my images go 100% and then I get an error in red asking to remove the images. I have followed most of the tutorial I could find online, all my media/
and var/
folder have 777 permission, I have php5-gd installed on my server, the baseurl and secureurl is set properly.
Last time I have had this problem I had a hired a freelancer to resolve it, he told me, varnish setting had issues but didn't give me details.
Any help appreciated.
magento-1.9 product-images image-upload ce-1.9.2.0
I am having the exact same problem as stated here:
"products image upload error after upload 100%"
I am trying to upload images to an already existing Magento website, my images go 100% and then I get an error in red asking to remove the images. I have followed most of the tutorial I could find online, all my media/
and var/
folder have 777 permission, I have php5-gd installed on my server, the baseurl and secureurl is set properly.
Last time I have had this problem I had a hired a freelancer to resolve it, he told me, varnish setting had issues but didn't give me details.
Any help appreciated.
magento-1.9 product-images image-upload ce-1.9.2.0
magento-1.9 product-images image-upload ce-1.9.2.0
edited Apr 13 '17 at 12:55
Community♦
1
1
asked Aug 1 '16 at 7:58
thebeardedguythebeardedguy
116
116
bumped to the homepage by Community♦ 1 min ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 1 min ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
In your project open the file lib/Varien/File/Uploader.php and put a Mage::log() inside the save() function.
public function save($destinationFolder, $newFileName = null)
{
$this->_validateFile();
if ($this->_allowCreateFolders) {
$this->_createDestinationFolder($destinationFolder);
}
if (!is_writable($destinationFolder)) {
// Put a mage::log() and check what is the folder magento is looking for.
Mage::log($destinationFolder);
throw new Exception('Destination folder is not writable or does not exists.');
}
. . . . .
}
From the log you can find out the folder which Magento is looking for. And then check permissions for that folder.
Link to exception.log pastebin.com/x4SxkrwS and system.log pastebin.com/DQKC2aiB
– thebeardedguy
Aug 3 '16 at 6:56
Hey @keshav can you please look into the logs I have updated.
– thebeardedguy
Aug 3 '16 at 10:07
add a comment |
Since I couldn't solve it I ended posting this error on Upwork website. The issue was in lib/Varien/Image/Adapter/Gd2.php someone/ perhaps me or the earlier programmer had by mistakenly put the content before opening
Anyways learnt the lesson the hard way. I don't know if this qualify's as an answer. Plus it wasn't solving the problem till the time this freelancer cleared the /opcache sitting in the root folder of my Magento installation.
any update on your situation? how you resolved?
– abr
Mar 14 '18 at 16:35
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "479"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f128356%2fimage-upload-goes-100-and-then-i-get-an-error-in-red-and-asks-me-to-remove-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
In your project open the file lib/Varien/File/Uploader.php and put a Mage::log() inside the save() function.
public function save($destinationFolder, $newFileName = null)
{
$this->_validateFile();
if ($this->_allowCreateFolders) {
$this->_createDestinationFolder($destinationFolder);
}
if (!is_writable($destinationFolder)) {
// Put a mage::log() and check what is the folder magento is looking for.
Mage::log($destinationFolder);
throw new Exception('Destination folder is not writable or does not exists.');
}
. . . . .
}
From the log you can find out the folder which Magento is looking for. And then check permissions for that folder.
Link to exception.log pastebin.com/x4SxkrwS and system.log pastebin.com/DQKC2aiB
– thebeardedguy
Aug 3 '16 at 6:56
Hey @keshav can you please look into the logs I have updated.
– thebeardedguy
Aug 3 '16 at 10:07
add a comment |
In your project open the file lib/Varien/File/Uploader.php and put a Mage::log() inside the save() function.
public function save($destinationFolder, $newFileName = null)
{
$this->_validateFile();
if ($this->_allowCreateFolders) {
$this->_createDestinationFolder($destinationFolder);
}
if (!is_writable($destinationFolder)) {
// Put a mage::log() and check what is the folder magento is looking for.
Mage::log($destinationFolder);
throw new Exception('Destination folder is not writable or does not exists.');
}
. . . . .
}
From the log you can find out the folder which Magento is looking for. And then check permissions for that folder.
Link to exception.log pastebin.com/x4SxkrwS and system.log pastebin.com/DQKC2aiB
– thebeardedguy
Aug 3 '16 at 6:56
Hey @keshav can you please look into the logs I have updated.
– thebeardedguy
Aug 3 '16 at 10:07
add a comment |
In your project open the file lib/Varien/File/Uploader.php and put a Mage::log() inside the save() function.
public function save($destinationFolder, $newFileName = null)
{
$this->_validateFile();
if ($this->_allowCreateFolders) {
$this->_createDestinationFolder($destinationFolder);
}
if (!is_writable($destinationFolder)) {
// Put a mage::log() and check what is the folder magento is looking for.
Mage::log($destinationFolder);
throw new Exception('Destination folder is not writable or does not exists.');
}
. . . . .
}
From the log you can find out the folder which Magento is looking for. And then check permissions for that folder.
In your project open the file lib/Varien/File/Uploader.php and put a Mage::log() inside the save() function.
public function save($destinationFolder, $newFileName = null)
{
$this->_validateFile();
if ($this->_allowCreateFolders) {
$this->_createDestinationFolder($destinationFolder);
}
if (!is_writable($destinationFolder)) {
// Put a mage::log() and check what is the folder magento is looking for.
Mage::log($destinationFolder);
throw new Exception('Destination folder is not writable or does not exists.');
}
. . . . .
}
From the log you can find out the folder which Magento is looking for. And then check permissions for that folder.
answered Aug 2 '16 at 17:05
Keshav JoshiKeshav Joshi
112
112
Link to exception.log pastebin.com/x4SxkrwS and system.log pastebin.com/DQKC2aiB
– thebeardedguy
Aug 3 '16 at 6:56
Hey @keshav can you please look into the logs I have updated.
– thebeardedguy
Aug 3 '16 at 10:07
add a comment |
Link to exception.log pastebin.com/x4SxkrwS and system.log pastebin.com/DQKC2aiB
– thebeardedguy
Aug 3 '16 at 6:56
Hey @keshav can you please look into the logs I have updated.
– thebeardedguy
Aug 3 '16 at 10:07
Link to exception.log pastebin.com/x4SxkrwS and system.log pastebin.com/DQKC2aiB
– thebeardedguy
Aug 3 '16 at 6:56
Link to exception.log pastebin.com/x4SxkrwS and system.log pastebin.com/DQKC2aiB
– thebeardedguy
Aug 3 '16 at 6:56
Hey @keshav can you please look into the logs I have updated.
– thebeardedguy
Aug 3 '16 at 10:07
Hey @keshav can you please look into the logs I have updated.
– thebeardedguy
Aug 3 '16 at 10:07
add a comment |
Since I couldn't solve it I ended posting this error on Upwork website. The issue was in lib/Varien/Image/Adapter/Gd2.php someone/ perhaps me or the earlier programmer had by mistakenly put the content before opening
Anyways learnt the lesson the hard way. I don't know if this qualify's as an answer. Plus it wasn't solving the problem till the time this freelancer cleared the /opcache sitting in the root folder of my Magento installation.
any update on your situation? how you resolved?
– abr
Mar 14 '18 at 16:35
add a comment |
Since I couldn't solve it I ended posting this error on Upwork website. The issue was in lib/Varien/Image/Adapter/Gd2.php someone/ perhaps me or the earlier programmer had by mistakenly put the content before opening
Anyways learnt the lesson the hard way. I don't know if this qualify's as an answer. Plus it wasn't solving the problem till the time this freelancer cleared the /opcache sitting in the root folder of my Magento installation.
any update on your situation? how you resolved?
– abr
Mar 14 '18 at 16:35
add a comment |
Since I couldn't solve it I ended posting this error on Upwork website. The issue was in lib/Varien/Image/Adapter/Gd2.php someone/ perhaps me or the earlier programmer had by mistakenly put the content before opening
Anyways learnt the lesson the hard way. I don't know if this qualify's as an answer. Plus it wasn't solving the problem till the time this freelancer cleared the /opcache sitting in the root folder of my Magento installation.
Since I couldn't solve it I ended posting this error on Upwork website. The issue was in lib/Varien/Image/Adapter/Gd2.php someone/ perhaps me or the earlier programmer had by mistakenly put the content before opening
Anyways learnt the lesson the hard way. I don't know if this qualify's as an answer. Plus it wasn't solving the problem till the time this freelancer cleared the /opcache sitting in the root folder of my Magento installation.
answered Aug 4 '16 at 16:01
thebeardedguythebeardedguy
116
116
any update on your situation? how you resolved?
– abr
Mar 14 '18 at 16:35
add a comment |
any update on your situation? how you resolved?
– abr
Mar 14 '18 at 16:35
any update on your situation? how you resolved?
– abr
Mar 14 '18 at 16:35
any update on your situation? how you resolved?
– abr
Mar 14 '18 at 16:35
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f128356%2fimage-upload-goes-100-and-then-i-get-an-error-in-red-and-asks-me-to-remove-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown