Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Issues
Author Message
Depetris
New Member
New Member



Joined: Nov 01, 2005
Posts: 9

PostPosted: Mon Nov 17, 2008 11:57 am Reply with quote

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
 
View user's profile Send private message
jakec
Site Admin



Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom

PostPosted: Mon Nov 17, 2008 12:04 pm Reply with quote

...and what is the error being displayed?
 
View user's profile Send private message
Depetris







PostPosted: Mon Nov 17, 2008 12:08 pm Reply with quote

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







PostPosted: Mon Nov 17, 2008 12:41 pm Reply with quote

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







PostPosted: Mon Nov 17, 2008 12:54 pm Reply with quote

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







PostPosted: Mon Nov 17, 2008 2:15 pm Reply with quote

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

PostPosted: Mon Nov 17, 2008 2:55 pm Reply with quote

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. 
View user's profile Send private message
Depetris







PostPosted: Mon Nov 17, 2008 3:00 pm Reply with quote

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







PostPosted: Mon Nov 17, 2008 3:04 pm Reply with quote

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







PostPosted: Mon Nov 17, 2008 3:15 pm Reply with quote

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







PostPosted: Mon Nov 17, 2008 3:18 pm Reply with quote

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







PostPosted: Mon Nov 17, 2008 3:40 pm Reply with quote

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







PostPosted: Tue Nov 18, 2008 1:37 am Reply with quote

I am glad it is working, we know how frustrating it can be at times and we will do all we can to help.

RavensScripts

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.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©