Error: (Language string failed to load: instantiate)

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
perelandra
Posts: 7
Joined: Fri 16. Sep 2005, 18:52

Error: (Language string failed to load: instantiate)

Post by perelandra »

Hello together,

if I get the following message, what could be the problem?
TEST E-MAIL

Empfänger: 1



Newsletter-Versand: FERTIG
Nicht erfolgreich gesendet an:
ERR: mail@familieschwab.info (Language string failed to load: instantiate)
I use 1.2.5DEV, win32, Apache,... everything else works, even updating the system with the CVS... Same error!

I found this error in some other post, but found no realanswers to the problem... Thanx if one could help me with this issue...

Greets,
Johannes.
User avatar
Kosse
Posts: 1066
Joined: Thu 9. Sep 2004, 12:08
Location: Brussels, Belgium
Contact:

Post by Kosse »

Hi perelandra,

maybe the explanation here? http://www.phpwcms.de/forum/viewtopic.php?t=8502

maybe the solution here?
http://www.phpwcms.de/forum/viewtopic.php?t=7827

Cheers
User avatar
Kosse
Posts: 1066
Joined: Thu 9. Sep 2004, 12:08
Location: Brussels, Belgium
Contact:

Post by Kosse »

I tried and that is not a solution...

So I don't know, anybody got a clue for that?
TIA

Cheers
kiwix
Posts: 65
Joined: Fri 25. Feb 2005, 09:40

Post by kiwix »

Hi,

I think you have no mail server running on your machine.

I've just testet a mail form on my local machine and I got the same error., which I never had on my linux server. So I checked, If php
on my system was able to send mails, by using the following script:

Code: Select all

<?php
mail("mail@familieschwab.info", "Betreff", $message,
     "From: mail@familieschwab.info\r\n" .
     "Reply-To: webmaster@{$_SERVER['SERVER_NAME']}\r\n" .
     "X-Mailer: PHP/" . phpversion());
?> 
And I've got an error message, too. Then I modified the mail topic of my php.ini in the windows directory, restarted apache and the error message was gone.

So this isn't a phpwcms error, it's an error with your local installation of php and the configuration of the smtp mail function.

Due to some limitations you can't use the mail function without an smtp server on your machine or network (found in the php manual http://de.php.net/manual/en/function.mail.php):
Note: The Windows implementation of mail() differs in many ways from the Unix implementation. First, it doesn't use a local binary for composing messages but only operates on direct sockets which means a MTA is needed listening on a network socket (which can either on the localhost or a remote machine).
So to check the mail forms on a windows machine you will need at least access to an smtp mail server. One i know is integrated in the great proxy server janaserver (http://www.janaserver.de/) and there is an pop3 server also, so you can send and read the mails locally without an connection to internet.

Hope that helps.

Cheers
KiWiX
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

A problem of the phpmailer class I use. No problem...

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
Kosse
Posts: 1066
Joined: Thu 9. Sep 2004, 12:08
Location: Brussels, Belgium
Contact:

Post by Kosse »

Oliver Georgi wrote:A problem of the phpmailer class I use. No problem...

Oliver
Hi Oliver,
no problem... :?:
I got the same "problem", should I replace the phpmailer class?
Or are you going to replace the phpmailer in next DEV release?
Thx,
Cheers
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

No No - I will not replace phpmailer. What I have to do is enhance mail sending for another email validation. phpmailer is very good - and it makes no sense to replace it.

No problem means - there is no problem. Just a message from phpmailer class with NO effect.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
Kosse
Posts: 1066
Joined: Thu 9. Sep 2004, 12:08
Location: Brussels, Belgium
Contact:

Post by Kosse »

Uh, ok.
I didn't get it all, now it is -a little bit more- clear to me, so the thing could be the email validation, and yes the mesage has NO effect indeed.

Sometimes I feel kinda stupid -after- asking questions that go beyond what I understand... sorry.

From phpmailer site:
2. Extending PHPMailer

Extending classes with inheritance is one of the most powerful features of object-oriented programming. It allows you to make changes to the original class for your own personal use without hacking the original classes. Plus, it is very easy to do. I've provided an example:

Here's a class that extends the PHPMailer class and sets the defaults for the particular site:
PHP include file: mail.inc.php
Thx

Cheers
perelandra
Posts: 7
Joined: Fri 16. Sep 2005, 18:52

Post by perelandra »

Hi there,

I solved the problem by using an smtp-account.
The feedbackform now works fine , too.

Thanks for alle the comments here!

Greets, Johannes.
User avatar
anthony.abraira
Posts: 99
Joined: Sun 11. Sep 2005, 07:42
Location: Mars Hill, NC
Contact:

Issue with form...

Post by anthony.abraira »

Hey maestros,

I got an issue with all my forms. The page where the form is at is:

http://irismoon.com/index.php?birthday

When you try to fill out the form, i get this error message. Feel free to try yourselves:

Code: Select all

Language string failed to load: mailer_not_supported
Copy could not be send to: jondoe@testing.com (Language string failed to load: mailer_not_supported)
The conf.inc.php file has these settings:

Code: Select all

// smtp values
$phpwcms['SMTP_FROM_EMAIL']   = 'website@irismoon.com'; // reply/from email address
$phpwcms['SMTP_FROM_NAME']    = 'webmaster! ~ irismoon.com'; // reply/from name
$phpwcms['SMTP_HOST']         = 'localhost'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT']         = 25; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER']       = 'sendmail'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH']         = 1; // sets SMTP_AUTH to ON/OFF
Not sure what the issue is. I tried changing the sttings to "SMTP" and "Mailer" but all gave me the same reply... :cry:
"The trick is living without an answer."
Post Reply