Invalid argument for foreach() in default_manage.php

  • alan tse
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 8 months ago #1 by alan tse
Dear Sir/Madam,

In the Joomla backend, when I click the course title under "Course requests" in Joomdle, I got the following warning message:

Warning: Invalid argument supplied for foreach() in /home2/.../administrator/components/com_joomdle/views/courseapplications/tmpl/default_manage.php on line 50

I checked line 50 of the default_manage.php file, but it is just a blank line.

Also, the created content of the course doesn't appear in the Joomla frontend.

Any idea how to solve this problem?

Thank you very much,

alanct

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #2 by Chris
What are your versions of Joomla and Moodle?

Do you have any red crosses in the system health check?

Please Log in or Create an account to join the conversation.

  • alan tse
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 8 months ago #3 by alan tse
Dear Chris,

I am using Joomla version 1.5.23. Moodle version is 2.0.2.

There is a red cross in the system health check associated with PHP error reporting. The error message says:

E_DEPRECATED errors are enabled in your PHP configuration

Thank you,

alanct

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Re: Invalid argument for foreach() in default_manage.php
Hi.

If the DEPRECATED error is the only one, I guess you are fine.

As for the other error: I can't replicate it locally, but it is just a warning because there are no requests in the course, so you can ignore it.

Please Log in or Create an account to join the conversation.

  • alan tse
  • Topic Author
  • Offline
  • New Member
  • New Member
More
14 years 8 months ago #5 by alan tse
Dear Antonio,

The problem I have is that I cannot make the pdf files I uploaded to Moodle to appear in my Joomla frontend.

If my students need to download the pdf files, they have to go to my Moodle URL to download them. I want them to download it from my Joomla site since my Joomla site has other stuff that might interest them.

I can find the course titles and users I have created in Moodle in my Joomla backend, but for the course materials (i.e. the pdf files), I cannot make them appear in both the Joomla backend and frontend.

What could possible go wrong? Pls advise.

Thank you very much,

alanct

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic Re: Invalid argument for foreach() in default_manage.php
> The problem I have is that I cannot make the pdf files I uploaded to Moodle to appear in my Joomla frontend.

There is no feature in Joomdle right now that let you do this.

Joomdle does not show Moodle course content in Joomla, as most of it (tasks, surveys...) will require te user ti interact with Moodle.

Please Log in or Create an account to join the conversation.