Adaptable: version 1.8 released

Re: Adaptable: version 1.8 released

by Randy Foster -
Number of replies: 8

Hello,

 

I’ve upgraded to 3.6.2+ build: 20190124  and have Adaptable 1.8 build 2019011500

 

This is the error messages I got after enabling debugger in developer mode:

 

Missing required key in single structure: year

Error code: invalidparameter

* line 332 of /lib/externallib.php: invalid_parameter_exception thrown

* line 223 of /lib/externallib.php: call to external_api::validate_parameters()

* line 59 of /lib/ajax/service.php: call to external_api::call_external_function()

 

I apologize but I do not know how to verify apache logs.  If the above information is still inconclusive let me know and I’ll try to figure out how to verify these logs. Are there particular logs that I should be looking for?

 

Thank you for helping  me.

 

Randy


Attachment errorcodes.JPG
In reply to Randy Foster

Re: Adaptable: version 1.8 released

by Manoj Solanki -

In addition to what Fernando suggested, a couple of things:

- If you have a test server that you can replicate the issue on, you could try uninstalling and re-installing Adaptable.  There is an export settings feature in Adaptable, so you should do this BEFORE any uninstall.   Then if you install a fresh version of Adaptable, you can import these saved settings.  Briefly, the way the export / import process works, is by going to Import / Export settings under Adaptable in the navigation.  Then click Export, and select the JSON format text contained within the grey box (save it as a file).  Then to import, you paste this same text  in the "import properties" setting which is further down on the same page.  If that makes sense!

- Could you use the code inspector in Chrome or Firefox to check if there are any further javascript errors?  And make a screenshot or short video? Example of of what errors might look like (example is using Chrome).

Javscript errors example


Thanks,


M

In reply to Manoj Solanki

Re: Adaptable: version 1.8 released

by Randy Foster -

Hello Manoj

 

I ran the site with code inspector in Chrome but it did not show any errors.

 

I created a brand new test site and installed a fresh install of moodle 3.6.2 with no added plugins or users or courses. I then installed the theme and did not make any customization changes.

 

The error did not appear so it must be some sort of incompatibility with my operational site. The operational site was just installed last week on a new server and with a fresh install of 3.6.1 and the error did appear then and still does but not with the test site.

 

If you might happen to have any suggestions on how to isolate potential conflicts I would really appreciate it but if not that’s okay. I’ll work my way through as best I can to see if I can isolate it.

 

Thanks for your help

Randy

 

From: Manoj Solanki (via Moodle.org) <noreply@moodle.org>
Sent: Monday, January 28, 2019 3:52 AM
To: Randy Foster <rfoster@hbfcass.org>
Subject: Moodle in English: Re: Adaptable: version 1.8 released

 

Picture of Manoj Solanki

Re: Adaptable: version 1.8 released

by Manoj Solanki - Monday, January 28, 2019, 5:10 PM

 

In addition to what Fernando suggested, a couple of things:

- If you have a test server that you can replicate the issue on, you could try uninstalling and re-installing Adaptable.  There is an export settings feature in Adaptable, so you should do this BEFORE any uninstall.   Then if you install a fresh version of Adaptable, you can import these saved settings.  Briefly, the way the export / import process works, is by going to Import / Export settings under Adaptable in the navigation.  Then click Export, and select the JSON format text contained within the grey box (save it as a file).  Then to import, you paste this same text  in the "import properties" setting which is further down on the same page.  If that makes sense!

- Could you use the code inspector in Chrome or Firefox to check if there are any further javascript errors?  And make a screenshot or short video? Example of of what errors might look like (example is using Chrome).

Javscript errors example

 

Thanks,

 

M


You can reply to this via email.

In reply to Randy Foster

Re: Adaptable: version 1.8 released

by Manoj Solanki -

Hi Randy,

Not sure what else we can suggest given it's likely outside of Adaptable theme but I would just go through every external plugin you have on the current site, disable or uninstall them if possible, to see if that helps.  It could be a block, mod or other plugin type causing it.  

Although it's not recommended for production servers, there's also some debugging lines you could put in the Moodle root's config.php temporarily, as suggested here under the heading "In config.php":  https://docs.moodle.org/36/en/Debugging

Thanks,

M

In reply to Randy Foster

Re: Adaptable: version 1.8 released

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

At first sight it looks like a conflict with some plugin. 

 

As you can see  the problem is located in the externalib of moodle. 

 

Only the Apache log could show much info about the problem. 

 

From now, this is not an Adaptable issue. Please ask your questions in the general forum  

In reply to Randy Foster

Re: Adaptable: version 1.8 released

by sue dingle -

Hi Randy,


Did you ever solve this issue with adaptable?

Can you tell me can you select the calendar from the dashboard page? I believe it is missing.

Sue



In reply to sue dingle

Re: Adaptable: version 1.8 released

by Randy Foster -

Hello Sue,

 

I have not resolved this issue yet. The calendar is not on the dashboard and I can’t add it.

 

Randy

(Edited by Gareth J Barnard - to remove all the eMail post information containing personal information - original submission Wednesday, 20 February 2019, 4:43 PM)

In reply to sue dingle

Re: Adaptable: version 1.8 released

by Fernando Acedo -
Picture of Plugin developers Picture of Testers

We can't replicate this issue.

The calendar block is a default block installed by Moodle. We can remove it and add it again without any issue.

Are you using Boost, or similar, and then switching to Adaptable?

In reply to Fernando Acedo

Re: Adaptable: version 1.8 released

by sue dingle -

I have a working adaptable theme (copied my setting across manually) in a test Moodle (but it had no copy data in it), and yesterday was able to fix the calendar block issue. The calendar was not available from the drop down menu to start with so by setting all the dashboard builder blocks to setting 1  - the calendar then appeared in the drop down menu. I added the calendar and the error message went.   

So I then transferred the test theme over to another Moodle with a copy of our data in it, but experienced the same 'Invalid' error message, meaning that the issue is hard coded into the database.  So even if I add a new downloaded adaptable theme from Moodle.org on top of our real data Moodle the issue will still appear.  

I was upgrading from Moodle 3.1 - to Moodle 3.5  using adaptable theme.

As I have now spent to long on this issue I have decided the best action is to delay the update and use a Boost or Fordson theme. I will be building the new theme in a Moodle with a copy of the data files in it, due to what I said above.

Good Luck