- Posts: 5
Joomdle 1.0 Installation
getting invalid get_string() in moodle
- shane@lifexp.com.au
- Topic Author
- Offline
- New Member
-
Less
More
9 years 3 months ago - 9 years 3 months ago #1
by shane@lifexp.com.au
getting invalid get_string() in moodle was created by shane@lifexp.com.au
Invalid get_string() identifier: 'joomdle:config' or component 'enrol_joomdle'. Perhaps you are missing $string = ''; in /home11/ascensio/public_html/hub/enrol/joomdle/lang/en/enrol_joomdle.php?
line 349 of /lib/classes/string_manager_standard.php: call to debugging()
line 6684 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 3034 of /lib/accesslib.php: call to get_string()
line 2879 of /lib/accesslib.php: call to get_capability_string()
line 118 of /admin/roles/classes/capability_table_base.php: call to get_capability_docs_link()
line 149 of /admin/roles/check.php: call to core_role_capability_table_base->display()
Invalid get_string() identifier: 'joomdle:manage' or component 'enrol_joomdle'. Perhaps you are missing $string = ''; in /home11/ascensio/public_html/hub/enrol/joomdle/lang/en/enrol_joomdle.php?
line 349 of /lib/classes/string_manager_standard.php: call to debugging()
line 6684 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 3034 of /lib/accesslib.php: call to get_string()
line 2879 of /lib/accesslib.php: call to get_capability_string()
line 118 of /admin/roles/classes/capability_table_base.php: call to get_capability_docs_link()
line 149 of /admin/roles/check.php: call to core_role_capability_table_base->display()
Invalid get_string() identifier: 'joomdle:unenrol' or component 'enrol_joomdle'. Perhaps you are missing $string = ''; in /home11/ascensio/public_html/hub/enrol/joomdle/lang/en/enrol_joomdle.php?
line 349 of /lib/classes/string_manager_standard.php: call to debugging()
line 6684 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 3034 of /lib/accesslib.php: call to get_string()
line 2879 of /lib/accesslib.php: call to get_capability_string()
line 118 of /admin/roles/classes/capability_table_base.php: call to get_capability_docs_link()
line 149 of /admin/roles/check.php: call to core_role_capability_table_base->display()
Invalid get_string() identifier: 'stripepayment:config' or component 'enrol_stripepayment'. Perhaps you are missing $string = ''; in /home11/ascensio/public_html/hub/enrol/stripepayment/lang/en/enrol_stripepayment.php?
line 349 of /lib/classes/string_manager_standard.php: call to debugging()
line 6684 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 3034 of /lib/accesslib.php: call to get_string()
line 2879 of /lib/accesslib.php: call to get_capability_string()
line 118 of /admin/roles/classes/capability_table_base.php: call to get_capability_docs_link()
line 149 of /admin/roles/check.php: call to core_role_capability_table_base->display()
Invalid get_string() identifier: 'stripepayment:manage' or component 'enrol_stripepayment'. Perhaps you are missing $string = ''; in /home11/ascensio/public_html/hub/enrol/stripepayment/lang/en/enrol_stripepayment.php?
line 349 of /lib/classes/string_manager_standard.php: call to debugging()
line 6684 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 3034 of /lib/accesslib.php: call to get_string()
line 2879 of /lib/accesslib.php: call to get_capability_string()
line 118 of /admin/roles/classes/capability_table_base.php: call to get_capability_docs_link()
line 149 of /admin/roles/check.php: call to core_role_capability_table_base->display()
Invalid get_string() identifier: 'stripepayment:unenrol' or component 'enrol_stripepayment'. Perhaps you are missing $string = ''; in /home11/ascensio/public_html/hub/enrol/stripepayment/lang/en/enrol_stripepayment.php?
line 349 of /lib/classes/string_manager_standard.php: call to debugging()
line 6684 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 3034 of /lib/accesslib.php: call to get_string()
line 2879 of /lib/accesslib.php: call to get_capability_string()
line 118 of /admin/roles/classes/capability_table_base.php: call to get_capability_docs_link()
line 149 of /admin/roles/check.php: call to core_role_capability_table_base->display()
Invalid get_string() identifier: 'stripepayment:unenrolself' or component 'enrol_stripepayment'. Perhaps you are missing $string = ''; in /home11/ascensio/public_html/hub/enrol/stripepayment/lang/en/enrol_stripepayment.php?
line 349 of /lib/classes/string_manager_standard.php: call to debugging()
line 6684 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 3034 of /lib/accesslib.php: call to get_string()
line 2879 of /lib/accesslib.php: call to get_capability_string()
line 118 of /admin/roles/classes/capability_table_base.php: call to get_capability_docs_link()
line 149 of /admin/roles/check.php: call to core_role_capability_table_base->display()
line 349 of /lib/classes/string_manager_standard.php: call to debugging()
line 6684 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 3034 of /lib/accesslib.php: call to get_string()
line 2879 of /lib/accesslib.php: call to get_capability_string()
line 118 of /admin/roles/classes/capability_table_base.php: call to get_capability_docs_link()
line 149 of /admin/roles/check.php: call to core_role_capability_table_base->display()
Invalid get_string() identifier: 'joomdle:manage' or component 'enrol_joomdle'. Perhaps you are missing $string = ''; in /home11/ascensio/public_html/hub/enrol/joomdle/lang/en/enrol_joomdle.php?
line 349 of /lib/classes/string_manager_standard.php: call to debugging()
line 6684 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 3034 of /lib/accesslib.php: call to get_string()
line 2879 of /lib/accesslib.php: call to get_capability_string()
line 118 of /admin/roles/classes/capability_table_base.php: call to get_capability_docs_link()
line 149 of /admin/roles/check.php: call to core_role_capability_table_base->display()
Invalid get_string() identifier: 'joomdle:unenrol' or component 'enrol_joomdle'. Perhaps you are missing $string = ''; in /home11/ascensio/public_html/hub/enrol/joomdle/lang/en/enrol_joomdle.php?
line 349 of /lib/classes/string_manager_standard.php: call to debugging()
line 6684 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 3034 of /lib/accesslib.php: call to get_string()
line 2879 of /lib/accesslib.php: call to get_capability_string()
line 118 of /admin/roles/classes/capability_table_base.php: call to get_capability_docs_link()
line 149 of /admin/roles/check.php: call to core_role_capability_table_base->display()
Invalid get_string() identifier: 'stripepayment:config' or component 'enrol_stripepayment'. Perhaps you are missing $string = ''; in /home11/ascensio/public_html/hub/enrol/stripepayment/lang/en/enrol_stripepayment.php?
line 349 of /lib/classes/string_manager_standard.php: call to debugging()
line 6684 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 3034 of /lib/accesslib.php: call to get_string()
line 2879 of /lib/accesslib.php: call to get_capability_string()
line 118 of /admin/roles/classes/capability_table_base.php: call to get_capability_docs_link()
line 149 of /admin/roles/check.php: call to core_role_capability_table_base->display()
Invalid get_string() identifier: 'stripepayment:manage' or component 'enrol_stripepayment'. Perhaps you are missing $string = ''; in /home11/ascensio/public_html/hub/enrol/stripepayment/lang/en/enrol_stripepayment.php?
line 349 of /lib/classes/string_manager_standard.php: call to debugging()
line 6684 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 3034 of /lib/accesslib.php: call to get_string()
line 2879 of /lib/accesslib.php: call to get_capability_string()
line 118 of /admin/roles/classes/capability_table_base.php: call to get_capability_docs_link()
line 149 of /admin/roles/check.php: call to core_role_capability_table_base->display()
Invalid get_string() identifier: 'stripepayment:unenrol' or component 'enrol_stripepayment'. Perhaps you are missing $string = ''; in /home11/ascensio/public_html/hub/enrol/stripepayment/lang/en/enrol_stripepayment.php?
line 349 of /lib/classes/string_manager_standard.php: call to debugging()
line 6684 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 3034 of /lib/accesslib.php: call to get_string()
line 2879 of /lib/accesslib.php: call to get_capability_string()
line 118 of /admin/roles/classes/capability_table_base.php: call to get_capability_docs_link()
line 149 of /admin/roles/check.php: call to core_role_capability_table_base->display()
Invalid get_string() identifier: 'stripepayment:unenrolself' or component 'enrol_stripepayment'. Perhaps you are missing $string = ''; in /home11/ascensio/public_html/hub/enrol/stripepayment/lang/en/enrol_stripepayment.php?
line 349 of /lib/classes/string_manager_standard.php: call to debugging()
line 6684 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
line 3034 of /lib/accesslib.php: call to get_string()
line 2879 of /lib/accesslib.php: call to get_capability_string()
line 118 of /admin/roles/classes/capability_table_base.php: call to get_capability_docs_link()
line 149 of /admin/roles/check.php: call to core_role_capability_table_base->display()
Last edit: 9 years 3 months ago by shane@lifexp.com.au.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
9 years 3 months ago #2
by Antonio Durán
Replied by Antonio Durán on topic getting invalid get_string() in moodle
Can you tell us when do you get this message?
Please Log in or Create an account to join the conversation.
- Tim
-
- Offline
- Senior Member
-
9 years 2 months ago #3
by Tim
Replied by Tim on topic getting invalid get_string() in moodle
I see this message too when I go to "Editing Role Web Service" the following lines appear before the role assignment options.
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7909
9 years 2 months ago #4
by Antonio Durán
Replied by Antonio Durán on topic getting invalid get_string() in moodle
Thanks for the info.
You can remove the errors by adding this to moodle/enrol/joomdle/lang/en/enrol_joomdle.php:
You may need to purge moodle cache before it shows correctly.
You can remove the errors by adding this to moodle/enrol/joomdle/lang/en/enrol_joomdle.php:
Code:
$string['joomdle:unenrol'] = 'Unenrol users';
$string['joomdle:config'] = 'Configure Joomdle enrol method';
$string['joomdle:manage'] = 'Manage enrolments';
You may need to purge moodle cache before it shows correctly.
Please Log in or Create an account to join the conversation.
- Tim
-
- Offline
- Senior Member
-
9 years 2 months ago #5
by Tim
Replied by Tim on topic getting invalid get_string() in moodle
Yes, that worked after a purge of the Moodle cache.
For those looking, the purge all caches feature is at: Site Administration > Development > Purge all caches
For those looking, the purge all caches feature is at: Site Administration > Development > Purge all caches
Please Log in or Create an account to join the conversation.