[reasons ...] com_mailto / recommend function doesn't work

More
11 years 2 weeks ago #41752 by weCombine
hi there,
there seems to be a general problem with the com_mailto function: if you are not logged in, it s not possible to send (mail) a page to someone.
you can simulate it also on flexicontent.org/features.html
choose the "send"-function below the text. if you submit it, the error "email could not be sent" appears.

this is a known problem for years (saw it in other forum), is there a bug fix?

cheers from berlin,
bart

Please Log in or Create an account to join the conversation.

More
11 years 2 weeks ago #41755 by ggppdk
Hello

-- Reason for not being able to send email from: flexicontent.org/features.html
could be different (i have tested sending share email from it)

-- Please edit:
compononents/com_flexicontent/com_mailto/controller.php

And replace the 3 occurences of:
Code:
JError::raiseNotice(500, JText:: _ ('COM_MAILTO_EMAIL_NOT_SENT'));
with
Code:
JError::raiseNotice(500, JText:: _ ('COM_MAILTO_EMAIL_NOT_SENT'). ": Please wait more seconds before clicking send"); JError::raiseNotice(500, JText:: _ ('COM_MAILTO_EMAIL_NOT_SENT'). ": Link '".$link."' is not local"); JError::raiseNotice(500, JText:: _ ('COM_MAILTO_EMAIL_NOT_SENT'). ": Email function failed");


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 2 weeks ago #41832 by weCombine
many thanks for your feedback.

i have found a way to make it work on my site:
the link transmitted by flexicontent seemed to be wrong (404) because of the jroute function, instead /category-name/item/xxx-title-alias the link was /category-name/xxx-title-alias.
this way the link was not local and the mail could not be sent.

in the new flexicontent version the link has been put rightly together in com_flexicontent/classes/flexicontent.helper.php

$link = $base . JRoute::_(FlexicontentHelperRoute::getItemRoute($itemslug, $slug));

hope this can help some people by debugging ;)

Please Log in or Create an account to join the conversation.

More
11 years 2 weeks ago #41843 by ggppdk
Hello

1. you mean that you have updated FLEXIcontent and it is working with the new version?

2. before updating, which version did you have?

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.369 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline