Fatal Error and White screen on browser

shigeto_y
14 years, 2 months ago
Mobile Joomla! 0.9.11
Login Mobile 0.9.10
Search Mobile 0.9.10

These modules are enabled, and I try access my site by Firefox.

PHP Fatal error: Call to a member function getMarkup() on a non-object in /home/.../modules/mod_mj_login/mod_mj_login.php on line 36, referer: .../administrator/index.php?option=com_modules&client=0
PHP Fatal error: Call to a member function getMarkup() on a non-object in /home/.../modules/mod_mj_search/mod_mj_search.php on line 29, referer: .../administrator/index.php?option=com_modules&client=0


My site's configuration;
PHP built On: Linux
MySQL: 5.1.47
Language: utf8_general_ci
PHP: 5.2.14
Server: Apache/2.0.63 (Unix)
PHP Interface: cgi
Joomla! 1.5.22 Stable [ senu takaa ama woi ] 04-November-2010 18:00 GMT
Themes: rhuk_milkyway
dryabov
14 years, 2 months ago
Most likely you are trying to show mobile modules on "desktop" page. Move modules to position that is used by mobile template only,
shigeto_y
14 years, 2 months ago
Hi.

I understand what you say now.
I checked my settings, and cleared errors.
Thanks!
automation
13 years, 2 months ago
Wrapping the switch statement in if($MobileJoomla) seems to get rid of the problem if it gets called from a non-mobile page.

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.