Tags:
create new tag
view all tags

SID-00976: Images not being shown and js and css are not working

Status: Answered 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title Images not being shown and js and css are not working
SupportCategory CategoryBrowser
TWiki version 5.0.0
Server OS Windows Server 2008 64 bit
Web server Apache 2.2
Perl version Active Perl 5.12.1 Build 1201
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatconf httpd.conf r1 manage 18.0 K 2010-09-23 - 11:23 UnknownUser  
Unknown file formatconf twiki.conf r1 manage 8.2 K 2010-09-23 - 11:23 UnknownUser  
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2010-11-08 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.