Author |
Message |
Depetris
New Member


Joined: Nov 01, 2005
Posts: 9
|
Posted:
Mon Nov 17, 2008 11:57 am |
|
Hello,
After a clean installation of RVN 2.3.0 we are having issues approving users that have registered on the site. When in the admin panel and clicking on approve user it takes you to a error page instead of approving the user. when you go back to look at the users in que to be approved by the admins the user we attempted to approve isn't approved. I've been thru the documentation and can't find anything relating to this and how to fix it. Hopeing that someone here could help out |
|
|
|
 |
jakec
Site Admin

Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom
|
Posted:
Mon Nov 17, 2008 12:04 pm |
|
...and what is the error being displayed? |
|
|
|
 |
Depetris

|
Posted:
Mon Nov 17, 2008 12:08 pm |
|
that's part of the problem it's not displaying any type of error at all it's only taking the admin (me in this case) immediately to a default http 500 server error page. Also happens when I attempt to resend the activation email to the person. Seems to be a mailer error of some type (server uses smtp mail and won't allow php mail without authentication), tego mailer is configured and active, smtp settings are correct both there and in the forums config mail settings area. As it's not creating any error log at all and it's not showing any visible error i'm stumped as to what to try here. |
|
|
|
 |
Depetris

|
Posted:
Mon Nov 17, 2008 12:41 pm |
|
k another thing here i've noticed
setting tegomailer to use sendmail (although I know that won't work on this webserver as it requires smtp) when you click on the resend mail link it shows an additional area of the page for that area showing that it has sent the mail as requested (although it really hasn't it still says it has)
setting tegomailer to use smtp and using the correct settings (which works great in vbulletin, invision power boards, phpbb3 etc etc but not any nuke 7.6 variant found that i've tried at least) it doesn't display the full page and doesn't show teh message or area of the page where the message should show saying the mail was sent.
Seems to be something related to the tegomailer and possibly some missing code that the sendmail coding has. It should display the same message no matter what method of mail is selected you would think (or the actual error it's encountering).
Going back to the approveing of accounts (although both are related and it does seem to be a mail issue although not a server mail issue)
having tegomailer set to use sendmail you get the following page and message when you click on approve for a registrant:
You have approved the membership of: registrant_name_removed (registrant_email_removed)
An activation email has been sent to the users email address
having tegomailer set to use smtp you get a blank 500 internal server error page
not sure if any of this helps anyone out here but it's an smtp mailing issue (although again it's not a server smtp mail error as that works on most systems except nuke 7.6 and it's variant versions, nuke 7.9 and above it works properly)
I hate to suggest to my client that he move to a newer version of nuke and drop sentinel and the other 7.6 based stuff he wants to use but I also want his site to work as the other sites I host do. |
|
|
|
 |
Depetris

|
Posted:
Mon Nov 17, 2008 12:54 pm |
|
I am both the webserver administrator and website host in this case also if that helps anyone at all. So I am aware of all the settings for both the website this is installed on and also the settings for apache, mysql rh4el, whm, cpanel etc etc. |
|
|
|
 |
jakec

|
Posted:
Mon Nov 17, 2008 2:15 pm |
|
OK don't take this the wrong way, but a 500 Internal Server Error usually suggests it is the server causing the problem.
Anyway hopefully Montego will see this and have some suggestions. |
|
|
|
 |
Palbin
Site Admin

Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania
|
Posted:
Mon Nov 17, 2008 2:55 pm |
|
the 500 error should generate some kind of error log on the server to help debug what is causing this. |
_________________ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. |
|
|
 |
Depetris

|
Posted:
Mon Nov 17, 2008 3:00 pm |
|
well yes you would think it would if it was the actual server generating the page and not ravennuke directing the page to it's own 500.shtml page which is what it's actually doing. As it's rvn's 500 error page it's not logging any error as the server itself isn't directing anyone to an error page it generates. |
|
|
|
 |
Depetris

|
Posted:
Mon Nov 17, 2008 3:04 pm |
|
hmm checking the install directory it doesn't have that file i'm removing it as it must have been something put there by my client. I'm seeing if they are interested in moving to vbulletin as it at least can send email using smtp properly configured. Hopefully for my sake at least and the preservation of my sanity they will decide to go that route a full conversion of their users, forums and posts would have taken me less them then it's taken me to try to find and fix this error in rvn 2.30 (which i'm sure works great especially in a non smtp environment). |
|
|
|
 |
Depetris

|
Posted:
Mon Nov 17, 2008 3:15 pm |
|
I changed the setting in the config.php to show errors (would think that it would log them regardless of showing them but it's not for some reason).
Error when trying to approve a user is this
Fatal error:
Uncaught Error of type [Swift_ConnectionException] with message [The SMTP connection failed to start [mail.website.com:25]: fsockopen returned Error Number 111 and Error String 'Connection refused']
@0 include_once() in /home/website/public_html/modules.php on line 89
@1 tnml_fMailer() in /home/website/public_html/modules/Resend_Email/index.php on line 104
@2 Swift::Swift() in /home/website/public_html/includes/tegonuke/mailer/mailer.php on line 75
in /home/website/public_html/includes/tegonuke/mailer/Swift/Errors.php on line 99 |
|
|
|
 |
Depetris

|
Posted:
Mon Nov 17, 2008 3:18 pm |
|
relates back to having issues using smtp again as i said and I have tried all the correct settings for smtp that work in most other systems (invision power boards, vbulletin forums software, phpbb3, phpnuke8.1+) but do not work in systems based on 7.6 version of nuke (at least all of the ones i've tried so far such as those listed previously in this thread). |
|
|
|
 |
Depetris

|
Posted:
Mon Nov 17, 2008 3:40 pm |
|
The error (although not reporting properly to any log) causing all of this frustration this afternoon was due to a mismatched password on the email account being used on this installation. Changing the password on the account in cpanel to match the one used (given to me by my client in this situation so I thought he had his own password for his email correct) has fixed the issue and now rvn 2.30 is working to send email properly using smtp. My apologies for any negativity in my postings due to my frustration over this situation and I will recommend rvn 2.30 to other clients of mine to use and validate that it will work with smtp (as long as they use the correct password on the email settings ugh).
Thank you all for trying to assist me on this matter and I should have validated the password before continueing with the installation and definitely before i came her posting for help. |
|
|
|
 |
jakec

|
Posted:
Tue Nov 18, 2008 1:37 am |
|
I am glad it is working, we know how frustrating it can be at times and we will do all we can to help.
Just a note regarding the Error 500, this message is still generated by the server, even though RN uses its own error documents. Have a look at the .htaccess file in the route of the site. |
|
|
|
 |
|