Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

[SOLVED] e-mail icon is not working
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: [SOLVED] e-mail icon is not working

[SOLVED] e-mail icon is not working 10 years, 4 months ago #15722

Hello,
When I call the e-mail icon in my articles to send an e-mail, I get this error in a pop up window:

Warning: include_once(J_TEMPLATEDIR/includes/frame_inc.php) [function.include-once]: failed to open stream: No such file or directory in /home/content/A/s/t/Asterix6/html/templates/sj_news/component.php on line 15

Warning: include_once() [function.include]: Failed opening 'J_TEMPLATEDIR/includes/frame_inc.php' for inclusion (include_path='.:/usr/local/php5_3/lib/php') in /home/content/A/s/t/Asterix6/html/templates/sj_news/component.php on line 15

Warning: include_once(J_TEMPLATEDIR/includes/head.php) [function.include-once]: failed to open stream: No such file or directory in /home/content/A/s/t/Asterix6/html/templates/sj_news/component.php on line 32

How can I solve this problem?

Thanks
The topic has been locked.

Re: e-mail icon is not working 10 years, 4 months ago #15750

Dear Barbara Amaro,

Please go to your_site\templates\sj_template\component.php and find:

// Include file: frame_inc.php
include_once (J_TEMPLATEDIR.'/includes/frame_inc.php');


=>

if(!defined('J_TEMPLATEDIR')){
define('J_TEMPLATEDIR', JPATH_SITE.J_SEPARATOR.'templates'.J_SEPARATOR.$this->template);
}
// Include file: frame_inc.php
include_once (J_TEMPLATEDIR.'/includes/frame_inc.php');


Thanks!
The topic has been locked.

Re: e-mail icon is not working 10 years, 4 months ago #15764

Do I have to write it after the line
defined('_JEXEC') or die;
or instead of it?
That is the line read before
// Include file: frame_inc.php
include_once (J_TEMPLATEDIR.'/includes/frame_inc.php');
Thanks
The topic has been locked.

Re: e-mail icon is not working 10 years, 3 months ago #15784

Dear Barbara Amaro,

defined('_JEXEC') or die;
// Include file: frame_inc.php
include_once (J_TEMPLATEDIR.'/includes/frame_inc.php');

=>

defined('_JEXEC') or die;

if(!defined('J_TEMPLATEDIR')){
    define('J_TEMPLATEDIR', JPATH_SITE.J_SEPARATOR.'templates'.J_SEPARATOR.$this->template);
}
// Include file: frame_inc.php
include_once (J_TEMPLATEDIR.'/includes/frame_inc.php');


Thanks!
The topic has been locked.

Re: e-mail icon is not working 10 years, 3 months ago #15831

Thank you.
The topic has been locked.
  • Page:
  • 1
Time to create page: 0.22 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes