If you mean by Image Manager the Image Properties screen that pop-ups when clicking the image in the ckEditor then yes I think it is.Qphoria wrote:right but it could be the image manager not able to find multiple instances
It does not recognize the correct path of the image you want to add.
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.
I think the problem is /admin/controller/common/filemanager.php.
If I instead use CKFinder as file manager everything works as it should, and I can upload and add images in all languages. CKFinder is also a "standalone" or "external" filemanager as the one included in OC, and CKFfinder passes the image path to CKEditors image URL field correctly. I don't know if this info can help you in any way but I thought I let you know anyway.
Regards,
Leffe
http://forum.opencart.com/viewtopic.php?f=20&t=13622" onclick="window.open(this.href);return false;
Qphoria manage to find it's javascript error:
Error: this.getInputElement() is null
Source File: /admin/view/javascript/ckeditor/ckeditor.js
Line: 97
But... no conclusion so far.
So why not continue there?NobleKnight wrote:This one was discussed at:
http://forum.opencart.com/viewtopic.php?f=20&t=13622" onclick="window.open(this.href);return false;
But... no conclusion so far.
Reason: Topic merged + Title adjusted + Topic moved
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.
The editor works as far as saving text content, however when I try to upload images it fails.
Here is the error message I see in Firefox/Firebug
z._.filebrowserSe is undefined
http://obc1.developer.com/admin/view/ja ... keditor.js
Line 42
I assume it is because I have two editors on the product_form template.
If I remove one the single one will work, it is when I add a 2nd one that I get the error message.
I assume this is the case with multiple languages, there are two editors present on the product_form template.
Any solutions for this?
Thanks for your time
I have a similar problem. Over time debugging, I have found Solution for this. Hope, I can help you :
Open file:
Upload\admin\controller\common\filemanager.php
Find line 42:
Code: Select all
if (isset($this->request->get['CKEditorFuncNum'])) {
$this->data['fckeditor'] = TRUE;
} else {
$this->data['fckeditor'] = FALSE;
}
Code: Select all
if (isset($this->request->get['CKEditorFuncNum'])) {
$this->data['fckeditor_function'] = $this->request->get['CKEditorFuncNum'] ;
$this->data['fckeditor'] = TRUE;
} else {
$this->data['fckeditor_function'] = 0;
$this->data['fckeditor'] = FALSE;
}
After open file:
Upload\admin\view\template\common\filemanager.tpl
Find line 201:
Code: Select all
window.opener.CKEDITOR.tools.callFunction(1, '<?php echo $directory; ?>' + $(this).attr('file'));
Code: Select all
window.opener.CKEDITOR.tools.callFunction(<?php echo $fckeditor_function; ?>, '<?php echo $directory; ?>' + $(this).attr('file'));
Regards,
VinaEcom
My Extensions:
1. Quick Products Update
2. Purchase Order Pro for supplier
3. Who's Online
4. Video Album
5. Photo Album
Edit:
Code: Select all
window.opener.CKEDITOR.tools.callFunction('<?php echo $fckeditor_function; ?>', '<?php echo $directory; ?>/image/data/' + $(this).attr('file'));
I am having a problem like this:vinaecom wrote:Hi guys,
I have a similar problem. Over time debugging, I have found Solution for this. Hope, I can help you :
Open file:
Upload\admin\controller\common\filemanager.php
Find line 42:
Replace:Code: Select all
if (isset($this->request->get['CKEditorFuncNum'])) { $this->data['fckeditor'] = TRUE; } else { $this->data['fckeditor'] = FALSE; }
Code: Select all
if (isset($this->request->get['CKEditorFuncNum'])) { $this->data['fckeditor_function'] = $this->request->get['CKEditorFuncNum'] ; $this->data['fckeditor'] = TRUE; } else { $this->data['fckeditor_function'] = 0; $this->data['fckeditor'] = FALSE; }
After open file:
Upload\admin\view\template\common\filemanager.tpl
Find line 201:Replace:Code: Select all
window.opener.CKEDITOR.tools.callFunction(1, '<?php echo $directory; ?>' + $(this).attr('file'));
Code: Select all
window.opener.CKEDITOR.tools.callFunction(<?php echo $fckeditor_function; ?>, '<?php echo $directory; ?>' + $(this).attr('file'));
Regards,
VinaEcom
And the patch by vinaecom doesn't solve this issue. Anybody can help please?
IT IS A BUG!ratnalaurentina wrote:And the patch by vinaecom doesn't solve this issue. Anybody can help please?
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.
clinton4 wrote:Iam using 1.4.9.3 and i had the same problem. My solution was to change the owner and group rights to apache on the whole image folder, subfolders and files.
hi, could you explain the steps to change the owner and group rights of images folder to apache please? sorry for the noob question. kindly reply please. Best regards.
P.S: I've also tested even if i do clean install and the site is only one language (english), the problem still exists in the ckeditor image. even if you tried in the opencart demo http://demo.opencart.com/admin to upload image using ckeditor, the same problem exists.
IT IS A BUG!ratnalaurentina wrote: the same problem exists.
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.
I tried vinaecom's fix from Wed Jul 21, 2010 6:01 am, and clinton4's addendum from Wed Nov 24, 2010 4:21 am, and still have this issue. I also checked the permissions and that seemed ok. That said, it's been a long day, so I'll check this all tomorrow.
I'd say there seems to be a bug with uploading images via the "Upload" tab in the "Image Properties" dialogue, which I think is what I've hit here. Pretty much as-per the chat above.
There is a work around though, using the following steps...
1: Click the little button with the house, as my client calls the CKed image button.
2: Click the "Browse Server" button the "Image Properties" dialogue.
3: Click the "Upload" button in the "Image manager".
4: Select your image in the "File Upload" dialogue that appears, it'll then upload your image.
5: Now your image will be shown in the "Image manager", you can just double-click it to insert it into the page.
I'm on version 1.4.9.1 on an Ubuntu 10.04 LTS Xen VM hosted on Linode.
I'm a web developer at http://www.ssofb.co.uk in Aberdeen, Scotland.
Got a random blog at http://www.andygaskell.blogspot.com/.
This worked perfectly!!!vinaecom wrote:Hi guys,
I have a similar problem. Over time debugging, I have found Solution for this. Hope, I can help you :
Open file:
Upload\admin\controller\common\filemanager.php
Find line 42:
Replace:Code: Select all
if (isset($this->request->get['CKEditorFuncNum'])) { $this->data['fckeditor'] = TRUE; } else { $this->data['fckeditor'] = FALSE; }
Code: Select all
if (isset($this->request->get['CKEditorFuncNum'])) { $this->data['fckeditor_function'] = $this->request->get['CKEditorFuncNum'] ; $this->data['fckeditor'] = TRUE; } else { $this->data['fckeditor_function'] = 0; $this->data['fckeditor'] = FALSE; }
After open file:
Upload\admin\view\template\common\filemanager.tpl
Find line 201:Replace:Code: Select all
window.opener.CKEDITOR.tools.callFunction(1, '<?php echo $directory; ?>' + $(this).attr('file'));
Code: Select all
window.opener.CKEDITOR.tools.callFunction(<?php echo $fckeditor_function; ?>, '<?php echo $directory; ?>' + $(this).attr('file'));
Regards,
VinaEcom
1.4.9.3!!!
Great work!!!
Regards
Chris
Users browsing this forum: No registered users and 312 guests