 |
By: tiesar (offline) on November 02 2009 16:44 PM (Read 1794 times)
|
|
|
tiesar |
| tiesar |
|
Hi all!
I don't really know what happen but dokuwiki doesn't show any image. I've spent a lot of time on rewrite options and every possibile combination of them (site & docuwiki configurations).
So after uninstalling (yes: all files & folders regarding dokuwiki were deleted manually too) and installing again the plugin, I am in the same situation, i.e. I don't know why dokuwiki doesn't show images.
Thanks in advance for help.
t.
Victime of opensource creativity
|

Junior
Group Comfort Level:: +1  Status: offline
Registered: 10/11/09 Posts: 18
Italy
|
|
|
|
|
 |
By: Mark (offline) on November 02 2009 18:52 PM
|
|
|
Mark |
| Mark |
|
I have seen PHP settings cause DokuWiki to stop displaying images. For example, if we turn on FastCGI PHP here, the images top displaying. Has anything changed with the hosting environment recently?
Thanks!
Mark
glFusion - Enhanced Content Management
|

Admin
Group Comfort Level:: +93  Status: offline
Registered: 10/21/05 Posts: 5029
The Great State of Texas
|
|
|
|
|
 |
By: tiesar (offline) on November 03 2009 02:38 AM
|
|
|
tiesar |
| tiesar |
|
Quote by: MarkI have seen PHP settings cause DokuWiki to stop displaying images. For example, if we turn on FastCGI PHP here, the images top displaying. Has anything changed with the hosting environment recently?
Thanks!
Mark
Uhm... thanks for your reply. I will ask my hosting provider.
Regards,
t.
Victime of opensource creativity
|

Junior
Group Comfort Level:: +1  Status: offline
Registered: 10/11/09 Posts: 18
Italy
|
|
|
|
|
 |
By: tiesar (offline) on November 03 2009 02:58 AM
|
|
|
tiesar |
| tiesar |
|
Sorry for double post, but... I think there is something wrong in the plugin, 'cause dokuwiki (not the plugin, but the original documentation CMS) still working well in another directory. Perhaps uninstalling was not clear or experiments on url rewriting introduce some bug in glFusion environment. Certainly it may depends on installation of the new plugin "Bad Behaviour 2", but I've seen this bug a couple of days after this upgrade..
Ideas are welcome, instead of a fresh installation.
Regards,
t.
Victime of opensource creativity
|

Junior
Group Comfort Level:: +1  Status: offline
Registered: 10/11/09 Posts: 18
Italy
|
|
|
|
|
 |
By: Mark (offline) on November 03 2009 07:14 AM
|
|
|
Mark |
| Mark |
|
I agree it is something with the glFusion integration that is triggering the problem. Unfortunately, I have not been able to isolate it.
If it is Bad Behavior, you would see where BB blocked the requests in the BB log. Go to Command & Control -> Bad Behavior2 -> Show Log Entries and see if any of the DokuWiki requests are blocked.
Something else to try, go to the image directly (by clicking on the broken icon). For example, to access one of the images in our wiki, you go to:
wiki/lib/exe/detail.php/glfusion:installpanel.png?id=glfusion:installation
First, we'll see if this works. If not, then you can look at the web server's error log, it should show some clue why the request failed.
Thanks!
Mark
glFusion - Enhanced Content Management
|

Admin
Group Comfort Level:: +93  Status: offline
Registered: 10/21/05 Posts: 5029
The Great State of Texas
|
|
|
|
|
 |
By: tiesar (offline) on November 03 2009 12:14 PM
|
|
|
tiesar |
| tiesar |
|
Quote by: MarkI agree it is something with the glFusion integration that is triggering the problem. Unfortunately, I have not been able to isolate it.
If it is Bad Behavior, you would see where BB blocked the requests in the BB log. Go to Command & Control -> Bad Behavior2 -> Show Log Entries and see if any of the DokuWiki requests are blocked.
Something else to try, go to the image directly (by clicking on the broken icon). For example, to access one of the images in our wiki, you go to:
wiki/lib/exe/detail.php/glfusion:installpanel.png?id=glfusion:installation
First, we'll see if this works. If not, then you can look at the web server's error log, it should show some clue why the request failed.
Thanks!
Mark
Thanks Mark for your support.
Bad Behavior2 works well: I have also disabled without success.
Right-click on image give me this link (for example)
I think that web server is working well, because I made a fresh installation of glFusion with dokuwiki (in another directory) and it works. I remember that something similar happens to me some time later, when using XAMPP for learning something more on glFusion and after some experiments, dokuwiki stop showing images.
I think there's something to set about urlrewrite, but... where?
Yes, I have a fresh installation but I prefer a more simple workaround.
Regards,
t
Victime of opensource creativity
|

Junior
Group Comfort Level:: +1  Status: offline
Registered: 10/11/09 Posts: 18
Italy
|
|
|
|
|
 |
By: tiesar (offline) on November 08 2009 03:39 AM
|
|
|
tiesar |
| tiesar |
|
Hi all!
There are some contributory cause that prevent the images to be shown. Here are my full installation steps:
1. install glFusion 1.1.6
2. update plugin Bad Behavior2 to v2.0.32
3. install plugin "Dokuwiki integration v1.7.2" for glFusion 1.1.5;
4. change core language from "English" to "Italian" (have to clear cache browser to see new language, if using ie8 ). At this point the dokuwiki's images are lost. To see the images again into dokuwiki plugin, have to change again language into English (clearing again cache browser if using ie8 ). Magically images appear... but site remains in english. 
Perhaps a bug in Dokuwiki plugin or in the localize language... or whatever. Here is the bug: bon appetite! 
Victime of opensource creativity
|

Junior
Group Comfort Level:: +1  Status: offline
Registered: 10/11/09 Posts: 18
Italy
|
|
|
|
|
 |
By: Mark (offline) on November 08 2009 06:55 AM
|
|
|
Mark |
| Mark |
|
Thanks for the detailed explanation on how to re-create the problem. I have tried to re-create the issue on my local dev site, but I cannot get it to fail.
When you change the language, are you changing the glFusion configuration setting or the DokuWiki configuration setting, or both?
Also, is your site setup to use UTF-8 encoding (you can check the setting in the public_html/siteconfig.php file, near the bottom)?
Thanks!
Mark
glFusion - Enhanced Content Management
|

Admin
Group Comfort Level:: +93  Status: offline
Registered: 10/21/05 Posts: 5029
The Great State of Texas
|
|
|
|
|
 |
By: tiesar (offline) on November 08 2009 09:21 AM
|
|
|
tiesar |
| tiesar |
|
Quote by: MarkThanks for the detailed explanation on how to re-create the problem. I have tried to re-create the issue on my local dev site, but I cannot get it to fail.
When you change the language, are you changing the glFusion configuration setting or the DokuWiki configuration setting, or both?
Also, is your site setup to use UTF-8 encoding (you can check the setting in the public_html/siteconfig.php file, near the bottom)?
Thanks!
Mark
Hi Mark!
About the language, Dokuwiki's language is always set on "it": I changed only glFusion configuration. I have tested my site with Firefox 3.5.5, ie 8 and Chrome 2.0.172.28 obtaining always the same result. I left my site with wrong settings ("www.noiweb.net/glfusion" -> "Documentazione" for details).
About UTF-8 encoding, here is the line required:
$_CONF['default_charset'] = 'utf-8';
I attached a log for further information.
Thanks for help.
t.
Victime of opensource creativity
|

Junior
Group Comfort Level:: +1  Status: offline
Registered: 10/11/09 Posts: 18
Italy
|
|
|
|
|
 |
By: tiesar (offline) on November 08 2009 13:53 PM
|
|
|
tiesar |
| tiesar |
|
Far from being tired, I start a new test case, 'cause I notice 3 things:
1) Dokuwiki has a built-in plugin "Note", so new installation was not necessary;
2) I installed Fontsize2 plugin for Dokuwiki;
3) This is curious: when creating a new database, initial settings are:
3.1) MySQL charset: UTF-8 Unicode ( utf8 )
3.2) MySQL connection collation: UTF8_unicode_ci
These settings are inherited in ALL databases in my hosting environment. 
I remember that, following intallation's instructions of glFusion, database's settings have to be UTF_general_ci, and I do it.
I don't want to pursue database changes, so I will start a new installation with default database settings and under the condition of installing only the plugin fontsize2 for Dokuwiki... then I will tell you something more.
Thanks for replies and hope for more success. 
t.
Victime of opensource creativity
|

Junior
Group Comfort Level:: +1  Status: offline
Registered: 10/11/09 Posts: 18
Italy
|
|
|
|
|
 |
By: Mark (offline) on November 08 2009 14:31 PM
|
|
|
Mark |
| Mark |
|
I don't believe this would have anything to do with the database since DokuWiki does not actually use the database, all of its files are stored in plain text.
Can I get a URL to your site so I can do a little remote debugging and see if I can't isolate the problem?
Thanks!
Mark
glFusion - Enhanced Content Management
|

Admin
Group Comfort Level:: +93  Status: offline
Registered: 10/21/05 Posts: 5029
The Great State of Texas
|
|
|
|
|
 |
By: mst3kroqs (offline) on November 08 2009 14:40 PM
|
|
|
mst3kroqs |
| mst3kroqs |
|
Quote by: tiesarFar from being tired, I start a new test case ...
t.
I love the tenacious attitude, and the amusing signature! 
|

Admin
Group Comfort Level:: +13  Status: offline
Registered: 07/18/07 Posts: 474
Cary, NC
|
|
|
|
|
 |
By: tiesar (offline) on November 08 2009 16:23 PM
|
|
|
tiesar |
| tiesar |
|
Quote by: MarkI don't believe this would have anything to do with the database since DokuWiki does not actually use the database, all of its files are stored in plain text.
Can I get a URL to your site so I can do a little remote debugging and see if I can't isolate the problem?
Thanks!
Mark
I agree with you when treating the relation between dokuwiki and database, but I think there's something around the character set, the language and the dokuwiki. As I tell you some minutes ago, I will try a fresh installation. In previous post, the link:
http://www.noiweb.net/glfusion.
Now, I'm going to leave unchanged the database settings (perhaps the actual cause) and re-install glfusion again (using language English UTF-8 ). Then the steps:
- change all possible language settings;
- install plugin Dokuwiki then only fontsize2
...
Tell me "Good luck!" 
Victime of opensource creativity
|

Junior
Group Comfort Level:: +1  Status: offline
Registered: 10/11/09 Posts: 18
Italy
|
|
|
|
|
 |
By: Mark (offline) on November 08 2009 16:40 PM
|
|
|
Mark |
| Mark |
|
The URL made all the difference!
The problem is, there is a blank line being sent to the browser before any other content. The easiest way to see this is to do a view source on your main index page. You'll see a blank line before the <!DOCTYPE html ...> line.
Generally, this is caused by one of the language files when you edit them. Or, one of the other files that you might have edited.
If we can find the blank line, we'll get the images working again!
Thanks!
Mark
glFusion - Enhanced Content Management
|

Admin
Group Comfort Level:: +93  Status: offline
Registered: 10/21/05 Posts: 5029
The Great State of Texas
|
|
|
|
|
 |
By: tiesar (offline) on November 08 2009 19:40 PM
|
|
|
tiesar |
| tiesar |
|
Victime of opensource creativity
|

Junior
Group Comfort Level:: +1  Status: offline
Registered: 10/11/09 Posts: 18
Italy
|
|
|
|
|