Unable load external form block controller file: contact.php

Okay, so I updated a site from 5.5.0??not sure to 5.6 and not this error is being thrown.
trying to figure this out, I realized that the external form block it's referencing for this is not in the root blocks folder where it should be. It's in the core/external_form/forms folder. I recall going into labor while working on this site, so I very well could have done this myself and just never noticed, because it never broke the site until now..duhn Duhn DUHN!
I went into the log file - here's the full error:
Exception Occurred: Unable load external form block controller file: contact.php
#0 /home/sir8106/public_html/updates/concrete5.5.2.1/concrete/blocks/external_form/controller.php(71): ExternalFormBlockController->getControllerFile()
#1 [internal function]: ExternalFormBlockController->__call('on_page_view', Array)
#2 /home/sir8106/public_html/updates/concrete5.5.2.1/concrete/libraries/controller.php(212): ExternalFormBlockController->on_page_view(Object(Page))
#3 /home/sir8106/public_html/updates/concrete5.5.2.1/concrete/libraries/view.php(797): Controller->runTask(Array, Array)
#4 /home/sir8106/public_html/updates/concrete5.5.2.1/concrete/dispatcher.php(283): View->render('on_page_view', Array)
#5 /home/sir8106/public_html/concrete/startup/updated_core_check.php(6): require('/home/sir8106/p...')
#6 /home/sir8106/public_html/concrete/dispatcher.php(20): require('/home/sir8106/p...')
#7 /home/sir8106/public_html/index.php(2): require('/home/sir8106/p...')
#8 {main}

I have no idea how to fix this and would love some feedback.

p.s. I did find a reference to that file poking around the database under bt external form...I kind of feel like deleting that might help, but didn't want to do something that might get me fubared.

View Replies: View Best Answer
justrj replied on at Permalink Reply
Okay, so I went on and deleted contact.php from btExternal_Form. Now I have a whole new error:
Warning: require_once(/home/sir8106/public_html/blocks/external_form/forms/controllers/) [function.require-once]: failed to open stream: No such file or directory in /home/sir8106/public_html/blocks/external_form/controller.php on line 54
Fatal error: require_once() [function.require]: Failed opening required '/home/sir8106/public_html/blocks/external_form/forms/controllers/' (include_path='/home/sir8106/public_html/libraries/3rdparty:/home/sir8106/public_html/updates/concrete5.6.0.2/concrete/libraries/3rdparty:.:/usr/lib/php:/usr/local/lib/php') in /home/sir8106/public_html/blocks/external_form/controller.php on line 54
justrj replied on at Permalink Best Answer Reply
okay - so I resolved this by removing the offending block from the page, which I found that you can do under Stacks&Blocks>Block Types in the dashboard. Just remove the block type(don't worry you can reinstall it) and that will remove all instances of the block that is causing the error.

For some reason my edit bar is showing up, but has no discernable menus, but it's a step in the right direction, even if the contact form is missing. Once I figure out how to throw this puppy back into edit mode I can fix that easily...or I can hard code it in, whichever comes first.

Any suggestions on why my edit bar is gone would be awesome!
justrj replied on at Permalink Reply
Got my edit bar working - just had to reorder the script calls in the file.
TomBruner replied on at Permalink Reply
Exactly how does one reinstall the External Form Block?

goodnightfirefly replied on at Permalink Reply
TomBruner replied on at Permalink Reply