• This topic has prefixes assigned
Viewing 5 posts - 1 through 5 (of 5 total)
Author
Posts
  • #11807

    A couple of users recently alerted me to a problem found when trying to upload and use images on various pages, such as stories, ‘pages’ FAQs, html blocks etc. All part of the “CKeditor” (‘CKE’) package.

    It is a bug, but not one it is practical to fix. It is in a sub-package of CKE called KCFinder, which manages the upload and storage of the images. It hasn’t been updated by it’s creator for some years now, and has finally broken due to updates of all it’s surround php and javascript requirements.

    The bug is most evident the moment you try to upload an image, as you only get a pop-up saying “You do not have permission to browse the server” or similar message.

    So I have been looking for an alternative solution. After some days searching (it needed to be compatible, up-to-date, and fully open source , and free). I have identified one. I am now testing it on my own system.

    All going well, I should have it available as a replacement module next week.

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #11814

    I have now completed testing of the replacement image upload package, and had a couple of other users test it for me. So attached here is a replacement that can be used now, or you can wait for the next release (3.3.9) which will include this. Not sure exactly when that will be though.
    Take care with this fix though, as it’s not quite as straightforward as most posted here.

    Here is what is required (it looks worse than it actually is):

    • First, if you have never, or have no immediate plans to, upload images for use in pages, stories, faq, or html modules, then you do not need this replacement. Just wait for kiwitrees 3.3.9. If you don’t know if you need this fix or not, then it is most likely you do not.
    • This a a complete replacement for the module “ckeditor”, not just a single file, and that is the largest of all the modules. The zip file attached here is over 2MB.
    • As always, extract the contents from the zip file and place them on your PC/mac ready to upload to your web server. It will be a folder called “ckeditor”.
    • DO NOT immediately copy and over-write the existing kiwitrees/modules_v4/ckeditor folder.
    • You will need to first protect any existing uploaded images. They might be in either, or both, of two locations. Those are kiwitrees/uploads/images/, or kiwitrees/modules_v4/ckeditor.kcfinder/uploads/. FInd those and download them to your pc for safe-keeping.
    • Now delete the existing folder kiwitrees/modules_v4/ckeditor completely. Do not re-name it, as that will stop your site from working.
    • Once that is deleted you can copy the complete replacement ckeditor folder from your your desktop to kiwitrees/modules_v4.
    • Now you may need to edit the html links to your existing images. As mentioned above, they may reference storage at either kiwitrees/uploads/images/, or kiwitrees/modules_v4/ckeditor.kcfinder/uploads/. The new location of the images will be kiwitrees/uploads/. This will be easier to use , but does unfortunately cause some work to fix.
    • Finally, take any images you downloaded (see above) for ‘safe-keeping’ and transfer them back to your server, at the new location. Hopefully now your site will be back to normal.

    Please do contact me if you need any help with this change.

    EDIT: Due to the size of this fix it cannot be attached here. Click this link to download it…..

    https://www.kiwitrees.net/download/11816/

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #11861

    Have the same problem here, can’t put images in various pages. Tried to download fix 11816 but I get an ‘failed network error’.

  • #11862

    Thanks. It looks like the zip folder was corrupted. Should be fixed now. I’ve checked this version twice and it’s OK for me.

    https://www.kiwitrees.net/download/11816/

    (Yes, that is the same link – but to a different version 🙂 )

    Nigel
    My personal kiwitrees site is www.our-families.info
  • #11864

    Thanks, could download it now..

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.