R0.23 No Longer Supported

[Solved] Not getting the course lists

More
16 years 2 months ago #31 by Maciek
Replied by Maciek on topic Re:Not getting the course lists
It seems that adminlib.php is not called at all during installation of joomdle
The topic has been locked.
More
16 years 2 months ago #32 by Antonio Durán
Replied by Antonio Durán on topic Re:Not getting the course lists
It does not have to be neccesary then.
In fact I checked the code and it gets called from admin/index.php, which is the Notifications page. So the functions should be added to table when you visit Notifications after enabling the plugin.

I know this because when I create a new function during development, I have to login as admin, before I can use. If not, I get the 7015 error.

So, if this function is not executing at all, it is very strange :)
What did you do to check? I would put an exit(); as the first command of the function, to see if it is being called.
The topic has been locked.
More
16 years 2 months ago - 16 years 2 months ago #33 by Maciek
Replied by Maciek on topic Re:Not getting the course lists
I inserted some debug code at the very beginning of both of the functions in adminlib.php. Additionally, as a test I completely removed adminlib.php and then everything worked as before (I mean didn't work as before :) ).
Last edit: 16 years 2 months ago by Maciek.
The topic has been locked.
More
16 years 2 months ago #34 by Antonio Durán
Replied by Antonio Durán on topic Re:Not getting the course lists
As the functions redirects to other url, you won't be able to see debug code. That is why I suggested the exit.

Just to be sure you can put it in admin/index.php, just before it callas the function. Go to Notifications and see. It has to give you a blank page :) Then try to follow execution code by placing exits inside the function.
The topic has been locked.
More
16 years 2 months ago #35 by Maciek
Replied by Maciek on topic Re:Not getting the course lists
The debug code was assumed to write informations to a file.
If I insert exit(), Notifications becomes just a blank page when auth/joomdle is removed, but works (displaying a lot of errors, as before) if auth/joomdle is present
The topic has been locked.
More
16 years 2 months ago #36 by Antonio Durán
Replied by Antonio Durán on topic Re:Not getting the course lists
Ok. I did not pay much attention when you said this:

Both the plugins are active. On the Notification page there are many complains about "1062: Duplicate entry '...' for key 'mdl_mnethost_hosser_uix'" and "1062: Duplicate entry '...' for key 'mdl_confplug_plunam_uix'"

Because those tables did nod make any sense to me. I don't know those tables so I assumed they were from another cause. Do you know what are those tables?
I grepped my full moodle code for mdl_mnethost_hosser_uix and nothing popped up.

Do you have the tables names changed or something? maybe a leftover of 2.0 ... ?
The topic has been locked.
More
16 years 2 months ago - 16 years 2 months ago #37 by Maciek
Replied by Maciek on topic Re:Not getting the course lists
No, I have no idea about these tables. I am running moodle 1.6.7+ (in 1.6.7 everything was exactly the same). And this is a fresh installation without any changes.

These errors occur as a result of queries:
INSERT INTO mdl_mnet_host2service(hostid, serviceid, publish) VALUES ('0', '4', '1'), etc.
Last edit: 16 years 2 months ago by Maciek.
The topic has been locked.
More
16 years 2 months ago #38 by Antonio Durán
Replied by Antonio Durán on topic Re:Not getting the course lists
I don't have those tables, but I looked for the table name on google:
tracker.moodle.org/browse/MDL-12885

This is a 2.0 related error, so I think you are having some BD confussion going on or something like that.
I would do a fresh 1.9.7 install in another clean DB.
The topic has been locked.
More
16 years 2 months ago #39 by Maciek
Replied by Maciek on topic Re:Not getting the course lists
As you suggested, I removed the old DB, made a fresh 1.9.7 install and it started to work! But right after copying joomdle to moodle/auth I had to go to Notifications (before activating the plugin). Otherwise, i.e., if I activated the plugin before going to Notifications, Notifications displayed errors. Anyway, it does work now.

Antonio, many thanks for your great help!!!
The topic has been locked.
More
16 years 1 month ago #40 by Sam
Replied by Sam on topic Re:Not getting the course lists
I keep getting error after error, I believe all/most are related to XML-RPC, which is finally set up and running on the server. Here is the most recent one:

1. I registered for an account in Joomla (via Virtuemart)
2. I confirmed/activated the account as a new user by clicking the link from Joomla in the automatically generated e-mail.
3. I tried to log in.

When trying to log in, I get: "mnet is disabled"

I've re-installed "auth_joomla.zip", and it doesn't seem to change/solve this.

Thoughts?
The topic has been locked.