<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[The Official MiaCMS Forum - Fatal error: Call to undefined method mosMenu::mosDBTable() in /custom]]></title>
		<link>http://forum.miacms.org/viewtopic.php?id=901</link>
		<description><![CDATA[The most recent posts in Fatal error: Call to undefined method mosMenu::mosDBTable() in /custom.]]></description>
		<lastBuildDate>Thu, 01 Jul 2010 07:55:01 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Fatal error: Call to undefined method mosMenu::mosDBTable() in /custom]]></title>
			<link>http://forum.miacms.org/viewtopic.php?pid=3113#p3113</link>
			<description><![CDATA[<div class="quotebox"><cite>Safari wrote:</cite><blockquote><p>Fatal error: Call to undefined method mosMenu::mosDBTable() in /customers/ct-data.dk/ct-data.dk/httpd.www/miacms/includes/core.classes.php&nbsp; on line 1016</p><p>Hello all.<br />I know I have been sleeping on my job as web-admin.<br />But now I have the above error.</p><p>It comes from the web-hotel one.com have been upgrading to PHP 5.x.x</p><p>How do I set the site offline, so I can run the upgrade from 4.6.5 to 4.8.1<br />I guess I can not run the upgrade on a active server as the are locked files.</p><p>Any work arround ????<br />Thanks in advance</p></blockquote></div><br /><p>Gotta concur to that</p><p><a href="http://www.lasvegascasinohoteltips.org/index.php?itemid=4">Las Vegas Hotels</a></p>]]></description>
			<author><![CDATA[dummy@example.com (mintz36)]]></author>
			<pubDate>Thu, 01 Jul 2010 07:55:01 +0000</pubDate>
			<guid>http://forum.miacms.org/viewtopic.php?pid=3113#p3113</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fatal error: Call to undefined method mosMenu::mosDBTable() in /custom]]></title>
			<link>http://forum.miacms.org/viewtopic.php?pid=3085#p3085</link>
			<description><![CDATA[<p>I also have the same problem while upgrading my PHP version<br />Fatal error: Call to undefined method mosMenu::mosDBTable() in /customers/ct-data.dk/ct-data.dk/httpd.www/miacms/includes/core.classes.php&nbsp; on line 1016.<br /> I m new to this cms.any help from any body .thanks <br />-------------------------------------</p><p><a href="http://ezine.pk">Ezine</a></p>]]></description>
			<author><![CDATA[dummy@example.com (paul.catano)]]></author>
			<pubDate>Mon, 21 Jun 2010 10:53:32 +0000</pubDate>
			<guid>http://forum.miacms.org/viewtopic.php?pid=3085#p3085</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fatal error: Call to undefined method mosMenu::mosDBTable() in /custom]]></title>
			<link>http://forum.miacms.org/viewtopic.php?pid=3028#p3028</link>
			<description><![CDATA[<p>Many many Thank you<br />It works now :-)</p><p>Jens</p>]]></description>
			<author><![CDATA[dummy@example.com (Safari)]]></author>
			<pubDate>Mon, 19 Apr 2010 21:39:49 +0000</pubDate>
			<guid>http://forum.miacms.org/viewtopic.php?pid=3028#p3028</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fatal error: Call to undefined method mosMenu::mosDBTable() in /custom]]></title>
			<link>http://forum.miacms.org/viewtopic.php?pid=3027#p3027</link>
			<description><![CDATA[<div class="quotebox"><cite>Safari wrote:</cite><blockquote><p>So. <br />Now I have 2 sites running<br /><a href="http://www.ct-data.dk/miacms/">http://www.ct-data.dk/miacms/</a> opgrade from 4.6.5 - 4.8.1 - 4.9.0<br />and<br /><a href="http://www.ct-data.dk/miacms_test/">http://www.ct-data.dk/miacms_test/</a> new and clean installation 4.9.0</p><p>I did this fix mentioned on database.php and now the site work and show the static pages. <br />The other pages&nbsp; which is extracted from the databese, will not show ...<br />Both sites does have the same warning when i opens the frontpage:</p><p>&quot;Warning: Parameter 2 to frontpage() expected to be a reference, value given in /customers/ct-data.dk/ct-data.dk/httpd.www/miacms_test/includes/PEAR/Cache/Lite/Function.php&nbsp; on line 147&quot;</p><p>I really could use a hint to get pass this warning - please</p></blockquote></div><p>I had the same issue, just add an ampersand:</p><p>line 147:<br />&nbsp; $result = call_user_func_array($target, $arguments);<br />to<br />&nbsp; $result = call_user_func_array($target, &amp;$arguments);</p><p>See <a href="http://php.net/manual/en/function.call-user-func-array.php">http://php.net/manual/en/function.call- &#133; -array.php</a> for reference:<br />...<br />Note: Referenced variables in param_arr are passed to the function by a reference, others are passed by a value. In other words, it does not depend on the function signature whether the parameter is passed by a value or by a reference. <br />...</p><p>Cheers Alain</p>]]></description>
			<author><![CDATA[dummy@example.com (peteut)]]></author>
			<pubDate>Mon, 19 Apr 2010 20:28:29 +0000</pubDate>
			<guid>http://forum.miacms.org/viewtopic.php?pid=3027#p3027</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fatal error: Call to undefined method mosMenu::mosDBTable() in /custom]]></title>
			<link>http://forum.miacms.org/viewtopic.php?pid=2994#p2994</link>
			<description><![CDATA[<p>So. <br />Now I have 2 sites running<br /><a href="http://www.ct-data.dk/miacms/">http://www.ct-data.dk/miacms/</a> opgrade from 4.6.5 - 4.8.1 - 4.9.0<br />and<br /><a href="http://www.ct-data.dk/miacms_test/">http://www.ct-data.dk/miacms_test/</a> new and clean installation 4.9.0</p><p>I did this fix mentioned on database.php and now the site work and show the static pages. <br />The other pages&nbsp; which is extracted from the databese, will not show ...<br />Both sites does have the same warning when i opens the frontpage:</p><p>&quot;Warning: Parameter 2 to frontpage() expected to be a reference, value given in /customers/ct-data.dk/ct-data.dk/httpd.www/miacms_test/includes/PEAR/Cache/Lite/Function.php&nbsp; on line 147&quot;</p><p>I really could use a hint to get pass this warning - please</p>]]></description>
			<author><![CDATA[dummy@example.com (Safari)]]></author>
			<pubDate>Thu, 11 Mar 2010 14:19:49 +0000</pubDate>
			<guid>http://forum.miacms.org/viewtopic.php?pid=2994#p2994</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fatal error: Call to undefined method mosMenu::mosDBTable() in /custom]]></title>
			<link>http://forum.miacms.org/viewtopic.php?pid=2992#p2992</link>
			<description><![CDATA[<p>I did a upgrade, that did not help.<br />Then I installed a clean verseion of miacms 4.9 it still failed the same way.</p><p>Found a fix from this thread: &quot;After Install Mia 4.9 Error On PHP 5.3&quot;<br />putting this into database.php</p><p>class mosDBTable extends mosDBAbstractRow {<br />&nbsp; &nbsp; /** @var mosDatabase Database connector */<br />&nbsp; &nbsp; var $_db = null;</p><p>// ADD THIS FUNCTION....<br />&nbsp; &nbsp; function mosDBTable($table=&#039;&#039;, $keyname=&#039;id&#039;, $db=&#039;&#039;) {<br />&nbsp; &nbsp; &nbsp; &nbsp; $this-&gt;mosDBAbstractRow ($table, $keyname, $db);<br />&nbsp; &nbsp; }</p><br /><br /><p>But now it complains about some variables that was not derfined. And no content from the database is shown. The menues and other structure is shown, but no contents.<br />Any one got an idea?</p>]]></description>
			<author><![CDATA[dummy@example.com (Safari)]]></author>
			<pubDate>Wed, 10 Mar 2010 21:18:03 +0000</pubDate>
			<guid>http://forum.miacms.org/viewtopic.php?pid=2992#p2992</guid>
		</item>
		<item>
			<title><![CDATA[Re: Fatal error: Call to undefined method mosMenu::mosDBTable() in /custom]]></title>
			<link>http://forum.miacms.org/viewtopic.php?pid=2991#p2991</link>
			<description><![CDATA[<p>Would it be possible to install MIACMS in a parallel installation using a new set of tables, then copy content from those locked tables and upgrade from there.<br />I have a template I need to copy also ....</p><br /><p>Could that be a way ???</p>]]></description>
			<author><![CDATA[dummy@example.com (Safari)]]></author>
			<pubDate>Tue, 09 Mar 2010 13:06:37 +0000</pubDate>
			<guid>http://forum.miacms.org/viewtopic.php?pid=2991#p2991</guid>
		</item>
		<item>
			<title><![CDATA[Fatal error: Call to undefined method mosMenu::mosDBTable() in /custom]]></title>
			<link>http://forum.miacms.org/viewtopic.php?pid=2988#p2988</link>
			<description><![CDATA[<p>Fatal error: Call to undefined method mosMenu::mosDBTable() in /customers/ct-data.dk/ct-data.dk/httpd.www/miacms/includes/core.classes.php&nbsp; on line 1016</p><p>Hello all.<br />I know I have been sleeping on my job as web-admin.<br />But now I have the above error.</p><p>It comes from the web-hotel one.com have been upgrading to PHP 5.x.x</p><p>How do I set the site offline, so I can run the upgrade from 4.6.5 to 4.8.1<br />I guess I can not run the upgrade on a active server as the are locked files.</p><p>Any work arround ????<br />Thanks in advance</p>]]></description>
			<author><![CDATA[dummy@example.com (Safari)]]></author>
			<pubDate>Fri, 05 Mar 2010 22:18:14 +0000</pubDate>
			<guid>http://forum.miacms.org/viewtopic.php?pid=2988#p2988</guid>
		</item>
	</channel>
</rss>
