Contact Admin

Error message doesn’t have it HTML content parsed/displayed - Contact Admin

Error message doesn’t have it HTML content parsed/displayed

by Galixte de EzCom » Wed Jul 25, 2018 4:07 am

Hi,
  • if I activate the extension option to send email,
  • if I disable the global phpBB option to send mail on the forum,
  • if I send the form from the /contactadmin page,
  • It displays an error message: “There is an error with the configuration of the Contact Administration.
    The extension is set to send an email but the configuration isn’t setup to send emails. Please notify the administrator or webmaster: mailto:forum@localhost.fr” that it content isn’t parsed/displayed.
Contact admin error message HTML content isn’t parsed.png
Issue opened here: https://github.com/rmcgirr83/contactadmin/issues/11.
Communau EzCom
📖 « Traductions d’extensions & styles pour phpBB 3.1.x & 3.2.x ».
📋 Lists of all extensions identified for phpBB 3.1.x & 3.2.x.
📋 Lists of all styles identified for phpBB 3.1.x & 3.2.x.
Image Tu as un forum et tu veux aussi un site web ? Regarde par ici.
User avatar
Galixte de EzCom
Registered User
Posts: 1037
Joined: Mon Oct 04, 2004 11:14 pm
Location: France
Name: Raphaël M.
Contact:

Re: Error message doesn’t have it HTML content parsed/displa

by RMcGirr83 » Wed Jul 25, 2018 11:46 am

Try changing this line https://github.com/rmcgirr83/contactadm ... r.php#L141

to this

Code: Select all

$message = sprintf($this->user->lang['CONTACT_MAIL_DISABLED'], $this->config['board_contact']);
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Error message doesn’t have it HTML content parsed/displa

by Galixte de EzCom » Wed Jul 25, 2018 12:44 pm

Ηi thanks for helping,

it doesn't change anything: I have disabled the extension, delete it data, modified this file, activated the extension, reconfigured it, and proceeded to the same test.
Communau EzCom
📖 « Traductions d’extensions & styles pour phpBB 3.1.x & 3.2.x ».
📋 Lists of all extensions identified for phpBB 3.1.x & 3.2.x.
📋 Lists of all styles identified for phpBB 3.1.x & 3.2.x.
Image Tu as un forum et tu veux aussi un site web ? Regarde par ici.
User avatar
Galixte de EzCom
Registered User
Posts: 1037
Joined: Mon Oct 04, 2004 11:14 pm
Location: France
Name: Raphaël M.
Contact:

Re: Error message doesn’t have it HTML content parsed/displa

by RMcGirr83 » Wed Jul 25, 2018 12:47 pm

Probably need to do trigger error instead of throw
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact: