While editing a wiki page i can set and upload an image.
Clicking on the picture image i get to the image properties windows.
In the tab "Image Info" i choose "browse server" and from there shows up the FCKeditor ressources browser.
I choose to create a folder, input name and upload picture.
Then the picture is available and i can choose it and validate it back throught the "Image Properties" windows where the image url show:
/tikiwiki10/img/wiki_up/image/test/tv.png
The picture image is broken
It keeps broken after wiki page save
When i reedit the page and open for this picture the "image properties" it shows as image url:
http://mydomain.com/tikiwiki10/img/wiki_up/image/test/tv.png
The image is not there of course, it have been installed in a folder test 3 step up from the root of my website !
Meaning that path should have been : /var/www/sites/xxx/xxx.com/subdomains/www/html/tikiwiki10/img/wiki_up/test
and the folder test has been in fact created here:
/var/www/sites/xxx/xxx.com/subdoma/tikiwiki10/img/wiki_up/test
And that... is not good at all
But it is not over.
If i upload manualy the picture and edit the wiki page i can add in the "image properties" the direct url to the picture after clicking the ok button it show nice in the preview page.
If i save the page the image link is changed for something like:
http://xxx.com/tikiwiki10/show_image.php?id=5
And there again... no picture shows on the saved wiki page.
Fixed in commit "FIX fckeditor images: fix bug #1099 ('Error while uploading pictures in a wiki page', submitted by Yoni).".
This bug was quite hard to see, because this bug was only visible when the "file gallery" feature was disabled.
On some installations, the "Use cache for external images" admin option has no value in database. tiki-setup.php was configured to disable it by default, but the code that was parsing the wiki page was activating it by default. Thus, even if this option seemed disabled in general admin page, it was trying to move images uploaded in FCKeditor to file galleries.
This explains why without file galleries, your images were not displayed in wiki pages anymore.
The fix force tikiwiki to exclude FCKeditor images from this cache process.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |