CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Opt Out link does not work...
Pages: [1]

Author Topic: Opt Out link does not work...  (Read 558 times)

beenlouis

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 0
Opt Out link does not work...
March 26, 2013, 11:43:03 am
The "opt out" link automatically generated at the bottom of my newsletters in CiviMail is not working. I have had several users report that when the click on the link they get the following error message:

Code: [Select]
Warning: require_once(CRM/Core/Smarty.php) [function.require-once]: failed to open stream: No such file or directory in /home/presby/public_html/wp-content/plugins/civicrm/civicrm.php on line 304

Fatal error: require_once() [function.require]: Failed opening required 'CRM/Core/Smarty.php' (include_path='.') in /home/presby/public_html/wp-content/plugins/civicrm/civicrm.php on line 304

I have checked and both the "civicdm.php" and "smarty.php" files exists in those locations. Any suggestions?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Opt Out link does not work...
March 26, 2013, 12:10:01 pm

whats the url that is being generated / used for the optout link?

also can you try a similar url on our wordpress demo and sandbox servers

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

beenlouis

  • I post occasionally
  • **
  • Posts: 40
  • Karma: 0
Re: Opt Out link does not work...
March 26, 2013, 03:35:32 pm
http://presbyinw.org/?page=CiviCRM&q=civicrm/mailing/optout&reset=1&jid=62&qid=882&h=08bc034b56e120d7

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Opt Out link does not work...
March 26, 2013, 06:53:10 pm

Not sure why your include_path is not set, which means the civicrm.settings.php file is not being read.

Your best bet would be to add some debug statements to civicrm.php (in the plugins/civicrm folder) and add some debug code in civicrm_wp_initialize. You'll need some php expertise

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Opt Out link does not work...

This forum was archived on 2017-11-26.