From: SourceForge.net <no...@so...> - 2007-01-29 22:09:17
|
mod/staffman item #1647442, was opened at 2007-01-29 16:10 Message generated for change (Comment added) made by gbrackett You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=706269&aid=1647442&group_id=81360 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: JW (misterdubs) Assigned to: George Brackett (gbrackett) Summary: Staffman with phpWS 0.10.2 Initial Comment: I have phpWS 0.10.2 installed on Windows XP Pro using xampp 1.4.11 and when I installed the Staffman module I received the following error: This module requires a phpWebSite core version of 0.9.2-1 or greater. You are currently using phpWebSite core version 0.10.2. Staff Listing installation NOT successful! What is the solution to this error? Thanks ---------------------------------------------------------------------- >Comment By: George Brackett (gbrackett) Date: 2007-01-29 17:09 Message: Logged In: YES user_id=398373 Originator: NO Verdon is correct; that would do it, all right. It eliminates the protection, but in your case you don't need it. If you don't know how to 'comment out,' just put // in front of every line, like this: //if($GLOBALS["core"]->version < "0.9.2-1") { // $content .= "This module requires a phpWebSite core version of 0.9.2-1 //or greater.<br />"; // $content .= "<br />You are currently using phpWebSite core version " . //$GLOBALS["core"]->version . ".<br />"; // return; //} Alternatively you can do it this way: /* f($GLOBALS["core"]->version < "0.9.2-1") { $content .= "This module requires a phpWebSite core version of 0.9.2-1 or greater.<br />"; $content .= "<br />You are currently using phpWebSite core version " . $GLOBALS["core"]->version . ".<br />"; return; } */ Staffman is such an old module it's tripping on its beard. I'll see if I have a later version than the one I posted on sourceforge... George Brackett ---------------------------------------------------------------------- Comment By: Verdon Vaillancourt (verdonv) Date: 2007-01-29 16:19 Message: Logged In: YES user_id=559731 Originator: NO This looks like a mod that hasn't been updated since the version numbering was changed. I don't really remember, but I think a quick fix might be to go to /mod/staffman/boost/install.php and look for the following lines... if($GLOBALS["core"]->version < "0.9.2-1") { $content .= "This module requires a phpWebSite core version of 0.9.2-1 or greater.<br />"; $content .= "<br />You are currently using phpWebSite core version " . $GLOBALS["core"]->version . ".<br />"; return; } Just comment them out. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=706269&aid=1647442&group_id=81360 |