Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: mark.n - helmikuu 17, 2009, 05:27:46 IP

Otsikko: Error with RC1 Version
Kirjoitti: mark.n - helmikuu 17, 2009, 05:27:46 IP
hi i have installed an ajax chat and that is working fine, However i have two problems..

1) cant seem to send e-mails Via the forum now, in the logs i get the following error.

Could not connect to SMTP host: 2 :

fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to mail.troonstmedsdansgolfclub.com:25 (Unknown error)

File: /var/www/vhosts/troonstmeddansgolfclub.com/httpdocs/forum/Sources/Subs-Post.php
Line: 1324 


2) i also have the following error as well, it might be connected.

Undefined index: enableShoutBox
File: /var/www/vhosts/troonstmeddansgolfclub.com/httpdocs/forum/Themes/default/Errors.template.php (body_above sub template - eval?)
Line: 311 

I have not enabled the shoutbox so i don't know why i am getting this error.

the forum is loaded at www.troonstmeddansgolfclub.com/forum/index.php

Any help would be great.
Otsikko: Re: Error with RC1 Version
Kirjoitti: karlbenson - helmikuu 22, 2009, 02:56:12 IP
If its related to the mod, then you might want to raise these issues with the mod author in the mods support topic.
They will be in a better position to find out the cause (having never used the mod myself).
Otsikko: Re: Error with RC1 Version
Kirjoitti: mark.n - helmikuu 25, 2009, 03:36:25 IP
i don't know if its related to this mod i was just provided a pointer in case it is.

Otsikko: Re: Error with RC1 Version
Kirjoitti: greyknight17 - maaliskuu 15, 2009, 03:27:08 IP
mark.n, is this issue resolved now? Can you confirm with your host that the SMTP credentials you have currently are correct?

For the second error, do the following:

Go into phpMyAdmin (http://www.simplemachines.org/community/index.php?topic=21919.0) and click on your database. Then click on the SQL tab and copy paste the following code and run it:

INSERT INTO smf_settings VALUES ('disableTemplateEval', 1);

Use the forum a little and try to regenerate new errors. If any are found, post the new ones here. Then run this query to undo the change we made earlier:

DELETE FROM smf_settings WHERE variable = 'disableTemplateEval';