Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.10.01 - All Issues
Author Message
shane42
Hangin' Around



Joined: Jul 06, 2007
Posts: 25

PostPosted: Mon Jul 09, 2007 1:12 am Reply with quote

Hi, i spoke to my host and they offered some advice but i am not one of the people who understand how coding works so.. since they filter all emails sent from servers to ensure they are legit they have said that i would need to add this somewhere, but they cannot tell me where i should add it to make it work.

I don't know if this piece of code can be added somewhere to enable registration email to be sent, this is what they said:

Quote:
You can also use the PHP mail function and set the mail "from address" using the following line of code (replacing email@mydomain with the correct domain name).

ini_set("sendmail_from", " email@mydomain ");


Anyone knows if this can be integrated somewhere?

By the way, it all worked fine at first but now the page just hangs waiting to load security code. I know i have all GD stuff and such as it worked before
anyone knows where i might have a problem with unsetting the session so it loads new code?
 
View user's profile Send private message Visit poster's website
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Mon Jul 09, 2007 4:53 am Reply with quote

Is the email address on the Nuke preferences / settings on your domain?

Were any changes made to a script? Typically, when a page hangs, it's due to a parsing error. Check your site log for additional details. If no changes were made and the graphic isn't displaying, it may be a problem with the GD lib as you mention. Your host should be able to assist with that.

_________________
I search, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
shane42







PostPosted: Mon Jul 09, 2007 8:38 am Reply with quote

yes, anywhere i was asked to put god email, i used the one from my host, just to make sure that it is everywhere in case i get the wrong one, that's why God user has that e-mail and my regular user has my regular email, although my regular user is also an administrator. would that be causing problems?

If it is parsing error, where would i most likely find the problem? Since it's hard to see what has changed last 24 hours as i was reinstalling everything due to a lot of little problems caused by corrupt file somewhere during first installation.

How do i switch off e-mail registrations? I don't particularly want to use hacks, and anyway i tried, autoActivation mod, but that brings up Access Denied page when you click on register or forgot password links.
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Mon Jul 09, 2007 7:16 pm Reply with quote

Quote:

yes, anywhere i was asked to put god email, i used the one from my host, just to make sure that it is everywhere in case i get the wrong one, that's why God user has that e-mail and my regular user has my regular email, although my regular user is also an administrator. would that be causing problems?


No, doubtful. Try adding that line of code that your host gave you within the config.php file (your RN root directory). I'd just add it right after the first line which has "<?php" in it.

Quote:

If it is parsing error, where would i most likely find the problem? Since it's hard to see what has changed last 24 hours as i was reinstalling everything due to a lot of little problems caused by corrupt file somewhere during first installation.


I would re upload all the files in case you have introduced a parse error or other errors. I would use the original files provided for RavenNuke, get yourself back to functioning again, then add that one liner to the config.php as I mentioned above.

I would also get yourself FileZilla (free from sourceforge.net) and use it as your FTP client. I have NEVER once had it fail on me. Now, I guess it is possible that your host is "flaky" too. Don't know.

Quote:

How do i switch off e-mail registrations? I don't particularly want to use hacks, and anyway i tried, autoActivation mod, but that brings up Access Denied page when you click on register or forgot password links.


Unfortunately, that does not exist in PHP-Nuke or RavenNuke at this time. The Auto Activation hack you mention is for a much older version. Someone needs to update that thing... just finding the time... Sad

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
shane42







PostPosted: Tue Jul 10, 2007 12:06 am Reply with quote

TY montego, I will try adding the mail function once everything else is running and try it that way. I have used CoffeeCup as my ftp, but i guess I can try FileZilla too.

By the way, I found the way to make the old autoActivate code work. Quite simple, insted of changing whole line of code as suggested per instructions I only added to my code the $autoActivate bits that show as additions to the old code.

Shold you wish I can update the actual mod and post it to you as it's short and simple enough for me to do.

OMG, I just added that >> ini_set("sendmail_from", " email@mydomain ");<< piece of code as you suggested and it works now! such an easy solution, ty!
 
montego







PostPosted: Tue Jul 10, 2007 6:03 am Reply with quote

Yeah, I have actually incorporated this hack now into RavenNuke 2.20.00 (upcoming release - TBD on release). Once it is quality tested, we'll get a standalone version out in the downloads.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.10.01 - All 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 ©