Went back to back up and now get: Exception - Call to undefined function gradingform_guide_get_fontawesome_icon_map()

Went back to back up and now get: Exception - Call to undefined function gradingform_guide_get_fontawesome_icon_map()

Ian L -
回帖数:17

Tried to upgrade to 3.11 from 3.7 and it didn't fix my problem with the messaging system not working (which I posted about here recently) and I realized that I can only go to 5.6 with the database requirements and 3.11 requires 5.7 so I went back and now I have this error and the host can't do a command line clear cache.


Is there another way to fix this???

the webhost was of little help. Moodle is such a headache. I just want to say I have joomla sites and wordpress sites and moodle is the biggest pain to update and work with. 

Also here's a sidenote... I was just on this forum and all the language switched.


回复Ian L

Re: Went back to back up and now get: Exception - Call to undefined function gradingform_guide_get_fontawesome_icon_map()

Ian L -
 I looked in the moodledata but all the folders and cache is empty which i don't get. and this editor is messed up.I read the other related posts to this but don't have access to cli.
回复Ian L

Re: Went back to back up and now get: Exception - Call to undefined function gradingform_guide_get_fontawesome_icon_map()

Ken Task -
Particularly helpful Moodlers的头像

"looked in the moodledata but all the folders and cache is empty"

All the folders? including lang?

You don't have cli and hosting provider won't do any cli scripts for you.

You attempted upgrade and discovered after the attempt that 3.11 required a 5.7 of MySQL and your shared hosting package only offered 5.6.

So the environment check moodle does upon upgrades, alerted you to that fact and stopped - or do you re-call if it started to update tables?   (it shouldn't have done that)

You then had to put back the old moodle code ... all of it ... and remove the 3.11 code.    How did you do that?  Did you use a cPanel site restore?

May I ask if you used a thing called Softaculous to upgrade?  (it is related)

Am guessing your shared hosting uses cPanel.   If it does, is there a 'Terminal' icon in cPanel?

Well, you could try this:

go directly to https://yoursite/admin/purgecaches.php

that's an auto ... no prompts no ability to select what caches ... supposed to just do it.

As far as your comment on WordPress and Joomla ... just about all hosting provides offer those two. And neither of those two are a learning management system (LMS).  Between the 3, Moodle is and always has been an application that required more resources as one upgraded and was more sensitive to versions of software (php/mysql) needed to run it.   So one cannot compare the three farily!

And now my comment:  this just keeps getting worse.  You've not resolved your messages issue and now more issues.  You keep seeing folks in forums recommending command line scripts but your shared hosting doesn't allow you to use command line scripts and hosting provider won't run them for you.

I've asked but you've not responded ... does your hosting provider offer a 'higher' (allows user to do more) shared hosting plan?   One that has a 'Terminal' icon in cPanel?

Care to share where you are hosting?   What provider?

Also, check your PM here on moodle.org.   Please respond there.

'SoS', Ken 

回复Ken Task

תשובה ל: Re: Went back to back up and now get: Exception - Call to undefined function gradingform_guide_get_fontawesome_icon_map()

Ian L -

. I did not use softcalculus or whatever i followed the instruction on moodle upgrade. . could not go directly to that path it redirect to log in page which is an error page. .


and this is what this moodle forum looks like now right aligned in another language. . bad internet conenction to and could not rep. .Language folder is empty.

回复Ian L

Re: תשובה ל: Re: Went back to back up and now get: Exception - Call to undefined function gradingform_guide_get_fontawesome_icon_map()

Ken Task -
Particularly helpful Moodlers的头像

On this system, upper right, a drop down menu under your pic.
Preferences - Preferred Language
Is a drop down pick list ... change from whatever you see there to English (en).
Save changes.

Ok, so no Softac, that's good!

Now what about hosting package?  Is there a 'better' level of shared hosting that would give you a Terminal icon (which is command line)?

Respond when you have a better internet connection.

Come to think of it ... a poor internet connection could mess with data being exchanged between user and server.

Hope this is not the case, but ... folks have been known to somehow acquire malicious software on their computers which would also mess with connections *and* data being exchanged with servers.

A few years back, joomla suffered from one of those ... admin level users of a Joomla had malicious software on their home computers that specifically targeted joomla's ... nasty thing.

Have never seen such a thing with a Moodle.

'SoS', Ken

回复Ken Task

תשובה ל: Re: תשובה ל: Re: Went back to back up and now get: Exception - Call to undefined function gradingform_guide_get_fontawesome_icon_map()

Ian L -

Actually right now my profile is on the upper left and everything is backwards including this editor.  and I can't read the drop down and . It seems like I can't get this to work so then I have a backup of the site when itwas in 3.11 but my backup I made of 3.7 won't work. The people on the server made some changes to passwords in the config file that I never said to do and maybe they messed something up but they keep saying it's beyond there scope working with moodle.  that is not what I wantbut

回复Ian L

Went back to back up and now get: Exception - Call to undefined function gradingform_guide_get_fontawesome_icon_map()

Ken Task -
Particularly helpful Moodlers的头像

"The people on the server made some changes to passwords in the config file that I never said to do and maybe they messed something up but they keep saying it's beyond there scope working with moodle.  that is not what I want ... but"

And you know 'the people on the server' (tech support) made some changes to passwords in the config.php file?    There is only one like that in config.php.   It's the password to your DB server.

Yes, shared hosting support is limited ... and stops at applications customers choose to run.

And again ... why won't you tell us where you host?   The name of the hosting provider.


回复Ken Task

Re: Went back to back up and now get: Exception - Call to undefined function gradingform_guide_get_fontawesome_icon_map()

Ian L -
inmotionhosting mentioned it before.
回复Ian L

Re: Went back to back up and now get: Exception - Call to undefined function gradingform_guide_get_fontawesome_icon_map()

Ken Task -
Particularly helpful Moodlers的头像

Yippy!   An answer to a question ....
Uhhh ... not mentioned in this thread.
Now a follow up: which plan do you have? ... core, launch, power, or pro

Included with every hosting plan:
24/7/365 Expert Support
You can always connect with a helpful human whenever you need it most


Easy to Manage cPanel
Softaculous app installer, free SSL, SSH access, and email included.

Uhhh ... you kept saying you didn't have ssh access?

'Pro level support is available only with the 'pro' plan.
It's the most expensive @$12.99 per month.

There's a cPanel demo
https://www.inmotionhosting.com/shared-hosting#
Unfortunately, I don't see a 'Terminal' icon in cPanel
but ... there is one for ssh access in Security as well as tools that have
had some/but not alway affects upon moodle ... Modsecurity, Succuri,

Hmmmm ... I see, however, a tutorial on Terminal!!!
https://www.inmotionhosting.com/support/edu/cpanel/how-to-launch-the-cpanel-terminal/

I asked this before ... have you asked hosting provider if your cPanel could get a Terminal icon?


回复Ken Task

Re: Went back to back up and now get: Exception - Call to undefined function gradingform_guide_get_fontawesome_icon_map()

Ian L -

I didn't answer it because i already answered it before a few years ago when you asked. Unless they changed something I believe i have the most expensive shared hosting plan. 

回复Ian L

Re: Went back to back up and now get: Exception - Call to undefined function gradingform_guide_get_fontawesome_icon_map()

Ken Task -
Particularly helpful Moodlers的头像

Wow!  'few years ago' ... what's my 'job' here in forums?  Answer: no job - community forum consist of volunteers who attempt to assist users needing help.   Right now, I'd say that describes your situation - you are in need of help.

That attempt to help does mean, from time to time, asking what user might think is a stupid question ... even though it's not.  

Free software doesn't mean free support ... it never has!

I don't have a contract to track you and your hosting issues.   And I can say, beyond any doubt, am not seeking a contract with you for support.    Just trying to help and seem to be getting a great deal of resistance.   I get it ... it's a matter of trust.

You said you didn't have ssh ... but you do.   Maybe you should have said 'I have it but I don't want to use it.'

Most 'expensive' .... ahhhh ... that's a major factor for your choice of hosting ... cost ... it is for many .. that's understandable.   But if that cPanel/hosting can't help or doesn't help where does that leave you and the issues you have with your site?

Have asked if your cPanel has a 'Terminal' icon.   No answer.   Didn't look or dismissed that question as not relevant?

'terminal' icon in cPanel is really the same as ssh ... it's a shell - and if you have it you could use some command line only scripts in moodle code.   Some of those commands you've seen/read about in other forum discussions you could try yourself, but .... where there is no will, there is no way.

Admin of a 'do it yourself' (DIY) Moodle site is a 'journey' ... and right now, IMHO, you haven't progressed far enough on that 'journey' to be pretty much self-supporting.

Again ... Free software doesn't mean free support ... it never has!  One might have to support themselves by learning from others - even curt folks like myself.

Have about reached my limit here.  Anyone else wanna try? :|


回复Ian L

Re: Went back to back up and now get: Exception - Call to undefined function gradingform_guide_get_fontawesome_icon_map()

Howard Miller -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
Ian (with my Moderator hat on)... you could just have answered the question 伤心

I don't see any security issue or similar. It may be completely irrelevant, but it may not.
回复Ken Task

Re: תשובה ל: Re: Went back to back up and now get: Exception - Call to undefined function gradingform_guide_get_fontawesome_icon_map()

Ian L -

The back up moodle.sql file was 391mb on my computer and then when I uploaded to the public_html it was 373mb. Is that a problem? because i wonder if the poor internet connection cut some of it off and then when I go to view the database it is said to be 957mb but maybe that is uncompressed or smthg.


回复Ian L

Re: תשובה ל: Re: Went back to back up and now get: Exception - Call to undefined function gradingform_guide_get_fontawesome_icon_map()

Ken Task -
Particularly helpful Moodlers的头像

An .sql file is a text file.   And unless transferred in binary can get corrupted on transfer.   The way to avoid that ... zip the .sql first.

'upload to public_html' - that directory is accessible by anyone with a browser ... may not have to login to your site to see it and download it.

IF a file/folder it's not code for a site, such files should be uploaded to your 'home' directory.   There, supposedly, no one but you and tech support can see it/interact with it.

Why won't you tell us where you host?   The company name - like GoDaddy, SiteGround, DigitalOcean, other?

 

回复Ian L

Went back to back up and now get: Exception - Call to undefined function gradingform_guide_get_fontawesome_icon_map()

Ken Task -
Particularly helpful Moodlers的头像

When you reply to a forum posting, are you going to the forum site first, logging on, then going to the posting and reply?  

OR are you using your own mail program to do so?

Think the latter is what you are doing ... evidence of that ... the subject line shows:

Re: תשובה ל: Re:

And one more time .... why won't you tell us where you host?  The name of the company ... like GoDaddy, SiteGround, DigitalOcean, other.



回复Ian L

Re: Went back to back up and now get: Exception - Call to undefined function gradingform_guide_get_fontawesome_icon_map()

Leon Stringer -
Core developers的头像 Particularly helpful Moodlers的头像

Re clearing the cache: Try deleting the contents of the cache, localcache and muc folders in Moodledata.

When restoring an older Moodle version's database you should delete the database and create an empty one first. This is because MySQL's default behaviour is to leave behind any newer (i.e. Moodle 3.11) tables if they're not overwritten by the old (i.e. Moodle 3.7) tables. As a precaution back up the database before deleting it.

Re "I can only go to 5.6" – MySQL 5.6 has been out of support for over a year and is really old. If your host is keeping you on that version maybe it's time to evaluate other providers.

回复Leon Stringer

Re: Went back to back up and now get: Exception - Call to undefined function gradingform_guide_get_fontawesome_icon_map()

Ian L -
It turned out it was the hosts error. I dealt with several different people working there via chat over a few days and as often the case there some are good and some are bad. I finally got a hold of someone helpful and pointed out the size differences in the databases they imported and I am not sure what he did but it now works again.

Moodledata folders were all empty and I had thought of some of those things thanks. I will try to upgrade to 3.9 as that is still on 5.6 .