Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

In this Discussion

Bugs in Importing Procedure (v 2.0.18.3)

edited March 2012 in Feedback

Two bugs I have had to personally fix to import phpbb2 data into vanilla forums.

First: class.upload.php Fatal error when attempting to move uploaded file.

Patch: Line 211: $Target = PATH_LOCAL_UPLOADS.'/'.$Parsed['Name'];
Modified: $Target = $Parsed['Name'];

Second: class.importmodel.php Query Failure when updating count on run "9". (Discussion Comments)

Patch: Add to Line 466:
if(strtolower($Aggregate) == "sum"){ $Result = "update :_$ParentTable JOIN ( SELECT $ChildJoinColumn, SUM($ChildColumnName) AS ccsum FROM :_$ChildTable GROUP BY $ChildJoinColumn ) AS t2 ON :_$ParentTable.$ParentJoinColumn = t2.$ChildJoinColumn SET :_$ParentTable.$ParentJoinColumn=t2.ccsum "; return $Result; }

Hope this helps, didnt find your repo so couldnt issue bug.

Also, unable to post in developers forum.

Tagged:

Comments

Sign In or Register to comment.