V4 addon.xml

I know this is probably something simple, but I submitted a ticket this morning (Thursday) Pacific time. I expect to get some lame response of “we'll get back to you when we get a chance” or some other reason they can't just give me an answer. So it will be my Monday at the earliest that I will get an official answer.



The addon.xml file in this loads fine. The language variables are loaded, the queries are run, etc. However, when going to the Add-ons Manage page, it is simply blank and no html was generated for either of the two tabs.



There is a schemas/settings/variants.post.php file that returns the variants for the status selector and this worked find under V2 and V3. In the V3 version, I had basically just supported V3 Pro so was able to use my V2 addons.xml file. But now in V4, I wanted to convert it to the new addon.xml schmea version 2.0.



Can anyone identify what is wrong with this file? There is no error generated in the PHP error log and there is nothing on-screen to indicate any kind of problem/issue. But a view source shows it has no content. This same methodology works in my other addons so not sure where to look and thought maybe some fresh eyes might see a typo or something that I've missed. Trying not to wait 4 days for an answer…



Any help would be appreciated…

```php




auto_mail

EZ Auto-Mailer

Send transactional emails to customers/users upon configurable conditions

1

0

active

en











General







Addon Configuration

header









License Key (required)

input





License key (required)







Frequency of upgrade checks

selectbox

daily





Every day (recommended)



Every day (recommended)







Each week



Each week







Each month (not recommended)



Each month (not recommended)









Frequency for upgrade checks







Automatic Installation

checkbox

Y



Automatic Installation







Silent Installation

checkbox

N



Silent Installation













Basic Settings





Send on login

checkbox

N



Send on login







Default Order Status

selectbox

P



Default Order Status

















CREATE TABLE IF NOT EXISTS ?:auto_mail_queue (

am_queue_id mediumint UNSIGNED NOT NULL AUTO_INCREMENT,

am_object_id mediumint UNSIGNED NOT NULL,

am_event text NOT NULL,

am_event_type char(1) NOT NULL,

am_queue_status char(1) NOT NULL,

lang_code char(2) NOT NULL DEFAULT 'en',

am_next_send integer UNSIGNED NOT NULL,

am_trigger_data text NOT NULL,

am_send_to varchar(128) NOT NULL,

am_sent integer UNSIGNED NOT NULL default 0,

company_id mediumint UNSIGNED NOT NULL,

PRIMARY KEY (am_queue_id),

KEY (am_queue_status),

KEY (am_event_type)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;





CREATE TABLE IF NOT EXISTS ?:auto_mail_events (

am_event_id mediumint UNSIGNED NOT NULL AUTO_INCREMENT,

am_event_status char(1) NOT NULL,

am_event_type char(1) NOT NULL,

am_action_id mediumint unsigned NOT NULL,

am_priority tinyint NOT NULL DEFAULT 0,

am_days mediumint NOT NULL,

am_template varchar(255) NOT NULL,

am_cc varchar(255) NOT NULL,

am_event_options text NOT NULL,

am_action_data text NOT NULL,

company_id mediumint UNSIGNED NOT NULL,

PRIMARY KEY (am_event_id)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=100 ;





CREATE TABLE IF NOT EXISTS ?:auto_mail_event_descriptions (

am_event_id mediumint unsigned NOT NULL,

lang_code char(2) NOT NULL,

description varchar(255) NOT NULL,

PRIMARY KEY (am_event_id, lang_code)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;





CREATE TABLE IF NOT EXISTS ?:auto_mail_actions (

am_action_id mediumint unsigned NOT NULL auto_increment,

am_action_type char(1) NOT NULL,

am_event_type char(1) NOT NULL,

am_status char(1) NOT NULL,

PRIMARY KEY (am_action_id)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=100 ;





CREATE TABLE IF NOT EXISTS ?:auto_mail_action_descriptions (

am_action_id mediumint unsigned NOT NULL AUTO_INCREMENT,

am_action_type char(1) NOT NULL,

lang_code char(2) NOT NULL,

description varchar(255) NOT NULL,

PRIMARY KEY (am_action_id, lang_code)

) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;





REPLACE INTO ?:auto_mail_action_descriptions (am_action_id, am_action_type, lang_code, description)

VALUES (1, 'P', 'en', 'Order placed'),

(2, 'R', 'en', 'Products purchased'),

(3, 'T', 'en', 'Payment type'),

(4, 'A', 'en', 'Order amount greater'),

(5, 'U', 'en', 'New registration');





REPLACE INTO ?:auto_mail_actions (am_action_id, am_action_type, am_event_type, am_status)

VALUES (1, 'P', 'O', 'A'),

(2, 'R', 'O', 'A'),

(3, 'T', 'O', 'A'),

(4, 'A', 'O', 'A'),

(5, 'U', 'P', 'A');







Auto-Mailer

Configuration





```

Well, after waiting for 5 days for someone to respond, they uninstalled and re-installed the addon and it works fine. I've seen this occasionally in V3 so would have thought they might have tried to diagnose a situation while it existed. So now there's no cause identified and no solution other than uninstall/reinstall.

They provided the same fix for an addon I did for V3 too. It would have been nice to know what and why it went wrong, but it worked and response times are generally slow enough so I didn't bother following it up any further.