[Permission] Error installing
Posted: 08 June 2007 01:07 PM   [ Ignore ]
Newbie
Rank
Total Posts:  18
Joined  2007-06-08

I have copied everything to its appropriate directory, but when I click “Install” in the modules tab of the control panel, I get:

Fatal error: Call to undefined method Permission_CP::sql_params() in C:\www\ee\admin\modules\permission\mcp.permission.php on line 1300

Using Permissions 1.0.2 on EE 1.5.2

Profile
 
 
Posted: 08 June 2007 01:16 PM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  18
Joined  2007-06-08

Turns out its simply a typo in the code.

Line 1300, which reads:

$sql    =    array_merge( $sql, $this->sql_params(), $this->_sql_permission_points(), $this->_sql_permission_posts() );

should be

$sql    =    array_merge( $sql, $this->_sql_params(), $this->_sql_permission_points(), $this->_sql_permission_posts() );

Profile
 
 
Posted: 08 June 2007 01:18 PM   [ Ignore ]   [ # 2 ]
Sr. Member
Avatar
RankRankRankRank
Total Posts:  336
Joined  2005-07-09

Please re-upload the module, as it might simply be corrupted, and make sure to do so in FTP text mode (ASCII).

 Signature 

Ingmar Greil

Profile
 
 
Posted: 08 June 2007 01:20 PM   [ Ignore ]   [ # 3 ]
Sr. Member
Avatar
RankRankRankRank
Total Posts:  336
Joined  2005-07-09

Does that solve this issue for you? We have not received similar reports before, but I’ll run this by the developers. Thank you.

 Signature 

Ingmar Greil

Profile
 
 
Posted: 08 June 2007 01:22 PM   [ Ignore ]   [ # 4 ]
Newbie
Rank
Total Posts:  18
Joined  2007-06-08

Yes, everything is right as rain.

Profile
 
 
Posted: 09 June 2007 01:03 AM   [ Ignore ]   [ # 5 ]
Sr. Member
Avatar
RankRankRankRank
Total Posts:  336
Joined  2005-07-09

Just got word from the devs: The bug has been confirmed and fixed. A new version has been uploaded to the Solspace server, meaning that future users shouldn’t be affected. Thanks for bringing this to our attention.

 Signature 

Ingmar Greil

Profile