Dec 05, 2008 | 02:58 PM  
Welcome

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.

 • •  Control Panel - Register - Login  • • 
Current Stable MDPro Lite 1.0821 Download
  Forum FAQForum FAQ   SearchSearch  UsergroupsUsergroups  PreferencesPreferences  Options forumOptions forum  Watched TopicsWatched Topics  Watched ForumsWatched Forums
Latest forum posts Latest forum posts  Log in to check your private messages Log in to check your private messages    Log inLog in 
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
tesla
New MD user
New MD user


Joined: Dec 18, 2006
Posts: 6

Member
Post  Posted: Jan 06, 2007 - 07:05 AM Reply with quote Back to top
Post subject: MDPro fatal error

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?
View user's profile
TiMax
Project Manager
Project Manager


Joined: July 31, 2003
Posts: 1560
Location: Quebec - Canada

Post  Posted: Jan 06, 2007 - 08:03 AM Reply with quote Back to top

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
View user's profile Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Obi-Wan
MD user level 5
MD user level 5


Joined: Oct 24, 2003
Posts: 125
Location: Germany
bannato
Post  Posted: May 13, 2007 - 03:10 AM Reply with quote Back to top

i had excactly the same problem and it worked with your addition, TiMax.

Thanks!
View user's profile
Display posts from previous:     
Jump to:  
All times are GMT + 13 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by MDForum 2.0.8© 2003-2007 MAXdev Team
Credits