Post Reply 
Error in Smarty compiler in cms
30-Jul-2012, 10:14 PM
Post: #1
Error in Smarty compiler in cms
Great program (almost) works perfect ...

I'm getting errors in my cms:

Strict Standards: Non-static method esynLayout::printListingUrl() cannot be called statically in ..../public_html/includes/smarty/Smarty_Compiler.class.php on line 778

Several other modules stop working.
Switch off the Commentics removes the error.

Seems that it has something to do with the internal Smarty compiler, but that is as far as I came.

Anyone got any idea what to do to make this right?

Thanks
Find all posts by this user
Quote this message in a reply
31-Jul-2012, 01:35 PM
Post: #2
error
I've removed all modules from the page that ended in an error.

Now, when sending a comment, Commentics ends in a massive error like:

Code:
Notice: Undefined index: smtp_encryption in /home/dvdr/domains/mydomain.com/public_html/comments/includes/classes/settings.php on line 43

Fatal error: Uncaught exception 'Swift_RfcComplianceException' with message 'Address in mailbox given [-valid email address-] does not comply with RFC 2822, 3.6.2.' in /home/dvdr/domains/mydomain.com/public_html/comments/includes/swift_mailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php:319 Stack trace: #0 /home/dvdr/domains/mydomain.com/public_html/comments/includes/swift_mailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php(238): Swift_Mime_Headers_MailboxHeader->_assertValidAddress('-valid email address-') #1 /home/dvdr/domains/mydomain.com/public_html/comments/includes/swift_mailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php(96): Swift_Mime_Headers_MailboxHeader->normalizeMailboxes(Array) #2 /home/dvdr/domains/mydomain.com/public_html/comments/includes/swift_mailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php(60): Swift_Mime_Headers_MailboxHeader->setNameAddresses(Array) #3 /home/dvdr/domains/mydomain.com/public_html/comments/includes/swift_mailer/lib/classes/Swift/Mime/SimpleMimeEntity.php(581): Swi in /home/dvdr/domains/mydomain.com/public_html/comments/includes/swift_mailer/lib/classes/Swift/Mime/Headers/MailboxHeader.php on line 319

All configured email addresses (as also mentioned in the error message) are correct and valid.

I have no clue but have spent several hours now to get this to work.
Someone has an idea?
Find all posts by this user
Quote this message in a reply
31-Jul-2012, 04:56 PM
Post: #3
RE: Error in Smarty compiler in cms
Hi,

Sorry about that error.

Can you open /comments/includes/swift_mailer/create.php (line 34)

Replace:

PHP Code:
} else if ($cmtx_settings->smtp_encryption == "tls") { 

With:

PHP Code:
} else if ($cmtx_settings->smtp_encrypt == "tls") { 

Have you completed the interview?
Find all posts by this user
Quote this message in a reply
13-Aug-2012, 07:56 PM
Post: #4
RE: Error in Smarty compiler in cms
(31-Jul-2012 04:56 PM)Steven Wrote:  Hi,

Sorry about that error.

Can you open /comments/includes/swift_mailer/create.php (line 34)

Replace:

PHP Code:
} else if ($cmtx_settings->smtp_encryption == "tls") { 

With:

PHP Code:
} else if ($cmtx_settings->smtp_encrypt == "tls") { 

The errors are gone and everything is almost working as it should. Thank you.

One last question though, where do I approve comments? :-)
They're in the list in admin labeled as not approved, but no options to approve?

Thanks
JohN
Find all posts by this user
Quote this message in a reply
13-Aug-2012, 09:32 PM
Post: #5
RE: Error in Smarty compiler in cms
(13-Aug-2012 07:56 PM)CommiC Wrote:  One last question though, where do I approve comments? :-)
They're in the list in admin labeled as not approved, but no options to approve?

Hi JohN,

See here : http://www.commentics.org/forum/showthread.php?tid=626

Meanwhile you can approve them by editing the comment, there you can switch the approval status.

Cheers,
pier
Find all posts by this user
Quote this message in a reply
13-Aug-2012, 10:16 PM
Post: #6
RE: Error in Smarty compiler in cms
Hi JohN,
See here : http://www.commentics.org/forum/showthread.php?tid=626
Meanwhile you can approve them by editing the comment, there you can switch the approval status.

Cheers,
pier
[/quote]

Yep, got it. Sorry, seemed a rtfm question :-)
Starting to get the hang of it and it looks great!

Thanks
JohN
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Commentics in Smarty TPL file? saeed319 2 733 09-Oct-2012 04:11 PM
Last Post: jonoweb
  Same comment on different pages throws error odie2828 1 304 28-Jun-2012 07:17 PM
Last Post: Steven
  "Failed opening required" error - cgi-bin problems? Cerebus 5 1,021 24-Jun-2012 07:04 AM
Last Post: Cerebus
  Database error upon integration angeljs 7 605 21-May-2012 02:58 PM
Last Post: angeljs
  To Bypass Database Connection Error iwede 2 352 07-Jan-2012 06:29 PM
Last Post: iwede
  MySQL Error with Intergration Swizzle 1 433 12-Sep-2011 07:08 AM
Last Post: utaka
  I am getting 2 error messages? wimmer31 6 704 21-Jul-2011 07:03 PM
Last Post: wimmer31
  i'm getting this error myrondiasgoa 1 367 15-Jul-2011 02:11 PM
Last Post: Steven
  Error integrating commentics in my page Enrik 6 1,999 26-Apr-2011 06:06 PM
Last Post: Steven
  Page not found error vikaskukreja83 10 1,568 11-Apr-2011 02:07 PM
Last Post: vikaskukreja83

Forum Jump:


User(s) browsing this thread: 1 Guest(s)