Joomla 1.6 - Using Developer Mobile Joomla for 1.6 Problem

WTreF
13 years, 5 months ago
Here is my problem. I am using Rochen hosting and Joomla 1.6. I used the developer version of Mobile Joomla for 1.6 and installed no problems. I get the following error when going to settings and it won't save anything.









Warning: Invalid argument supplied for foreach() in /home/wtrefcom/public_html/administrator/components/com_mobilejoomla/admin.mobilejoomla.php on line 283
Mobile Joomla! Settings
/ administrator / components / com_mobilejoomla / config.php is :
Writeable
WTreF
13 years, 5 months ago
Also, are there any instructions for 1.6? I'm BRAND new at mobile and it seems a bit confusing. I am reading the docs that you have for 1.5 and I don't see clear explanations on it. It looks like they're for folks who have done it before. I appreciate it.
mauriziomerli
13 years, 5 months ago
sorry, where is the download Mobile Joomla for 1.6? thanks
brienj
13 years, 5 months ago
I get the exact same error. Finally after installing everything properly, this is the last error that I can't seem to fix. I've narrowed down the location of the error and it is in this code snippet:
 
$db =& JFactory::getDBO();
$query = 'SELECT id, menutype, name, link, type, parent FROM #__menu WHERE published=1 ORDER BY menutype, parent, ordering';
$db->setQuery($query);
$mitems = $db->loadObjectList();
$children = array();
foreach($mitems as $v)
{
$pt = $v->parent;
$list = @$children[$pt] ? $children[$pt] : array();
array_push($list, $v);
$children[$pt] = $list;
}
 


It is in the line: foreach($mitems as $v) that we are getting the error. I am not sure if the query is incorrect, or if it needs a check that $mitems is not empty, or something else. Hopefully this can be solved.
brienj
13 years, 5 months ago
mauriziomerli wrote:
sorry, where is the download Mobile Joomla for 1.6? thanks

The link is in this thread:
http://www.mobilejoomla.com/forum/4-feature-requests/3024-mj-for-j-16-native.html

Be careful if you install it and aren't real familiar with Joomla, as there are a few things wrong with it, that I was able to fix luckily, except for this last error, but if you aren't comfortable messing with things to get them to work, you may want to wait until they come out with an official version.
mauriziomerli
13 years, 5 months ago
hello and thank you so much ... though I think I'll wait the official version 
dryabov
13 years, 5 months ago
WTreF wrote:
Warning: Invalid argument supplied for foreach() in /home/wtrefcom/public_html/administrator/components/com_mobilejoomla/admin.mobilejoomla.php on line 283


Seems the only way to get this warning is to have no published menu items at all. But in this case you should have a lot of other Joomla issues because of absence of published homepage at all.
WTreF
13 years, 4 months ago
dryabov The problem is I can't "save" anything. I get the error I put below. When I hit "save and close" (only save option I have) it closes. When I go back to settings, everything is reset to default. I am using the instructions on your site and I do not have any "templates" in the template manager. I am not sure what I am doing wrong. I am more than willing to give you admin access to my joomla and ftp site to show you what I am talking about. Please advise.
brienj
13 years, 4 months ago
WTreF wrote:
dryabov The problem is I can't "save" anything. I get the error I put below. When I hit "save and close" (only save option I have) it closes. When I go back to settings, everything is reset to default. I am using the instructions on your site and I do not have any "templates" in the template manager. I am not sure what I am doing wrong. I am more than willing to give you admin access to my joomla and ftp site to show you what I am talking about. Please advise.

To get the templates to install, you have to go to your extension manager, then to Discover, then have it discover the templates and correctly install them. There are some other things you must do to properly install the other components, but it's not worth the trouble, because you'll still get the same error. Hopefully they can just get it all fixed and worked out eventually.
mauriziomerli
13 years, 4 months ago
I have successfully installed Mobilejoomla, but I see this error message:

Warnings:Error downloading www.mobilejoomla.com/tera_dump_098.sql
TeraWURFL will be disabled.
MJ_INSTALL_OK


which means? 

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.