Closed (won't fix)
Project:
Mailhandler
Version:
7.x-2.x-dev
Component:
Mailhandler
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2011 at 21:05 UTC
Updated:
28 Aug 2013 at 18:54 UTC
This is due to a bug with CTools. There's an issue somewhere in the CTools queue I need to find. Here's the error:
Call to undefined function ctools_export_crud_load() in /var/aegir/platforms/dev_mailflow7_83/sites/all/modules/ctools/plugins/export_ui/ctools_export_ui.class.php on line 1372
You just have to add the following line to fix it:
ctools_include('export');
It may then appear another place in ctools_export_ui.class.php IIRC.
Comments
Comment #1
danepowell commented#1142812: CTools Export UI + #AJAX: Call to undefined function ctools_export_get_schema()
Slightly different error, but the solutions are the same I think.
Comment #2
danepowell commentedHere's the new issue: #1365524: Fatal error when using export_ui with AJAX
But I think the temporary workaround will be to implement
Comment #3
danepowell commentedI've committed a workaround, but this needs to be fixed in ctools:
http://drupalcode.org/project/mailhandler.git/commit/38ed78d
#1365524: Fatal error when using export_ui with AJAX
Comment #4
mharkin commentedHi,
I have just installed the latest Mailhandler module 7.x-2.4 on my Drupal Website v7.4). I am using MySql 5.0.77-log and PHP 5.2.17 with IMAP enabled.
When I try to add a new Mailhandler Mailbox as soon as I enter the Port Number or Username the round circle appears (I presume to check the settings) and I get following pop up box:
AJAX HTTP error occurred, Error 500 "Path: /system/ajax" "StatusText: Internal Server Error" ResultText:
I have tried searching for a solution but to no avail. Hope you can help.
Mick
Comment #5
danepowell commented@mharkin - that may or may not be the same error. You'll need to check your PHP error log to find the root cause of the 500 error.
Comment #6
daften commentedThe error I get:
PHP Fatal error: ctools_export_ui_edit_item_form_validate(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "mailhandler_mailbox_ui" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /var/www/developer2.webinos.org/sites/all/modules/contrib/ctools/plugins/export_ui/ctools_export_ui.class.php on line 1379, referer: http://ec2-54-246-97-90.eu-west-1.compute.amazonaws.com/admin/structure/...
Comment #7
danepowell commented@daften please open a new issue for that, it doesn't look like the same error.
Comment #8
danepowell commentedWhatever... clearly the root issue isn't going to get addressed by Ctools.