HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

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.