I'm having a problem in opencart 1.5.6.
When i try to upload a file, it appears the resulting filebrowser opens in the uploadbox or doesn't get enough height.
To make things more clear here's an example:
I click browse, choose a file and then send to server ^
After that i get this ^.
I tried the following things, but most seem for older versions of opencart.
1. I updated the ckeditor files to the latest files from the ckeditor website.
2. I followed instructions from http://forum.opencart.com/viewtopic.php ... 2&start=20
3. I followed instructions from http://forum.opencart.com/viewtopic.php ... 4&p=114347
Neither is working.
I'm hoping somebody can tell me how to fix this, as I can't seem to upload/link any files now.
Edit: Fresh install of 1.5.6 btw, only added dutch language and set dutch as standard.
When i try to upload a file, it appears the resulting filebrowser opens in the uploadbox or doesn't get enough height.
To make things more clear here's an example:
I click browse, choose a file and then send to server ^
After that i get this ^.
I tried the following things, but most seem for older versions of opencart.
1. I updated the ckeditor files to the latest files from the ckeditor website.
2. I followed instructions from http://forum.opencart.com/viewtopic.php ... 2&start=20
3. I followed instructions from http://forum.opencart.com/viewtopic.php ... 4&p=114347
Neither is working.
I'm hoping somebody can tell me how to fix this, as I can't seem to upload/link any files now.
Edit: Fresh install of 1.5.6 btw, only added dutch language and set dutch as standard.
Last edited by RagingRaven on Wed Oct 09, 2013 11:26 pm, edited 1 time in total.
Drop back to the prior ckeditor series. The current one does not work as consistently. On July 11 two versions were released, a partial version apart, use the lower number, older by several hours. At ckeditor.com/download/ you will find prior packages below the current one. Start there.
This one: http://ckeditor.com/release/CKEditor-4.1.3 downloadable as http://download.cksource.com/CKEditor/C ... andard.zip (they fiddled with it, it is July 18's).
This one: http://ckeditor.com/release/CKEditor-4.1.3 downloadable as http://download.cksource.com/CKEditor/C ... andard.zip (they fiddled with it, it is July 18's).
Just dropped down to the linked version as suggested, no changes
.
I didn't think it would work as it allready gave this problem with the bundled editor, I only upgraded to the latest version to see if it would change.

I didn't think it would work as it allready gave this problem with the bundled editor, I only upgraded to the latest version to see if it would change.
The bundled one with 1.5.5.1 and probably kept in 1.5.6.0 was the source of an array of obvious and subtle problems, the solution of replacing ckeditor outright became clear in early April, and replacement generally works. What are your theme and extensions?
Theme is default-black, but that one makes no changes to the admin part so I can't think of a reason that would interfere.
Extensions are:
Clean Urls:
http://www.opencart.com/index.php?route ... on_id=3802
Dutch language pack (sorry topic is in dutch):
http://forum.opencart.com/viewtopic.php?t=106670
Dutch VAT (dutch also):
http://forum.opencart.com/viewtopic.php?f=105&t=44597
Information Pages Hierarchical Top Menu
http://www.opencart.com/index.php?route ... on_id=5684
Advance News System
http://www.opencart.com/index.php?route ... load_id=32
Social media buttons (followme v3)
http://www.opencart.com/index.php?route ... on_id=6532
vqmod
These are all extensions as far as I can think of and none of them have any component that does anything with uploads or the upload dialog, so it looks to me it's not one of those that's causing it.
Extensions are:
Clean Urls:
http://www.opencart.com/index.php?route ... on_id=3802
Dutch language pack (sorry topic is in dutch):
http://forum.opencart.com/viewtopic.php?t=106670
Dutch VAT (dutch also):
http://forum.opencart.com/viewtopic.php?f=105&t=44597
Information Pages Hierarchical Top Menu
http://www.opencart.com/index.php?route ... on_id=5684
Advance News System
http://www.opencart.com/index.php?route ... load_id=32
Social media buttons (followme v3)
http://www.opencart.com/index.php?route ... on_id=6532
vqmod
These are all extensions as far as I can think of and none of them have any component that does anything with uploads or the upload dialog, so it looks to me it's not one of those that's causing it.
I went to the official demo:
http://www.opencart.com/index.php?route ... onstration
It gives the exact same problem for me on multiple browsers: How to reproduce:
Take either
internet explorer (10.0.9200.16721)
chrome (30.0.1599.69)
firefox (24.0)
goto the demo (admin part)
http://demo.opencart.com/admin/
login with demo/demo
go to catalog->information and edit a page.
in the description box type a word, select it and click on the link button.
goto the upload tab and browse for a file, any file will do.
click on send to server button and see the resulting window, it will look like my attachment.
This would suggest it being a bug in the default code, my question then is...does anybody have a fix or is able to fix this?
http://www.opencart.com/index.php?route ... onstration
It gives the exact same problem for me on multiple browsers: How to reproduce:
Take either
internet explorer (10.0.9200.16721)
chrome (30.0.1599.69)
firefox (24.0)
goto the demo (admin part)
http://demo.opencart.com/admin/
login with demo/demo
go to catalog->information and edit a page.
in the description box type a word, select it and click on the link button.
goto the upload tab and browse for a file, any file will do.
click on send to server button and see the resulting window, it will look like my attachment.
This would suggest it being a bug in the default code, my question then is...does anybody have a fix or is able to fix this?
Hi, I have the same problem with my installation of opencart. Also if you click on "browse server" button. nothing happens
Anyone know how to fix?
cheers
Anyone know how to fix?
cheers
@butte:
I could, but seeing as it's also happening in the official demo, I don't think it's any of the extensions.
As shown in my previous post, this appears to be a bug in the default installation, I was just hoping somebody had found the problem or is familiar enough with the sourcecode to find a solution.
I could, but seeing as it's also happening in the official demo, I don't think it's any of the extensions.
As shown in my previous post, this appears to be a bug in the default installation, I was just hoping somebody had found the problem or is familiar enough with the sourcecode to find a solution.
This is basically loading the custom file manager used by opencart. You can either upload the file directly via ftp then add the link manually on the editor or use a module that could add a custom file uploader.
Opencart Options Pro, Reward Points For Review, DISQUS Comment Form,
Dolrich Fortich - Freelance web developer
I don't understand the point you are making here, opencart is providing a standard file upload system which comes with the default download.dolrichfortich wrote:This is basically loading the custom file manager used by opencart. You can either upload the file directly via ftp then add the link manually on the editor or use a module that could add a custom file uploader.
This system isn't working as it should, so you say we should do it manually or add a custom system?
Sure... this might prove to be a workaround, but as far as I see it OpenCart isn't working as it should at the moment.
As shown in the official demo, the system they provide, to upload and link a file, isn't working.
I would like to see a solution to this problem, because in my opinion the default files provided by OpenCart should work and we shouldn't have to use a flawed workaround.
Perhaps I misunderstood what you were trying to say, but to me it looks as though you didn't really read my posts.
The uploader for the editor only works for images.
Made a module just for this in case you are interested.
http://dolrichfortich.com/product-descr ... e-uploader
Made a module just for this in case you are interested.
http://dolrichfortich.com/product-descr ... e-uploader
Opencart Options Pro, Reward Points For Review, DISQUS Comment Form,
Dolrich Fortich - Freelance web developer
Sorry to be so blunt, but that's bullshit.dolrichfortich wrote:The uploader for the editor only works for images.
Made a module just for this in case you are interested.
http://dolrichfortich.com/product-descr ... e-uploader
1. the same problem exists when selecting an image.
2. the system allows for other files as well it just doesn't show the uploaded files, due to the resulting window being to small , as seen in my previous posts.
3. you obviously didn't read any of my posts or you would have known your answer doesn't make sense.
4. why would I want to pay 15 bucks for an addon if the system is allready available in default OC? (even if it's broken for now)
I wouldn't be making the plugin if the feature is already available. You can wait for the future version or have someone fix it for you.
Opencart Options Pro, Reward Points For Review, DISQUS Comment Form,
Dolrich Fortich - Freelance web developer
Not available you say?dolrichfortich wrote:I wouldn't be making the plugin if the feature is already available. You can wait for the future version or have someone fix it for you.
Then what is this feature that's there in the official demo? (scroll to see entire image): Looks to me like a file upload system for uploading files to link on an information page.
This is the system i'm talking about and this is the system that's giving me the described problem.
As said before, replacing this existing system, with a paid solution does not fix the original problem, it's only a workaround.
I'm not saying your addon doesn't add anything, but there is allready a system in place to link a file on an information page as shown above, but that system isn't doing what it's supposed to do.
All i'm trying to figure out is what should be changed to make the above system work.
Again: I might misunderstand what you are trying to say, but why would there be a system in place when clicking on the link button in the editor, to upload a file, only to get a small bar as seen in my earlier posts?
Wouldn't you agree that if it's only there because it is used in another part of the system, that there should at least be a message stating that you have to use a custom upload extension or even better not show the upload tab at all ?
To me it looks like a bug that should be fixed and it's actually intended to work as was to be expected.
Yeah, its just there but its not really working. The default setup for it supposed to work, http://ckeditor.com/demo.
Its not working due to the custom file manager override, the new file manager does not support that tab.
Its not working due to the custom file manager override, the new file manager does not support that tab.
Opencart Options Pro, Reward Points For Review, DISQUS Comment Form,
Dolrich Fortich - Freelance web developer
Ok so basically we both agree that it's a bug ?dolrichfortich wrote:Yeah, its just there but its not really working. The default setup for it supposed to work, http://ckeditor.com/demo.
Its not working due to the custom file manager override, the new file manager does not support that tab.
The demo of ckeditor works how one would expect, this behavior doesn't work in the opencart implementation.
What I now understand from your posts is that this is caused by a custom file manager used in opencart.
In my opinion this then appears to be in error and should be fixed, either they should remove the tab if they don't wish to support linking to an uploaded file or they should make it so the default ckeditor works as in their demo.
I appreciate the fact that you made an extension for that, but I still think the guys from OC should fix this.
Or I was hoping for a change to the code to allow for the default ckeditor behavior.
Further more, from what I understand, this used to work just fine in older versions of OC, which gives me all the more reason to believe it is a bug and not intended.
Seeing as a bugfix won't happen straight away, I was hoping for someone that has enough familiarity with the code to make it so that CKEditor goes back to the default behavior.
As seen in my first few posts, in older versions there were people who had this fixed, but their changes to the code no longer work in 1.5.6.
But perhaps someone is kind enough to take a look at it and make it work for 1.5.6 as well.
I thank you for your explanation though, as I now see where the problem comes from, perhaps if nobody can fix this I might consider using your extension as a workaround.
To remove the upload tabs you can add the following to admin\view\javascript\ckeditor\config.js.
You would then use the browse server button in the link info tab.
Code: Select all
config.removeDialogTabs = 'link:upload;image:Upload';
But you would then have to upload manually with FTP right ?ADD Creative wrote:To remove the upload tabs you can add the following to admin\view\javascript\ckeditor\config.js.
You would then use the browse server button in the link info tab.Code: Select all
config.removeDialogTabs = 'link:upload;image:Upload';
The problem with this is that the system is going to be used by people with a lot less computer knowledge than me, so if possible i'd still rather have the default ckeditor behavior working instead of this.
But if nobody knows how to, this might be a nice workaround, thanks.
You can upload by clicking the 'Browse Server' button and then 'upload'. If you want more then just images you can edit the size limit and file types. https://github.com/opencart/opencart/bl ... #L436-L459
The downside is you can only upload to the image directory or a sub-directory of image.
The downside is you can only upload to the image directory or a sub-directory of image.
Who is online
Users browsing this forum: Amazon [Bot] and 93 guests