Member
Member
Laurent   07-12-2011, 23:12
#1

Hi Sbillard and Acrylian.

I'm currently testing the 1.4.2-BETA [8596] ans when i send a comment i have a blank php page.

My serveur run a Php 5.3.2 and MySql 5.0.82.

The error message concern a mail problem :

Fatal error: Call to undefined method stdClass::IsHTML() in /home/e-smith/files/ibays/dev/html/zp-core/zp-extensions/PHPMailer.php on line 113

Ps : It's Ok with official release 1.4.1.6

Thanks
Laurent

Member
Member
Laurent   07-12-2011, 23:36
#2

More info. I change some plugin and i have the zenphoto error with Zenphoto_Sendmail :

L’extension zenphoto_sendmail n’a pas pu envoyer [Galerie] Commentaire publié à un ou à plusieurs destinataires

It's says that the extension is unable to send mail to one or more recipeints.

I disable this plugin and now it's works and i'm notice then i send a comment.

Laurent

Member
Member
sbillard   08-12-2011, 01:09
#3

PHPMailer is unchanged in the Beta. In fact, I doubt that code has changed since the plugin was originally made. Anyway, the method IsHTML() does indeed exist, so I do not know what would cause the message you got.

But of course if you are not using PHP mailer you should not have the plugin enabled.

Member
Member
Laurent   06-01-2012, 22:56
#4

I redo the test. I only use the extension PHPMailer.
With version 1.4.1.6 [8326] I have no error message and I receive the mail correctly.
With version 1.4.2-RC2 [8846] I get this message errreur:
Fatal error: Call to undefined method stdClass:: isHtml () in / home / e-smith / files / ibays / beta / html / zp-core / zp-extensions / PHPMailer.php on line 113
I click the back button of the browser, and reload the page, my comment is saved ... but no mail.

In both cases, the extension Zenphoto_sendmail is disabled, only the extension PHPMailer is checked.
In both cases, the server config is the same as it is the same machine.

PHP 5.3.2 MySQL 5.0.82

What can I give you other information as to try to resolve this concern.

Laurent

Member
Member
sbillard   07-01-2012, 00:51
#5

I have checked the two releases. The only change to phpMailer is to remove the test to see if PHP is not version 5 or better as that is now global with the 1.4.2 release.

Further, I do not understand the error as isHTML() method does exist. The line at 113 does read $mail->IsHTML(false);, so if the error message above is accurate, somehow there has been a lower casing of the function name that is not part of the release.

Please check that line and verify it case.

Member
Member
Laurent   07-01-2012, 10:31
#6

Yes I saw that.
I did other test. I noticed that with the release date [8854] I have no error. I started by updating the previous version [8846].
So I deleted everything including the database and start over with this version [8854]: everything works.

Again I erased everything and installed the version from yesterday [8846]. The error returned is always the same.
I remade an updated version [8854], everything works fine. So this fixes something.

Then I look back with version [8846] without deleting the database. Everything works. I think the error lies in the database.

I erased everything again and redo the test with two databases.
[8846] database "test_8846]" I get the error.

[8854] database "test_8854]" no error.

I edit the file "zenphoto.cfg" version of the [8846] and I said the database "[test_8854]" no error.

I have not found where is the difference between these two versions of database.

Sorry, this speech a little long, but I try to be as specific as possible.

Ps: google translation!

Member
Member
sbillard   07-01-2012, 19:08
#7

Well, since 8854 seems to work there seems no reason to persue this further. I do not have any idea what in the database might be wrong, specially since the plugin has not changed.

Member
Member
Laurent   07-01-2012, 21:44
#8

Sure, but the idea was to identify the error for not reproduce it in future update.

Laurent

Member
Member
sbillard   07-01-2012, 23:31
#9

Be my guest, then.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.