Unable load external form block controller file: contact.php
Permalink
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:
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.
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.
![justrj](/files/avatars/82257.jpg)
Okay, so I went on and deleted contact.php from btExternal_Form. Now I have a whole new error:
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!
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!
Got my edit bar working - just had to reorder the script calls in the file.
Exactly how does one reinstall the External Form Block?
Thanks,
-Tom
Thanks,
-Tom
http://www.concrete5.org/documentation/how-tos/editors/reinstall-a-lost-core-block-type/
Thanks!