On the same web site system,use FF is OK and IE7 is not.it looks like missing the folder or URL. but run the ckeditor demo image upload function is well on the its official site with the IE7 ?!
what poor ie7.

24 hour ban for spam?
It was my browser. Downloaded foxfire and it is working great

Also deleted german and I can add categories.
I think I am going to really like this program. I still need to do some more test on purchases and emails.
Thanks
Dave
Thanks
Dave
My Sites: http://www.dellquality.com and http://www.needhits.net
Thanks
Dave
My Sites: http://www.dellquality.com and http://www.needhits.net
Is there really no solution to get this working in IE? From reading the thread it seems older version has a different image upload facility - is there a way to switch back to that?
user:test
password: test
I cannot/have not gotten image manager to work
All images on the site are by direct editing of the database
A solution please. I have tried all 3 browsers here (crome,firefox, IE7)
The new image manager is all done through AJAX so there is I am not going to remove any code just simple add the original code.
STEP1 get the physical button back
In - /admin/view/template/catalog/product_form.tpl
If you replace:
Code: Select all
<tr>
<td><?php echo $entry_image; ?></td>
<td><input type="hidden" name="image" value="<?php echo $image; ?>" id="image" />
<img src="<?php echo $preview; ?>" alt="" id="preview" style="border: 1px solid #EEEEEE;"/>
<img src="view/image/image.png" alt="" style="cursor: pointer;" align="top" onclick="image_upload('image', 'preview');" />
</td>
</tr>
Code: Select all
<tr>
<td><?php echo $entry_image; ?></td>
<td><input type="file" name="image" /></td>
</tr>
<tr>
<td></td>
<td><img src="<?php echo $preview; ?>" alt="" style="margin: 4px 0px; border: 1px solid #EEEEEE;" /></td>
</tr>
STEP2
Inside public function insert() around line 24.
Find: if (($this->request->server['REQUEST_METHOD'] == 'POST') && $this->validateForm()) {
Add below:
Code: Select all
if (is_uploaded_file($this->request->files['image']['tmp_name']) && is_writable(DIR_IMAGE) && is_writable(DIR_IMAGE . 'cache/')) {
move_uploaded_file($this->request->files['image']['tmp_name'], DIR_IMAGE . $this->request->files['image']['name']);
if (file_exists(DIR_IMAGE . $this->request->files['image']['name'])) {
$data['image'] = $this->request->files['image']['name'];
}
}
if (isset($this->request->files['product_image'])) {
foreach (array_keys($this->request->files['product_image']['name']) as $key) {
if (is_uploaded_file($this->request->files['product_image']['tmp_name'][$key]) && is_writable(DIR_IMAGE) && is_writable(DIR_IMAGE . 'cache/')) {
move_uploaded_file($this->request->files['product_image']['tmp_name'][$key], DIR_IMAGE . $this->request->files['product_image']['name'][$key]);
if (file_exists(DIR_IMAGE . $this->request->files['product_image']['name'][$key])) {
$data['product_image'][] = $this->request->files['product_image']['name'][$key];
}
}
}
}
Inside public function update() around line 85.
Find: if (($this->request->server['REQUEST_METHOD'] == 'POST') && $this->validateForm()) {
$data = array();
Add below:
Code: Select all
if (is_uploaded_file($this->request->files['image']['tmp_name']) && is_writable(DIR_IMAGE) && is_writable(DIR_IMAGE . 'cache/')) {
move_uploaded_file($this->request->files['image']['tmp_name'], DIR_IMAGE . $this->request->files['image']['name']);
if (file_exists(DIR_IMAGE . $this->request->files['image']['name'])) {
$data['image'] = $this->request->files['image']['name'];
}
}
if (isset($this->request->files['product_image'])) {
foreach (array_keys($this->request->files['product_image']['name']) as $key) {
if (is_uploaded_file($this->request->files['product_image']['tmp_name'][$key]) && is_writable(DIR_IMAGE) && is_writable(DIR_IMAGE . 'cache/')) {
move_uploaded_file($this->request->files['product_image']['tmp_name'][$key], DIR_IMAGE . $this->request->files['product_image']['name'][$key]);
if (file_exists(DIR_IMAGE . $this->request->files['product_image']['name'][$key])) {
$data['product_image'][] = $this->request->files['product_image']['name'][$key];
}
unset($this->request->post['product_image'][$key]);
}
}
}
if (isset($this->request->post['product_image'])) {
foreach (array_keys($this->request->post['product_image']) as $key) {
$data['product_image'][] = $this->request->post['product_image'][$key];
unset($this->request->post['product_image'][$key]);
}
}
Quality Opencart Website Design - we don't just tweak a colour or two we build a fully bespoke design for OpenCart tailored for your business and target audience.
View our latest websites at: http://www.web2works.co.uk/portfolio
I have replaced the image files to ensure there were no .gifs or other in there, but to no avail. Anyone with a solution yet?
Attachments
Screen shot 2010-03-24 at 13.44.13.png (22.01 KiB) Viewed 6196 times
Did you 'uninstall' the Google Analytics module or just 'disable' it in the module to get image manager working?mau wrote:Hello, i've had a similar problem and it seems it was all caused by an error in the Analytics Code that my host had provided for ALL of my pages. Going there and disabling Analytics Code fixed the problem.
I solved this problem by renaming the file in small case (including file extension) and remove extra spaces from file name.
Thanks
Waseem
I've tested it on 3 differend server setups and never any issue.
Contact your hoster and have them look at errors in their server log, post that error here or consult with your hoster on a working solution.
In most cases wrong rights are the issue, 755 on files and dirs is NOT the solution as most hosters will prevend this to work eventough your CHMOD says you have set it to 755.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Users browsing this forum: No registered users and 22 guests