<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[The Official MiaCMS Forum - Fatal error: Call to undefined method mosMenu::mosDBTable() in /custom]]></title>
	<link rel="self" href="http://forum.miacms.org/extern.php?action=feed&amp;tid=901&amp;type=atom"/>
	<updated>2010-07-01T07:55:01Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.miacms.org/viewtopic.php?id=901</id>
		<entry>
			<title type="html"><![CDATA[Re: Fatal error: Call to undefined method mosMenu::mosDBTable() in /custom]]></title>
			<link rel="alternate" href="http://forum.miacms.org/viewtopic.php?pid=3113#p3113"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[mintz36]]></name>
				<uri>http://forum.miacms.org/profile.php?id=10328</uri>
			</author>
			<updated>2010-07-01T07:55:01Z</updated>
			<id>http://forum.miacms.org/viewtopic.php?pid=3113#p3113</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Fatal error: Call to undefined method mosMenu::mosDBTable() in /custom]]></title>
			<link rel="alternate" href="http://forum.miacms.org/viewtopic.php?pid=3085#p3085"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[paul.catano]]></name>
				<uri>http://forum.miacms.org/profile.php?id=10013</uri>
			</author>
			<updated>2010-06-21T10:53:32Z</updated>
			<id>http://forum.miacms.org/viewtopic.php?pid=3085#p3085</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Fatal error: Call to undefined method mosMenu::mosDBTable() in /custom]]></title>
			<link rel="alternate" href="http://forum.miacms.org/viewtopic.php?pid=3028#p3028"/>
			<content type="html"><![CDATA[<p>Many many Thank you<br />It works now :-)</p><p>Jens</p>]]></content>
			<author>
				<name><![CDATA[Safari]]></name>
				<uri>http://forum.miacms.org/profile.php?id=936</uri>
			</author>
			<updated>2010-04-19T21:39:49Z</updated>
			<id>http://forum.miacms.org/viewtopic.php?pid=3028#p3028</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Fatal error: Call to undefined method mosMenu::mosDBTable() in /custom]]></title>
			<link rel="alternate" href="http://forum.miacms.org/viewtopic.php?pid=3027#p3027"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[peteut]]></name>
				<uri>http://forum.miacms.org/profile.php?id=8140</uri>
			</author>
			<updated>2010-04-19T20:28:29Z</updated>
			<id>http://forum.miacms.org/viewtopic.php?pid=3027#p3027</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Fatal error: Call to undefined method mosMenu::mosDBTable() in /custom]]></title>
			<link rel="alternate" href="http://forum.miacms.org/viewtopic.php?pid=2994#p2994"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Safari]]></name>
				<uri>http://forum.miacms.org/profile.php?id=936</uri>
			</author>
			<updated>2010-03-11T14:19:49Z</updated>
			<id>http://forum.miacms.org/viewtopic.php?pid=2994#p2994</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Fatal error: Call to undefined method mosMenu::mosDBTable() in /custom]]></title>
			<link rel="alternate" href="http://forum.miacms.org/viewtopic.php?pid=2992#p2992"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Safari]]></name>
				<uri>http://forum.miacms.org/profile.php?id=936</uri>
			</author>
			<updated>2010-03-10T21:18:03Z</updated>
			<id>http://forum.miacms.org/viewtopic.php?pid=2992#p2992</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Fatal error: Call to undefined method mosMenu::mosDBTable() in /custom]]></title>
			<link rel="alternate" href="http://forum.miacms.org/viewtopic.php?pid=2991#p2991"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Safari]]></name>
				<uri>http://forum.miacms.org/profile.php?id=936</uri>
			</author>
			<updated>2010-03-09T13:06:37Z</updated>
			<id>http://forum.miacms.org/viewtopic.php?pid=2991#p2991</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Fatal error: Call to undefined method mosMenu::mosDBTable() in /custom]]></title>
			<link rel="alternate" href="http://forum.miacms.org/viewtopic.php?pid=2988#p2988"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Safari]]></name>
				<uri>http://forum.miacms.org/profile.php?id=936</uri>
			</author>
			<updated>2010-03-05T22:18:14Z</updated>
			<id>http://forum.miacms.org/viewtopic.php?pid=2988#p2988</id>
		</entry>
</feed>
