Don't have an account yet? You can create one, it is free, just click here
as a registered user you have some advantages like free downloads, comments and posting on our forums, depending upon this site's configuration and options.
I just did a fresh install of 1.0.76 and it is running on PHP 5.2.0
Fatal error: Call to a member function Execute() on a non-object in /home/.ephelia/hiveking/demo.hiveminds.co.uk/mdpro/includes/pnSession. php on line 416
I do a search for the errant code but Jedit chokes on all it and will not search past certain files. Has anyone tried PHP 5.2.0 and fixed this already?
TiMax Project Manager
Joined: July 31, 2003
Posts: 1552
Location: Quebec - Canada
 Posted:
Jan 06, 2007 - 07:03 AM
Maybe is better if you try to install MDLite, that because we are going to stop support for MDPro 1.076
anyways you can try that, open include/pnsession.php file and around line 90 add that
Code:
if (version_compare(phpversion(), '5.2.0', '>=')) {
register_shutdown_function('session_write_close');
}
just after
Code:
ini_set('session.auto_start', 1);
_________________ TiMaxMAX s.o.s.Fantasia e dinamicità Italiane, qualità e servizi Canadesi Web Services, hosting ed housing professionali
Obi-Wan MD user level 5
Joined: Oct 24, 2003
Posts: 125
Location: Germany
bannato
 Posted:
May 13, 2007 - 02:10 AM
i had excactly the same problem and it worked with your addition, TiMax.