Re: Notice: Undefined variable: tplData in includes/xarTemplate.php on line 1056
Andreas Nyback <[email protected]>
| Newsgroups | gmane.comp.cms.xaraya.user |
|---|---|
| Organization | Xaraya |
| Message-ID | <[email protected]> |
No, i did not get any response so i just waited running on 5.2.4 But its getting a problem for me since gentoo (the linux distro i use) just removed 5.2.4 from the package repository so i cannot upgrade my server any more if i don't follow with upgrading php... I figured someone would start to react sooner or later if its a real problem with xaraya and php versions and not something in my install. Since you also have same trouble maybe confirms its not just my install but actually a real bug in xaraya. I will add a bug report to xaraya bugzilla. /Andreas Andreas Nyback skrev: > If looks like i get this trouble if i run php 5.2.5 or 5.2.6 > php 5.2.4 works fine... > Anyone else running xaraya on php 5.2.5 or above? > /Andreas > > > Andreas Nyback skrev: >> Suddenly got this after a reboot of a server. Two different installs >> give same error. Site loads but with a bunch of those on each page. >> Also pages like /upgrade.php has same errors on them. >> >> Anyone has a hint where to look for the reason? >> >> new version of php and mysql could maybe have been activated with the >> reboot. Sites where not touched so my guess is that something like >> php/mysql/apache changed. >> >> Same result with Xaraya 1.1.3 and 1.1.4 and latest from monotone. >> /Andreas >> >> >> --------------------------------------- >> >> Notice: Undefined variable: tplData in >> /var/www/nyback/htdocs/includes/xarTemplate.php on line 1056 >> >> Notice: Undefined variable: tplData in >> /var/www/nyback/htdocs/includes/xarTemplate.php on line 1056 >> >> Warning: Cannot modify header information - headers already sent by >> (output started at >> /var/www/nyback/htdocs/includes/xarTemplate.php:1056) in >> /var/www/nyback/htdocs/var/cache/templates/993878f9fca2c855e5626e6bc339f646.php >> on line 11 >> >> Notice: Undefined variable: tplData in >> /var/www/nyback/htdocs/includes/xarTemplate.php on line 1056 >> >> Notice: Undefined variable: tplData in >> /var/www/nyback/htdocs/includes/xarTemplate.php on line 1056 >> >> Notice: Undefined variable: tplData in >> /var/www/nyback/htdocs/includes/xarTemplate.php on line 1056 >> >> >> ---------------------------------------------------- >> >> Some log.txt output: >> >> >> >> 2008/03/06 01:13:17 0.77767000 +0.289 [DEBUG] Using template : >> themes/nyback/modules/articles/user-summary-news.xt >> 2008/03/06 01:13:17 0.77906600 +0.290 [DEBUG] Using template : >> themes/nyback/modules/articles/user-summary-news.xt >> 2008/03/06 01:13:17 0.78157300 +0.293 [DEBUG] Using template : >> themes/nyback/modules/articles/user-summary-news.xt >> 2008/03/06 01:13:17 0.78296100 +0.294 [DEBUG] Using template : >> themes/nyback/modules/articles/user-summary-news.xt >> 2008/03/06 01:13:17 0.78757900 +0.299 [DEBUG] Using template : >> modules/base/xartemplates/pager-default.xd >> 2008/03/06 01:13:17 0.78992000 +0.301 [DEBUG] Using template : >> themes/nyback/modules/articles/user-view.xt >> 2008/03/06 01:13:17 0.79194000 +0.303 [ERROR] Logged error: code: 2 >> ASSERT_FAILURE | ASSERTION FAILED: >> /var/www/nyback/htdocs/includes/xarTemplate.php [1103] : >> is_array($tplData); /* Template data should always be passed in an >> array */ >> 2008/03/06 01:13:17 0.79278400 +0.304 [ERROR] Logged error backtrace: >> Array >> ( >> [0] => Array >> ( >> [file] => /var/www/nyback/htdocs/includes/xarException.php >> [line] => 118 >> [function] => xarException__backTrace >> [args] => Array >> ( >> ) >> >> ) >> >> [1] => Array >> ( >> [file] => /var/www/nyback/htdocs/includes/xarException.php >> [line] => 443 >> [function] => xarErrorSet >> [args] => Array >> ( >> [0] => 2 >> [1] => ASSERT_FAILURE >> [2] => ASSERTION FAILED: >> /var/www/nyback/htdocs/includes/xarTemplate.php [1103] : >> is_array($tplData); /* Template data should always be passed in an >> array */ >> ) >> >> ) >> >> [2] => Array >> ( >> [function] => xarException__assertErrorHandler >> [args] => Array >> ( >> [0] => >> /var/www/nyback/htdocs/includes/xarTemplate.php >> [1] => 1103 >> [2] => is_array($tplData); /* Template data should >> always be passed in an array */ >> ) >> >> ) >> >> [3] => Array >> ( >> [file] => /var/www/nyback/htdocs/includes/xarTemplate.php >> [line] => 1103 >> [function] => assert >> [args] => Array >> ( >> [0] => is_array($tplData); /* Template data should >> always be passed in an array */ >> ) >> >> ) >> >> [4] => Array >> ( >> [file] => /var/www/nyback/htdocs/includes/xarTemplate.php >> [line] => 1020 >> [function] => xarTpl__executeFromFile >> [args] => Array >> ( >> [0] => >> modules/articles/xartemplates/includes/publinks.xd >> [1] => >> ) >> >> ) >> >> [5] => Array >> ( >> [file] => >> /var/www/nyback/htdocs/var/cache/templates/1a8af955416e76e45e5827cfeb9ddee1.php >> >> [line] => 24 >> [function] => xarTpl_includeModuleTemplate >> [args] => Array >> ( >> [0] => articles >> [1] => publinks >> [2] => >> ) >> >> ) >> >> [6] => Array >> ( >> [file] => /var/www/nyback/htdocs/includes/xarTemplate.php >> [line] => 1069 >> [args] => Array >> ( >> [0] => >> /var/www/nyback/htdocs/var/cache/templates/1a8af955416e76e45e5827cfeb9ddee1.php >> >> ) >> >> [function] => include >> ) >> >> [7] => Array >> ( >> [file] => /var/www/nyback/htdocs/includes/xarTemplate.php >> [line] => 1155 >> [function] => xarTpl__execute >> [args] => Array >> ( >> [0] => >> [1] => Array >> ( >> [publabel] => Publication >> [publinks] => Array >> ( >> [0] => Array >> ( >> [pubtitle] => News Articles >> [pubid] => 1 >> [publink] => >> http://www.nyback.com/index.php/articles/news/ >> [pubcount] => 25 >> [pubjoin] => >> ) >> >> [1] => Array >> ( >> [pubtitle] => Personlig >> presentation >> [pubid] => 9 >> [publink] => >> http://www.nyback.com/index.php/presentation/ >> [pubcount] => 3 >> [pubjoin] => - >> ) >> >> ) >> >> [maplabel] => View Article Map >> [maplink] => >> http://www.nyback.com/index.php/articles/news/map/ >> [archivelabel] => View Archives >> [archivelink] => >> http://www.nyback.com/index.php/articles/news/archive/ >> [pager] => <div class="xar-pager"> >> <span title="First page">|<</span> >> >> >> >> >> <span title="Previous page; 0 items"><</span> >> >> <span title="Page 1">1</span> >> >> <a >> href="http://www.nyback.com/index.php/articles/?startnum=11" >> title="Page 2 (items 11 to 20)">2</a> >> >> <a >> href="http://www.nyback.com/index.php/articles/?startnum=21" >> title="Page 3 (items 21 to 25)">3</a> >> >> >> >> <a title="Next page; 10 items" >> href="http://www.nyback.com/index.php/articles/?startnum=11">></a> >> >> >> >> >> <a title="Last page" >> href="http://www.nyback.com/index.php/articles/?startnum=21">>|</a> >> </div><br /><br />Sort by Date <a >> href="http://www.nyback.com/index.php/articles/?sort=title">Title</a> <a >> href="http://www.nyback.com/index.php/articles/?sort=hits">Hits</a> >> [viewpager] => <div class="xar-pager"> >> <span title="First page">|<</span> >> >> >> >> >> <span title="Previous page; 0 items"><</span> >> >> <span title="Page 1">1</span> >> >> <a >> href="http://www.nyback.com/index.php/articles/?startnum=11" >> title="Page 2 (items 11 to 20)">2</a> >> >> <a >> href="http://www.nyback.com/index.php/articles/?startnum=21" >> title="Page 3 (items 21 to 25)">3</a> >> >> >> >> <a title="Next page; 10 items" >> href="http://www.nyback.com/index.php/articles/?startnum=11">></a> >> >> >> >> >> <a title="Last page" >> href="http://www.nyback.com/index.php/articles/?startnum=21">>|</a> >> </div> >> [sort] => date >> [letter] => >> [ptid] => >> [submitlink] => >> http://www.nyback.com/index.php?module=articles&type=admin&func=new >> >> [cids] => Array >> ( >> ) >> >> [catid] => >> [showpublinks] => 0 >> [showprevnext] => 0 >> [showcatcount] => 0 >> [titles] => Array >> ( >> [51] => webapp-config mini howto >> [50] => Foton >> [49] => HP 2840 scanning gives >> Error during device I/O >> [48] => cyrus imap emails keeps >> getting marked as unread >> [47] => cyrus imap recontruct >> recursivley >> [46] => Mackes sida >> [45] => fil-arkivet >> [44] => Nya foton >> [43] => Chat med Noel >> [24] => Dom första bilderna har >> kommit! >> ) >> >> [numcols] => 0 >> [number] => 10 >> [columns] => Array >> ( >> [0] => Array >> ( >> [0] => >> <table><tr><td></td><td style="text-align:left;width:100%;"> >> </td></tr><tr><td style="vertical-align:top;font-weight:bold;"><div >> style="width:80px"> >> 16 Feb 2008</div> >> </td><td class="xar-accent-tlc"><a class="xar-title" >> href="http://www.nyback.com/index.php/articles/news/51">webapp-config >> mini howto</a><br /> >> <p>The webapp-config tool in gentoo has a complicated syntax to >> remember and i always forget between times how to use >> it.</p></td></tr></table> >> [1] => >> <table><tr><td></td><td style="text-align:left;width:100%;"> >> </td></tr><tr><td style="vertical-align:top;font-weight:bold;"><div >> style="width:80px"> >> 07 Feb 2008</div> >> </td><td class="xar-accent-tlc"><a class="xar-title" >> href="http://www.nyback.com/index.php/articles/news/50">Foton</a><br /> >> <p>Från sommarsemestern på <a >> href="http://www.nyback.com/index.php?module=gallery2&g2_itemId=26366" >> rel="external">Bergö</a> </p><a >> href="http://www.nyback.com/index.php?module=gallery2&g2_itemId=26366" >> rel="external"></a></td></tr></table> >> [2] => >> <table><tr><td></td><td style="text-align:left;width:100%;"> >> </td></tr><tr><td style="vertical-align:top;font-weight:bold;"><div >> style="width:80px"> >> 02 Jan 2008</div> >> </td><td class="xar-accent-tlc"><a class="xar-title" >> href="http://www.nyback.com/index.php/articles/news/49">HP 2840 >> scanning gives Error during device I/O</a><br /> >> When connecting on ethernet and scanning gives an error message >> "Error during device I/O" problem could be you changed snmp >> community string in the printer. You have to keep snmp community >> string set to "public".</td></tr></table> >> [3] => >> <table><tr><td></td><td style="text-align:left;width:100%;"> >> </td></tr><tr><td style="vertical-align:top;font-weight:bold;"><div >> style="width:80px"> >> 07 Nov 2007</div> >> </td><td class="xar-accent-tlc"><a class="xar-title" >> href="http://www.nyback.com/index.php/articles/news/48">cyrus imap >> emails keeps getting marked as unread</a><br /> >> <p>Just remove the .seen file for the user on the server and all will >> be ok again.</p><p>Mine was in >> /var/imap/domain/n/nyback.com/user/a/andreas.seen</p></td></tr></table> >> [4] => >> <table><tr><td></td><td style="text-align:left;width:100%;"> >> </td></tr><tr><td style="vertical-align:top;font-weight:bold;"><div >> style="width:80px"> >> 06 Nov 2007</div> >> </td><td class="xar-accent-tlc"><a class="xar-title" >> href="http://www.nyback.com/index.php/articles/news/47">cyrus imap >> recontruct recursivley</a><br /> >> Several times now I ran into problems where mailboxes got the >> cyrus.index file corrupted. cyrus.index had to be deleted and >> recreated with reconstruct on the mailbox. And recursive reconstruct >> never worked for me. So i have to do reconstruct on every single >> subfolder.</td></tr></table> >> [5] => >> <table><tr><td></td><td style="text-align:left;width:100%;"> >> </td></tr><tr><td style="vertical-align:top;font-weight:bold;"><div >> style="width:80px"> >> 28 Oct 2007</div> >> </td><td class="xar-accent-tlc"><a class="xar-title" >> href="http://www.nyback.com/index.php/articles/news/46">Mackes >> sida</a><br /> >> Nu kan du se vad kusin macke skriver på sin hemsida nere till >> vänster.</td></tr></table> >> [6] => >> <table><tr><td></td><td style="text-align:left;width:100%;"> >> </td></tr><tr><td style="vertical-align:top;font-weight:bold;"><div >> style="width:80px"> >> 24 Sep 2007</div> >> </td><td class="xar-accent-tlc"><a class="xar-title" >> href="http://www.nyback.com/index.php/articles/news/45">fil-arkivet</a><br >> /> >> <p>Nu kan man komma åt hela fil-arkivet i menyn. Filmer, musik, >> talböcker, serier, kartor mm mm</p><p>Men man måste vara >> registrerad på sajten för att kunna se sakerna. Klicka >> på "<a href="http://www.nyback.com/index.php/registration" >> rel="external">registrera nytt konto/register new account</a> " >> om du inte har ett konto. </p></td></tr></table> >> [7] => >> <table><tr><td></td><td style="text-align:left;width:100%;"> >> </td></tr><tr><td style="vertical-align:top;font-weight:bold;"><div >> style="width:80px"> >> 04 Sep 2007</div> >> </td><td class="xar-accent-tlc"><a class="xar-title" >> href="http://www.nyback.com/index.php/articles/news/44">Nya >> foton</a><br /> >> <p>Har inte hunnit med sidan på ett tag nu. Men jag han i varje >> fall städa lite i hörnorna nu. Fick upp lite gamla >> fotografier som legat i kö.</p><p><a >> href="index.php?module=gallery2&g2_itemId=25507" >> rel="external">verbier 2005 </a><br />Ett par filmer från >> <a >> href="http://www.nyback.com/index.php?module=gallery2&g2_itemId=21484&g2_page=4" >> rel="external">Angelikas konfa</a>.<br /><a >> href="http://www.nyback.com/index.php?module=gallery2&g2_itemId=25661" >> rel="external">valborg 2005</a> </p><p>Finns massor mer ligger och >> väntar... </p></td></tr></table> >> [8] => >> <table><tr><td></td><td style="text-align:left;width:100%;"> >> </td></tr><tr><td style="vertical-align:top;font-weight:bold;"><div >> style="width:80px"> >> 25 Oct 2006</div> >> </td><td class="xar-accent-tlc"><a class="xar-title" >> href="http://www.nyback.com/index.php/articles/news/43">Chat med >> Noel</a><br /> >> <p><img style="border-width: 2px; width: 135px; height: 180px" >> src="../../gallery/main.php?g2_view=core.DownloadItem&g2_itemId=12056&g2_serialNumber=5&g2_GALLERYSID=ee89e3dc8241d5db9299e4d190a7e0b7%20border=" >> alt="Jenni" title="Jenni" width="180" height="120" align="right" >> /></p><p>Vi chattar ibland,Noel och jag. Just nu sitter Noel sitter >> vid sin dator på rummet. Jag sitter och jobbar i köket. <br >> /></p><p>(Tech note: Vi använder inte msn eller nåt >> sånt lamt. Som linuxanvändare så öppnar Noel en >> ssh till min burk och kör write på kommandoraden >> :-)</p><p>Här är hans senaste chatsession:</p><p>Meddelande >> från noel@centralen på pts/15 klockan 19:49 ...<br />du >> är värdens papskaliastpappa!<br /><br />Meddelande >> från noel@centralen på pts/15 klockan 19:53 ...<br />du >> är så snel för at du är så dum i huvudet<br >> /><br />Meddelande från noel@centralen på pts/15 klockan >> 19:57 ....<br />korkskale ...oj får du inte upp korken!<br />kom >> och ha brotnings marts<br /></p><p>[paus för brottningsmatch, bad >> och pyjamas] </p><p>Meddelande från noel@centralen på >> pts/15 klockan 20:32 ...<br />dit dumhuve dumskale >> slemiakloakrota.varför är rymden oedlig.varför har vi >> nio planeter i vårat solsystem.je mej svar nu<br/><br >> />Meddelande från noel@centralen på pts/15 klockan 20:41 >> ...<br />varför finsde dumskalar som min pappa<br />jag har got >> på kalas hos tobias<br />jag går inte åleger mej<br >> />jag ska vara upe till klokan 12 på naten.jag menar alvar<br >> /><br />[Läggdags, klart-slut] </p></td></tr></table> >> [9] => >> <table><tr><td></td><td style="text-align:left;width:100%;"> >> </td></tr><tr><td style="vertical-align:top;font-weight:bold;"><div >> style="width:80px"> >> 17 Mar 2006</div> >> </td><td class="xar-accent-tlc"><a class="xar-title" >> href="http://www.nyback.com/index.php/articles/news/24">Dom första >> bilderna har kommit!</a><br /> >> <p><img style="border-width: 2px; width: 180px; height: 120px" >> src="/gallery/main.php?g2_view=core.DownloadItem&g2_itemId=23007&g2_serialNumber=2&g2_GALLERYSID=badb037d36e15298e2b14654ed1be11c" >> border="2" alt="Jenni" title="Jenni" width="180" height="120" >> align="right" /></p><p>Fler bilder i <a >> href="/xaraya/index.php?module=gallery2&g2_view=core.ShowItem&g2_itemId=23006" >> rel="external">Jennis album</a> </p></td></tr></table> >> ) >> >> ) >> >> [output] => >> [sortlinks] => Array >> ( >> [0] => Array >> ( >> [stitle] => Date >> [slink] => >> ) >> >> [1] => Array >> ( >> [stitle] => Title >> [slink] => >> http://www.nyback.com/index.php/articles/?sort=title >> ) >> >> [2] => Array >> ( >> [stitle] => Hits >> [slink] => >> http://www.nyback.com/index.php/articles/?sort=hits >> ) >> >> ) >> >> [_bl_module_name] => articles >> [_bl_module_type] => user >> [_bl_module_func] => view >> [tpl] => stdClass Object >> ( >> [pageTitle] => www.nyback.com :: >> :: News Articles >> ) >> >> ) >> >> [2] => themes/nyback/modules/articles/user-view.xt >> [3] => >> ../var/cache/templates/1a8af955416e76e45e5827cfeb9ddee1.php >> ) >> >> ) >> >> >> >> _______________________________________________ Xaraya_user mailing list [email protected] http://xaraya.com/mailman/listinfo/xaraya_user