Unable load External Form - Can't log into admin to xhange the form
Permalink
I was trying to use some external form code to create a moodle login on my site.
I created a moodle_login.php file and uploaded it to the blocks/forms/external_forms/ folder.
I placed a form block in my header and the moodle_login was there as one of my options.
I'm now receiving this error:
An unexpected error occurred.
Unable load external form block controller file: moodle_login.php
and can't get into admin to edit the page and remove the form.
I tried deleting the file moodle_login.php from the folder but that didn't change anything. I copied the test form code and renamed it to moodle_login.php, but I am still getting this error.
any thoughts?
I created a moodle_login.php file and uploaded it to the blocks/forms/external_forms/ folder.
I placed a form block in my header and the moodle_login was there as one of my options.
I'm now receiving this error:
An unexpected error occurred.
Unable load external form block controller file: moodle_login.php
and can't get into admin to edit the page and remove the form.
I tried deleting the file moodle_login.php from the folder but that didn't change anything. I copied the test form code and renamed it to moodle_login.php, but I am still getting this error.
any thoughts?
Hmmm....So I have the external form in the correct location now (I think) My webpage does not show up, but I do have the form that shows up and it does work to login into my moodle site.
But the webpage doesn't work and I get this error:
Warning: require_once(/var/www/vhosts/mywebpage/httpdocs/web/concrete/blocks/moodle_login_external_form/controller.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/mywebpage/httpdocs/web/concrete/core/libraries/loader.php on line 205
Fatal error: require_once() [function.require]: Failed opening required '/var/www/vhosts/mywebpage/httpdocs/web/concrete/blocks/moodle_login_external_form/controller.php' (include_path='/var/www/vhosts/mywebpagem/httpdocs/web/libraries/3rdparty:/var/www/vhosts/mywebpage/httpdocs/web/concrete/libraries/3rdparty:.:') in /var/www/vhosts/mywebpage/httpdocs/web/concrete/core/libraries/loader.php on line 205
Still can't login into admin as I get the form and the error as well.
Thoughts?
But the webpage doesn't work and I get this error:
Warning: require_once(/var/www/vhosts/mywebpage/httpdocs/web/concrete/blocks/moodle_login_external_form/controller.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/mywebpage/httpdocs/web/concrete/core/libraries/loader.php on line 205
Fatal error: require_once() [function.require]: Failed opening required '/var/www/vhosts/mywebpage/httpdocs/web/concrete/blocks/moodle_login_external_form/controller.php' (include_path='/var/www/vhosts/mywebpagem/httpdocs/web/libraries/3rdparty:/var/www/vhosts/mywebpage/httpdocs/web/concrete/libraries/3rdparty:.:') in /var/www/vhosts/mywebpage/httpdocs/web/concrete/core/libraries/loader.php on line 205
Still can't login into admin as I get the form and the error as well.
Thoughts?
I have exactly the same problem as elysianacres. I have two pages with an external form block. After the update to 5.6.0.2 I got the same error as mentioned above.
I also tried deleting the external form files, which didn't change anything. Then I looked for a block reference for this pages in the database but couldn't find any.
Does nobody know how to fix this? There were also other blocks with content on that pages which I don't want to loose.
Where in the database is the page content stored?
I appreciate any help/hints.
I also tried deleting the external form files, which didn't change anything. Then I looked for a block reference for this pages in the database but couldn't find any.
Does nobody know how to fix this? There were also other blocks with content on that pages which I don't want to loose.
Where in the database is the page content stored?
I appreciate any help/hints.
Have you guys found any resolution to the external blocks error? I just attempted to put a form in, and am now in the same boat as you two. My site is still under development but not being able to load the homepage is severely limiting.
SOLUTION!
Go into your Dashboard > Full Sitemap
Click on the page where you tried to add the external form and select Versions from the menu that pops up.
Select a previous version of the page, before you tried to add the external form, and click the Copy icon in the top right corner of the window.
Check the new copy (should be at the top of the list) and click the Approve icon in the top right corner of the window.
You just rolled back your page so there's no external form. Hooray! Now you can access it again. Hooray!
Now, here's a thread I found with the procedure for adding an external form so that things don't break. I just tried it and it works! Hooray x3!
http://www.concrete5.org/community/forums/chat/external_forms_file_...
One more note: It appears to take some time for the database to recognize changes to your external forms and their respective controllers, so take it slow and don't panic if you get a database error. Just walk away for a couple minutes, come back, and hit refresh.
Hope this helps.
Go into your Dashboard > Full Sitemap
Click on the page where you tried to add the external form and select Versions from the menu that pops up.
Select a previous version of the page, before you tried to add the external form, and click the Copy icon in the top right corner of the window.
Check the new copy (should be at the top of the list) and click the Approve icon in the top right corner of the window.
You just rolled back your page so there's no external form. Hooray! Now you can access it again. Hooray!
Now, here's a thread I found with the procedure for adding an external form so that things don't break. I just tried it and it works! Hooray x3!
http://www.concrete5.org/community/forums/chat/external_forms_file_...
One more note: It appears to take some time for the database to recognize changes to your external forms and their respective controllers, so take it slow and don't panic if you get a database error. Just walk away for a couple minutes, come back, and hit refresh.
Hope this helps.
Unable load external form block controller file: moodle_login.php
But I can't login to admin to change the external form block.
Can I reach it another way?