Re: [Zope] Install problem with fastcgi
Hi, [EMAIL PROTECTED] wrote: Hello all, I try to install mod_fastcgi but Apache says : Cannot load /usr/lib/apache/1.3/mod_fastcgi.so into server: / usr/lib/apache/1.3/mod_fastcgi.so: undefined symbol: ap_os_is_path_absolute /usr/sbin/apachectl start: httpd could not be started I compiled with the options: apxs -o mod_fastcgi.so -c *.c apxs -i -a -n fastcgi mod_fastcgi.so And add in the file http.conf : LoadModule fastcgi_module /usr/lib/apache/1.3/mod_fastcgi.so do you have a ClearModuleList directive ? Then you should add AddModule mod_fastcgi.c Versions used: - Apache 1.3.9-13 (Debian Potato) - Mod_fastcgi 2.2.10 Is you see why ... ... Holger ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] New version of book uploaded
Hi, Michel Pelletier wrote: Greetings, Read this carefully, you may end up with a free, signed copy of the Zope book. Chapter 9: Searching and Categorizing Content Searching Catalogs Searching from Python Here is a Python Method called relevantSectionNews that accepts ^ no parameters. This method queries the news Catalog with the current folder's id: ... Holger ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Simple DTML date-stamp
Hi, William BC Crandall wrote: Just starting to set things up, and I would like a standard_html_footer with a date-stamp. As a start, I tried: hr pLast modified: dtml-var name="date" fmt="aCommonZ"/p pdtml-var ZopeAttributionButton/p /body /html Why does this break? Minimal format breaks in the same way: hr pLast modified: dtml-var date fmt=aCommonZ/p pdtml-var ZopeAttributionButton/p /body /html If you want the date the document was last modified, then you have to use dtml-var bobobase_modification_time or dtml-var bobobase_modification_time fmt=aCommonZ . If this is in standard_html_footer and standard_html_footer is a dtml-method, then you should probably use dtml-with "this" dtml-var bobobase_modification_time fmt=aCommonZ /dtml-with ... Holger ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Help Needed for creating : Page 1 2 3 4 Previous:Next
Hi, Peter Marriott wrote: Hi, I would really appreciate it if someone could point me to some example dtml that gives navigation links like the following at the bottom of a list of items. Page 1 2 3 4 5Previous:Next (with the current page highlighted bold) it is ugly, but it works for me ... the following creates links like: [ previous ] 1 2 3 4 5 6 7 8 [ next ] dtml-call "REQUEST.set('i', 1)" dtml-in somelist previous size=10 start=qs a href="dtml-var URLdtml-var sequence-queryqs=dtml-var previous-sequence-start-number"[ previous ]/anbsp;nbsp;nbsp; /dtml-in dtml-in somelist previous size=10 start=qs dtml-in previous-batches mapping a href="dtml-var URLdtml-var sequence-queryqs=dtml-var batch-start-number"dtml-var i/anbsp; dtml-call "REQUEST.set('i',i+1)" /dtml-in /dtml-in dtml-var inbsp; dtml-call "REQUEST.set('i', i+1)" dtml-in somelist next size=10 start=qs dtml-in next-batches mapping a href="dtml-var URLdtml-var sequence-queryqs=dtml-var batch-start-number"dtml-var i/anbsp; dtml-call "REQUEST.set('i',i+1)" /dtml-in /dtml-in dtml-in somelist next size=10 start=qs nbsp;nbsp;nbsp;a href="dtml-var URLdtml-var sequence-queryqs=dtml-var next-sequence-start-number"[ next ]/a /dtml-in ... Holger ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )