SID-00976: Images not being shown and js and css are not working
| Status: |
Answered |
TWiki version: |
5.0.0 |
Perl version: |
Active Perl 5.12.1 Build 1201 |
| Category: |
CategoryBrowser |
Server OS: |
Windows Server 2008 64 bit |
Last update: |
15 years ago |
I am new to the Perl, Apache and Twiki. I have installed twiki and its running now.
But its being displayed distorted and also images are not being displayed.
In apache logs:
[Thu Sep 23 15:18:32 2010] [error] [client 192.168.130.106] D:/Twiki/twiki/pub/TWiki/TopMenuSkin/menu-reverse-bg.png is not executable; ensure interpreted scripts have "#!" first line, referer:
http://taldev559:85/twiki/bin/view.pl
[Thu Sep 23 15:18:32 2010] [error] [client 192.168.130.106] (9)Bad file descriptor: don't know how to spawn child process: D:/Twiki/twiki/pub/TWiki/TopMenuSkin/menu-reverse-bg.png, referer:
http://taldev559:85/twiki/bin/view.pl
[Thu Sep 23 15:18:32 2010] [error] [client 192.168.130.106] D:/Twiki/twiki/pub/TWiki/JQueryPlugin/jquery-all.js is not executable; ensure interpreted scripts have "#!" first line, referer:
http://taldev559:85/twiki/bin/view.pl
[Thu Sep 23 15:18:32 2010] [error] [client 192.168.130.106] (9)Bad file descriptor: don't know how to spawn child process: D:/Twiki/twiki/pub/TWiki/JQueryPlugin/jquery-all.js, referer:
http://taldev559:85/twiki/bin/view.pl
[Thu Sep 23 15:18:32 2010] [error] [client 192.168.130.106] D:/Twiki/twiki/pub/TWiki/JQueryPlugin/jquery-all.css is not executable; ensure interpreted scripts have "#!" first line, referer:
http://taldev559:85/twiki/bin/view.pl
[Thu Sep 23 15:18:32 2010] [error] [client 192.168.130.106] (9)Bad file descriptor: don't know how to spawn child process: D:/Twiki/twiki/pub/TWiki/JQueryPlugin/jquery-all.css, referer:
http://taldev559:85/twiki/bin/view.pl
[Thu Sep 23 15:18:32 2010] [error] [client 192.168.130.106] D:/Twiki/twiki/pub/TWiki/TWikiJavascripts/twikilib.js is not executable; ensure interpreted scripts have "#!" first line, referer:
http://taldev559:85/twiki/bin/view.pl
[Thu Sep 23 15:18:32 2010] [error] [client 192.168.130.106] (9)Bad file descriptor: don't know how to spawn child process: D:/Twiki/twiki/pub/TWiki/TWikiJavascripts/twikilib.js, referer:
http://taldev559:85/twiki/bin/view.pl
[Thu Sep 23 15:18:32 2010] [error] [client 192.168.130.106] D:/Twiki/twiki/pub/TWiki/HeadlinesPlugin/style.css is not executable; ensure interpreted scripts have "#!" first line, referer:
http://taldev559:85/twiki/bin/view.pl
[Thu Sep 23 15:18:32 2010] [error] [client 192.168.130.106] (9)Bad file descriptor: don't know how to spawn child process: D:/Twiki/twiki/pub/TWiki/HeadlinesPlugin/style.css, referer:
http://taldev559:85/twiki/bin/view.pl
[Thu Sep 23 15:18:32 2010] [error] [client 192.168.130.106] D:/Twiki/twiki/pub/TWiki/TWikiJavascripts/twikiWindow.js is not executable; ensure interpreted scripts have "#!" first line, referer:
http://taldev559:85/twiki/bin/view.pl
[Thu Sep 23 15:18:32 2010] [error] [client 192.168.130.106] (9)Bad file descriptor: don't know how to spawn child process: D:/Twiki/twiki/pub/TWiki/TWikiJavascripts/twikiWindow.js, referer:
http://taldev559:85/twiki/bin/view.pl
--
PradeepDubey - 2010-09-23
Discussion and Answer
Though I am trying to explore more and more about twiki using google searches, I have done the following.
-> used the addhandler for pubs category.
-> used defaulthandler
-> uncommented the following in httpd.conf
EnableMMAP off
EnableSendfile off
I have also attached the conf files of apache and twiki for your reference.
--
PradeepDubey - 2010-09-23
This looks like an Apache config issue for the TWiki directories, D:/Twiki/twiki/pub/ seems to be configured as a cgi directory. It needs to be configured as a document root directory.
See also
ApacheConfigGenerator.
--
PeterThoeny - 2010-09-23
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2010-11-08
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.