MAXdev

MDforum for MDPro support - new registration broke after switch to PHP5. How to fix?

skyline5k - June 14, 2007 - 05:52 PM
Post subject: new registration broke after switch to PHP5. How to fix?
on www.jinanlive.com, if you try to register, after everything seems to go through okay, it now says, "No authorization to carry out operation" after hitting "Finish". ALso, the security code feature doesn't seem to work anymore either. I could be losing potential members & advertisers. Any way to fix this?

The only difference is that the server was upgraded to PHP5 recently after a server move. How do I fix this? and is anyone else having this issue with PHP5?
skyline5k - June 14, 2007 - 06:09 PM
Post subject:
it's on ALL my mdpro sites apparently. Any help would be appreciated! I can still enter users through the control panel, so registration does work. It just doesn't work through the PUBLIC registration (user.php) page.
TiMax - June 14, 2007 - 07:46 PM
Post subject:
we need other info's, server, php, apache, md version etc .. you talk about user.php ? do you have MDPro 1.076 installed ? do you know that it is not supported now ?
skyline5k - June 15, 2007 - 11:37 AM
Post subject:
Server:
DELL PE860
Intel Xeon 3050
2GB ram
160GB HDD

Apache: Apache/1.3.37 (Unix) PHP/5.2.1 mod_throttle/3.1.2 FrontPage/5.0.2.2635 mod_psoft_traffic/0.2 mod_ssl/2.8.28 OpenSSL/0.9.7a

MDPro 1.075 for jinanlive.com 76 for others.

I know, TiMax, it's not supported right now, but at this time, I don't have the time to do an upgrade. 2 p/t jobs, starting a new company of my own, planning a trip back to the US for a couple weeks, and the fact that I just got married... Wink I promise I WILL get to it sometime. I just need this working again for the time being.
TiMax - June 16, 2007 - 03:50 AM
Post subject:
Yes your versions is not supported and them are very old, maybe you can try that, open includes/pnsession.php and just after

Code:
ini_set('session.auto_start', 1); 


add that

Code:
if (version_compare(phpversion(), '5.2.0', '>=')) {
        register_shutdown_function('session_write_close');
}


Let me know
skyline5k - June 16, 2007 - 12:21 PM
Post subject:
did that. the site comes up blank. Nothing loads after that.
skyline5k - June 17, 2007 - 05:17 PM
Post subject:
Just realized I threw this into the MDForum Support by mistake. Sorry about that.


Also, I changed the 5.2.0 to 5.2.1 and it worked perfectly! Thanks, TiMax!
All times are GMT + 13 Hours
Powered by MDForum 2.0.8 © 2003-2007 based on phpBB © 2001, 2002 phpBB Team
and by MDRebel which uses Theme Graphics by Daz
and by Attachment-Mod 2.4.3