Hi
I just did a fresh install of D 6.13, enabled the relevant modules such as profile and taxonomy and tried to run the import.
I got the following error

Fatal error: Cannot redeclare db_status_report() (previously declared in /[mypath]/includes/database.mysqli.inc:23) in /[mypath]/includes/database.mysql.inc on line 36

thanks
ps if this module works i'm going to be over the moon ;)

CommentFileSizeAuthor
#3 joomla-539658.patch1.55 KBmalclocke

Comments

jochovitch’s picture

Hello,

I receive exactly the same error message.

I as well will be going over the moon if the import works, maybe we can go together.

Fatal error: Cannot redeclare db_status_report() (previously declared in C:\xampp\htdocs\dmsdef\includes\database.mysqli.inc:23) in C:\xampp\htdocs\dmsdef\includes\database.mysql.inc on line 36

8bitplateau’s picture

well to bypass the error i did a fresh install of d5x and used the d5 version and imported all content, then ungraded from d5 to d6 !
this did actually work well with the patch applied from http://drupal.org/node/354035 to link nodes to terms and didn't take too long.
a few nodes were missing but only about 5 out of ~300 so i'm pretty happy not having to rewrite it all :)

malclocke’s picture

Status: Active » Fixed
StatusFileSize
new1.55 KB

Thanks for the reports.

The attached patch should fix this. This fix has been applied to CVS and will be present in the 6.x-1.0-alpha2 release.

Malc

8bitplateau’s picture

Just to let you know I got a few of the following errors

warning: copy(/[myjoomlapath]/images/stories/resources/top_ten_thumb.jpg) [function.copy]: failed to open stream: No such file or directory in /[mydrupalpath]/sites/all/modules/joomla/joomla.module on line 841.

I did also get the same errors in the same place using the D5 version.
I think this is because the old joomla site was sitting on a windows server and some of the folder names had upper case characters, for instance in the error above the directory is actually 'Resources' not 'resources', now fortunately its on a lamp stack but is case sensitive.
Maybe by manually renaming all the directories and putting a strtolower in the path function I could get around this ?
Other than that the import works a treat thanks. Correct User and Categories.

malclocke’s picture

Hi digitisation,

I think the error with the directory names is a symptom of moving from WAMP to LAMP as you say. Can't really see any way that I could put checks for this in the code so I think you'll just have to rename all the directories to lowercase before the import.

Malc

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.