Hi, No we got 3 servers; one is the r538-cms and the other 2 are www.juize.fm (ladbalecing) on each server is running the same mmbase but i think they are not configured the know each other; otherwise in the admin they see eachother. The database is a mysql 4.1 for all the servers. If i dump the cache on a server it works so turning of the cache is a solution. Monday I will trie your code in de mmbasedebug.jsp In the logs is nothing weird to see.... greets Dave
________________________________ From: [EMAIL PROTECTED] on behalf of Nico Klasens Sent: Sat 23-6-2007 15:29 To: Discussion list for designers (front-end) and community Subject: Re: [Users] mm:image Hello Dave, Just reading the thread and I am wondering some things. Are http://www.juize.fm/juizefm/ and http://r538-cms.bluedome.net/juizefm/ the same server and application or are they two instances. If they are what is the difference between the two software-wise? And how are these related to eachother. Running on the same database with a mmbase cluster? By hitting the refresh several times on http://www.juize.fm/juizefm/mmbasedebug.jsp the results sometimes switch to different images not displayed. When I do this the response headers mention "Server: Apache-Coyote/1.1" so I assume it is all on tomcat and not a system in front of it who returned the html. The <mm:related path="artist" max="1"> seems to be the problem. Assuming this it could be an issue with the mmbase caches. Is it possible to do some test where the multilevelcache is turned off (database load will go up)? And what happens when you change <mm:related path="artist" max="1"><mm:node element="artist"> to <mm:relatednodes type="artist">? Maybe a silly question, but what is the log file saying? Regards, Nico Dave Smits wrote: >Hi, >For the site juize.fm we use mmbase 1.7.4-final 20050922. >But since a couple of weeks we got problems with mm:image. >Is the server is running for a while (like a hour of more) mm:image don't give >a result on >the production server; you can see it on www.juize.fm at the headlines. some >images are black and when you look in the source there is no image url. > >On the CMS server the image are showed >(http://r538-cms.bluedome.net/juizefm/home.jsp) > >the jsp looks like this: ><mm:node number="urban"> ><% int i = 0; %> ><mm:relatednodes type="newsarticle" constraints="starttime > >$curtime-24*60*60*21 AND endtime > $curtime AND publish = 'y'" max="6" >orderby="starttime" directions="down"> ><% i++; %> > <tr> > <td height="50"> > <div id="hp_news<%=i%>" style="overflow:hidden;"> </div> > > <script type="text/javascript"> > // <![CDATA[ > var fo = new FlashObject("swf/headlines.swf", "hp_news<%=i%>", "395", "50", > "7", "#FFFFFF"); > fo.addVariable("url", "<mm:field name="number"/>"); > fo.addVariable("id", "<mm:related path="related,artist" max="1" > orderby="related.number"><mm:node element="artist"><mm:relatednodes > type="image" role="title"><mm:image template="s(80)+quality(100)" > /></mm:relatednodes></mm:node></mm:related>"); > fo.addVariable("title", "<mm:field name="title"/>"); > fo.addParam("wMode", "transparent"); > fo.addParam("menu", "false"); > fo.write("hp_news<%=i%>"); > // ]]> > </script> > </td> > </tr> > <mm:last inverse="true"> > <tr><td height="6"></td></tr> > </mm:last> ></mm:relatednodes> ></mm:node> > >Does somebody know why and how we can fix it. After we reset the server is >fixed for a hour (maybe a little bit more...) so imagemagick works. > >Greets Dave > >ps. Upgrading mmbase is not an option. we tried this before and mmbase tries >then to create a tables. >-------------------------------------------------------------------------------- > >The information contained in this communication is confidential and may be >legally privileged. It is intended solely for the use of the individual or >entity to whom it is addressed and others authorised to receive it. If you are >not the intended recipient you are hereby notified that any disclosure, >copying, distribution or taking any action in relation to the contents of this >information is strictly prohibited and may be unlawful. Neither the sender nor >the represented institution are liable for the correct and complete >transmission of the contents of an e-mail, or for its timely receipt. > > >_______________________________________________ >Users mailing list >Users@lists.mmbase.org >http://lists.mmbase.org/mailman/listinfo/users > > > > _______________________________________________ Users mailing list Users@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/users
<<winmail.dat>>
_______________________________________________ Users mailing list Users@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/users