Welcome, Guest
Username Password: Remember me

Joomla 1.6 - Using Developer Mobile Joomla for 1.6 Problem
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Joomla 1.6 - Using Developer Mobile Joomla for 1.6 Problem

Joomla 1.6 - Using Developer Mobile Joomla for 1.6 Problem 13 years, 4 months ago #4601

  • WTreF
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 1
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

Re: Joomla 1.6 - Using Developer Mobile Joomla for 1.6 Problem 13 years, 4 months ago #4602

  • WTreF
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 1
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.

Re: Joomla 1.6 - Using Developer Mobile Joomla for 1.6 Problem 13 years, 4 months ago #4603

sorry, where is the download Mobile Joomla for 1.6? thanks

Re: Joomla 1.6 - Using Developer Mobile Joomla for 1.6 Problem 13 years, 4 months ago #4604

  • brienj
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
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.

Re: Joomla 1.6 - Using Developer Mobile Joomla for 1.6 Problem 13 years, 4 months ago #4605

  • brienj
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
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.

Re: Joomla 1.6 - Using Developer Mobile Joomla for 1.6 Problem 13 years, 4 months ago #4606

hello and thank you so much ... though I think I'll wait the official version 

Re: Joomla 1.6 - Using Developer Mobile Joomla for 1.6 Problem 13 years, 4 months ago #4609

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4867
  • Karma: 105
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.

Re: Joomla 1.6 - Using Developer Mobile Joomla for 1.6 Problem 13 years, 4 months ago #4616

  • WTreF
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
  • Karma: 1
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.

Re: Joomla 1.6 - Using Developer Mobile Joomla for 1.6 Problem 13 years, 4 months ago #4618

  • brienj
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
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.

Re: Joomla 1.6 - Using Developer Mobile Joomla for 1.6 Problem 13 years, 4 months ago #4625

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? 
Last Edit: 13 years, 3 months ago by dryabov.
  • Page:
  • 1
Time to create page: 0.14 seconds

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.