I`ve tried it several times but it doesn`t import categories correctly - some categories are lost and each time the same exact categories. Also it loses html formatting (well I guess there`s some problems with Joomla editors also...) - all of my articles in Joomla are set to "justify", but it doesn`t show them correctly in Drupal they are aligned left and most of them with broken strings :-(
Another issue is that all articles are provided to frontpage. It`s too hard to correct it manually (while administration interface lacks needed functionality to manage a big number of articles etc.).
I don`t mention that each time I click "Import content" I get white page with "Page not found. nginx..." - so I just ignore it... go back aand click again. I`m not sure thall articles are imported ( I have about 3600 articles)
Anyway it`s the only module out there fot switch Joomla to Dropal. And I wonder if there`ll be any new versions of it (while this one turns... say bit useless)?
Also I can`t describe importing issues in pure english... but I guess it does not depent on this module :-)
Thanks...
Comment | File | Size | Author |
---|---|---|---|
#15 | user_warning.txt | 5.43 KB | kollo-dherbois |
Comments
Comment #1
drupalnesia CreditAttribution: drupalnesia commentedHi, thanks for report. Please still report any bugs. Now, I still find the bugs based on your report. I will update you soon.
Comment #2
drupalnesia CreditAttribution: drupalnesia commentedPlease try 5.x-1.4, there are many bug fixs for "Any text with special characters".
Content Frontpage: it is depend on your Joomla content, if set to Frontpage then Drupal will set to "Promote to Frontpage" also
NOTE:
- Please set "Duplicate Items = REPLACE", so this module will replace previous content with the new one.
Comment #3
kollod CreditAttribution: kollod commentedHi.
1. doesn`t make any change to anything for me... :-)
2. I have about 3600 articles as I noted above, so not all of them are set to frontpage in Joomla.
--------------
I`ve tried wit the new version of module and it`s all the same. I`ll just repeat the issues:
1.not all categories are imported, some of them are missing. Each time I try the same categories are lost (would it be something with category setting in Joomla? but there`s not any that kind of which would make any sense for importing). I choose "Do not import" or "Replace duplicate items", "Filtered HTML" or "Full HTML" - settings but named categories still are not importing....
2."nginx" and warnings issue.
-If I click import content and there are many articles to import then there are no page appear - I see blank page with "404 Not Found nginx/0.4.13"
-So it does not import so many articles at once. I check Drupal site and see that some articles are already imported. I click "import" again ignoring "404 Not Found
nginx/0.4.13" page appearance. At some point there are a few entries to import - 3 or 10.
-So when I click to import at this point I get page with lotta warnings:
"warning: mkdir() [function.mkdir]: No such file or directory in /home/www/****/****/drup/sites/all/modules/joomla/joomla.module on line 391.
warning: mkdir() [function.mkdir]: No such file or directory in /home/www/****/****/drup/sites/all/modules/joomla/joomla.module on line 394.
warning: copy(/*****/htdogs/images/stories/miasni1.jpg) [function.copy]: failed to open stream: No such file or directory in /****/drup/sites/all/modules/joomla/joomla.module on line 397." etc.
It seems it wouldn`t get images to import (they are shurely exist).
3. A lotta articles are just not getting imported! How many I donno - I guess too many...
4. This issue is quite amazing. All of my articles in Joomla site are formatted as "justify" (In Drupal Tinymce = "justifyFull"), provided by tags "<|div| align="justify|"|>|".
So... some of articles in Drupal displays right well. But some are not.
And that`s why: if in Joomla site to view a source of some articles they look like this:
="|<|div| align="justify|">|I will kill Drupal `cose I just
can`t get it work
right at all. And I donno why. It`s total
mess. Just
configuring a simple WYSIWYG editor FCK took two whole days. What the hell it is? Why I can`t just check or uncheck a number articles and have to check all ONE BY ONE? And it`s same with god damn
permission checking (each time you install/deactivate
new module. But I have longest hair in this city called Lost Angeles! But Drupal seem not to give a damn. And
also... this is a long story...back
to 1968...Armstrong
jumping... Then I wrote "Rope ladder to the moon" song... |<*div>|".
In Drupal this entry displays just as it is, without justifying, `cose Drupal (or say module) adds "<|b|r />" code at the end of each line:
="|
can`t get it work <|br| />
right at all. And I donno why. It`s total <|br| />
mess. Just <|br| />
`cose he had longest hair in Lost Angeles etc. |<*div>|".
So I open this article in Joomla to edit whith FCKeditor - I see text is justified in editor but when I click Submit there nothing changes and linebreaks are remained.
(it took long time to guess why the hell I can`t justify text opening it in Drupal editor - the issue or say manner of Drupal [editor] is that you can`t customise text in editor in WYSIWYG mode. It shows you right formatting while there in the source mode you can see: What you see IS NOT you`ll get! So you have to correct text in source mode...). Then I open any that kind of article and do nothing but just checking PHP input format and click Submit and... viola! Article`s looks as it set to. Then I run to Jommla import module and... there`s not an option for import in "PHP input format" :-( It would certainly solve [one of my] problem!
Good luck.
Kukinoz Vertinoxtre
Comment #4
kollod CreditAttribution: kollod commentedOooh! hell! I guess it`s time to give up ;-( I`ve just now tried to create new story in Drupal and it says: "# user warning: Duplicate entry '4-4' for key 1 query: INSERT INTO node (nid, vid, title, type, uid, status, created, changed, comment, promote, sticky) VALUES (4, 4, '77777777777', 'story', 1, 1, 1214185244, 1214185244, 2, 1, 0) in //htdoGs/drup/includes/database.mysql.inc on line 172.
# user warning: Duplicate entry '4' for key 1 query: INSERT INTO node_revisions (nid, vid, title, body, teaser, timestamp, uid, format, log) VALUES (4, 4, '77777777777', ...." Etc. When I click submit page with mysite.com/node/4 adress opens where I see article imported from Joomla. and "Your Story has been created." :-) This means Drupal knows it has some articles but when creating new one it...kinda forgets this :-)
Comment #5
drupalnesia CreditAttribution: drupalnesia commentedi just release 5.x-1.5 to fix some problems. According to your report:
Categories Problem. I still not found the bug. I need more info, because Joomla Categories is Drupal Vocabulary. So, do you mean:
- "# user warning: Duplicate entry '4-4' for key 1 query"
a. Joomla Section not imported to Drupal Vocabularies/Categories, or
b. Joomla Categories not imported to Drupal Term? mkdir and images problem: this bug caused by Joomla or Drupal installed on sub-folder. I have partially fix this problem on Drupal side.
Input Format problem: I have added "PHP format" as input type selection on module administration page
this problem caused by the entiry process not run (maybe because my too many articles that can not handle by the server at once). I have add some code in 5.x-1.5 to fix this issue. You need to install 5.x-1.5 and run the Import process again to fix this bug.
Comment #6
kollo-dherbois CreditAttribution: kollo-dherbois commented//don`t be confused - I switched to another name since "kukinoz vertrinoxtre" is unregistered mark owned by Argamasilla academy and not allowed to use everywhere and everytime... [it`s a fable] //
Thanks man! It`s great - your reactions come immediatly.
Well I gave it up and removed my Drupal5...
I tried another module which I just forget to point for your attention. This module you should look at ( =>> http://drupal.org/node/249643 Download here => http://svn.jcisio.net/d/joomla2drupal.tar.gz ). It works [with Drupal6 though] great. There`s visible importing procces page so you can just be sure if all of your content are imported. So you just click and go to take a-cuppa-tea... It also changes Joomla keywords to freetags...
Well still it`s for Drupal6 and another issue is that it creates on new Vocabulary in Drupal named 'Topics" and puts all sections/categories as terms/subterms. And that`s not really what I need. Anyway my point is that you would just explore this module and convert some of it`s features to your module. Unfortunately module`s author didn`t add it to Drupal modules list, doesn`t provide any support (no support needed though - it work very well except of above mentioned stuffs it lacks).
So when I see your support reaction [and there`s also nobody seem to play with this module] I think I should install Drupal5 again just for testing reasons [would be not good if I left on halfway]. I`m sure there are many pepople need to switch from Joomla to Drupal and Drupal5 is the right choice (not Drupal6). [I thought I was limited with what version of Drupal I can install for import testing - cose I`m testing it with actually working site so Drupal and Joomla have same database. But I just realised that I can use same database for second Drupal site with any other dbprefix :-) And the good thing with your module is that I can click to import new articles appeared on Joomla site and on some point [i wish] just turn it of and switch to Drupal :-) (above mentioned module tries to replace existing enties...).
Answering to your points:
1.
a) I`ll have to just digg it more to explore some more information - so I`ll answer later. The issue is that all of Joomla sections are imported (as vocabulary - and that`s right - there`s no issue with confusing or missing category structure!), most of categories are also imported... but not all! Example:
=Section - Stomack`s churning of Drupal - Imported
==Category - Happy stupids - Imported
==Category - Unhappy stupids - Imported
==Category - Power to the people! - NOT IMPORTED!
So as I told before each time I try the same number named categories are not importing. Each time I lost "Power to the people!" category while it`s section with other categories are there imported.
b) I`m sure there`s not any strong rules and/or understanding basis of what really Vocabulary is, and term is :-) at least corresponding with Jommla categories structure... You can put any of them as category or section (just look what that above mentioned module does)...
2. Really it is in subfolder. Good work!
3.Cool.
4.I don`t understand what are you saying... :-) So I`ll just try it again and check if bug is gone.
p.s. I think the Category of this request should be changed to "Bug reports" or else `cose people must know what are they going to use. Also I think this modules "Status" should be "Development snapshot", not "Recommended for 5.x". Or not? It`s from my understanding :-)
Comment #7
drupalnesia CreditAttribution: drupalnesia commentedhi kollo-dherbois,
today when I take a bath I still thinking why you can not download all 3.600 articles! And base on your report I see that "something" has break the process in the midle, this may causes by your web server or mysql server since 3.600 is very big INSERTING at once for some server (this is my testing environment: I use Intel Core2 Quad 2.6 GHz with 4 GB RAM and only 4 sites there).
I think the solution is add a DELAY before NEXT INSERTION to MySQL database, and I see the "joomla2drupal" module do this trick too!
So, I think we can solve this problem soon, I will add a new variable to determine the DELAY TIME or maybe hard-coded to process only 10 contents per loop.
Thanks for your intensive test. I will back soon :)
Comment #8
drupalnesia CreditAttribution: drupalnesia commented5.x-1.6 available now, in this version:
I add a variable to DELAY each insertion to MySQL, by default is: 1 second. This Delay useful if u import huge amount of Joomla-content Add Pager, show only certain number of content per page (depend on Drupal pager setting in administer-post settings)
Now I have enable the "Development snapshot" but look like the Dev-version late then Stable-version, don't know why (some website say must wait 12 hour before the Dev-file updated buy I see my Dev-version date was 4 days ago compare to Stable-version). I still learn how to use or update the Dev-version in Drupal repository. I am using Tortoise CVS but my knowledge about CVS very limited.
Comment #9
kollo-dherbois CreditAttribution: kollo-dherbois commentedHiyya! Yes I`ve imported all (not exactly) articles by one attempt and there`s a page with the results - that` very good. Also that way it works fast. Text formatting remained and pages look correctly.
Well... there are still bugs :-)
1. No more `all imported pages on the Drupal frontpage` bug there. But also there are not any of them on the frontpage! :-)) Frontpage is empty. So i see a list of articles in admin content page only...
2.Images.
a)No image imported. I set destination to "files/images" (or any else inside "files" folder) and in the end I see there only new img subfolders imported from Joomla`s "images/stories/". But images themselves not imported.
b) This is related to possible way to avoid bug "a)" :-)
In the imported articles image`s url is not changing - so it looks like this "mainsite/drupalsubfolder/images/stories/uglyface.jpg" (surely in the article source url is set like "/images/stories/uglyface.jpg"). Image of course doesn`t show.
And since module is set to import images into any desired folder only in "files" folder I can`t arrange it just to leave img url as is (so Drupal site would take imgs from old site`s folder and no need to import them...). It`s better not to be bound to "files" folder and leave an option to choose any.
UPD. well there`s no issue if we going to (I will) place Drupal site in root folder in future - so we can just remain "images/stories/" and images will show. But the price is dubling image/upload folders... and it`s no good having multiply file/image folders...
3.Well not all articles imported `cose section/category import bug still remains. I haven`t much time to think properly and figure it out... (I don`t speak english well and so lazy wrighting in english)
UPD. Well I checked exact number of lost categories:
section rab - 8 categories - 1 lost including entries
section grami - 8 categories - 1 lost including entries
section israb - 5 categories - 1 lost including entries
section mar - 14 categories - 1 lost including entries
UPD. I think I found it! There are categories in two or more sections with same name - like "[section]Atheism => Articles", "Anticapitalism => Articles", "Fitness => Discussions", "Satanic health => Discussions". So module doesn`t import "Articles" or "Discussions" categories... I see it imports one of of those similar named categories which has lesser ID. I think you`ll rule it out easily :-) [actually it`s easy just to inform users so they would rename their sections/categories before importing - but I`m not sure it`s good way...]
I`m sure we`re near to get module`s stable release! :-)
Good luck.
Comment #10
drupalnesia CreditAttribution: drupalnesia commentedHere, we go on 5.x-1.7 with 3 important bug fixes :
-----------------------------------------------------------
Bug fix: Set node "promote" according to Joomla "frontpage"
Bug fix: image display not correctly in teaser
Bug fix: import categories (terms) from all sections (vocabularies)
Please make a try. Hard to find a complex Joomla site like u have with so many Secs/Cats and huge 3600 articles!
Comment #11
kollo-dherbois CreditAttribution: kollo-dherbois commentedHi! Thank you. I`ll give it a try.
I can give you link to download my database to test it ;-) [articles in russian though and of course it`s about 20mb+]
Comment #12
kollo-dherbois CreditAttribution: kollo-dherbois commentedHere`s my results.
1. Results page for user import shows too many warining like this:
and below there are same warnings where each user`s name appear. Here you see "Administrator". I guess something`s wrong with it - there double and single quotes in ''Administrator' -
2. Category import seem to went right... at least previosly missing categories this time imported. But I get warnings:
3. Results page for articles import shows two (2) warnings:
below this I see list of imported articles 10 article per page (384 pages) - judging from that last article`s # is 3838 (actual number of existing Joomla articles... - yes it grows) module attempted to import all of them. Attempted... but wouldn`t - `cose in admin/content/node I see only 17 imported articles (in PHPmyadmin drnode = #17), and 5 promoted to frontpage...
4. No images imported. Unlike attempts with previous module (before there at least were empty image subfolders imported) this time module not imported anything at all.
Helluva!!! Annoying...
Would it be I do anything wrong with Drupal settings??? Actually: clean urls and Profile module = ON, Input format set to Full html and linebreaks convert - OFF. What else? ...
Best wishes (heh)
Comment #13
drupalnesia CreditAttribution: drupalnesia commentedHi,
This error caused by NULL value of ID ini this command "UPDATE drsequences SET id= ".
I have a checking if the id is NULL. You can try 5.x-1.8 and run again.
-------------------------------------------------------------------------------------
5.x-1.8: Bug fix: Check if "last-id" not empty before do "update sequences"
-------------------------------------------------------------------------------------
This version not yet fix the bug on Images import, now I am trying this module on a live site to find out the bug.
I find there are some wrong typo in this module Image bug caused by wrong joomla_path, just need some easy code to fix this
I will upload the revision after I finished the test on a production site, maybe takes 1-2 days.
Also, you can send me the link of your database to my email support@drupal-id.com.
Note: Please send only 3-5 lines of error in this forum or send in the attachment.
Good luck.
Comment #14
drupalnesia CreditAttribution: drupalnesia commented5.x-1.9:
--------------------------------------------------------------------------------
Bug fix: wrong typo file_directory_path should be file_directory_path()
Bug fix: in unix/linux server Joomla path must be full path, i.e: "/home/your_username/public_html" instead "/public_html" only
--------------------------------------------------------------------------------
This version has been tested on Linux machine.
IMPORTANT!
In Unix/Linux machine you must use complete Joomla Path as like as Windows, i.e: if your login name is user_1 then the Joomla Path is:
/home/user_1/public_html
if u install Joomla in "joomla_01" sub-folder then the Joomla Path is: /home/user_1/public_html/joomla_01
In the previous version I say only use "public_html", this is wrong.
Comment #15
kollo-dherbois CreditAttribution: kollo-dherbois commentedHi. Here`s my results.
User import - I get same warnings (attached), but users seem to be imported.
Categories imported well.
Articles - almost same issues as mentioned above in my comment #12 (but no warning) I see list of imported articles... 3838 (actual number of existing Joomla articles...). If I click on any article it opens on the site. But when I go to admin Content area to edit articles I see only 18 articles in the list. What the hell it is? :-)
Also there are only 6 articles promoted to frontpage. and 6 promoted to frontpage... I can`t see articles elsewhere...
I can`t check if images imported at all. images folder (that I set to import in) is empty.
Comment #16
drupalnesia CreditAttribution: drupalnesia commentedNow 5.x-2.0 avoid any empty value in WHERE clause of SQL. This release focuses on both User and Categories import. Bug on Articles need another patch because testing on my Linux server has no problem, I will take a look at your db files to reproduce the bug if possible.
Comment #17
drupalnesia CreditAttribution: drupalnesia commentedPrevious version only tested on small Joomla site, but version 5.x-2.1 has been tested on bigger site with 5.000 users, 300 articles, and 15 sections.
Many bugs found and fixed in 5.x-2.1, including any image tag if you use non-default component for WYSIWYG Editor in Joomla.
I also add new option to avoid Server Time Out so you can determine how many rows will be imported before this module add delay (you still can set the delay time), default options will import 100 rows then add 1 second delay before import next data.
Comment #18
t3ns41 CreditAttribution: t3ns41 commentedi already try using 5.x-2.1 but there is a problem.
my joomla data on content is 18664 record. but when i import it the data is 17988 there is a missing record...
i added delay time to 10 second/ insertion 100..
after import is complete there is a message "Total imported Contents: 18664. Action: Ignore duplicate items. ", when i check database it's not the same with the massage that come with.
i already trying module joomla2drupal... but there are got the same issue i got.. imported data doesn't same with the original database...
thanks...
Comment #19
kollo-dherbois CreditAttribution: kollo-dherbois commentedWell, two years later I tried it again (with Drupal 6) and it works just fine - imported all 6000 articles from Joomla. Must set it to fixed.
(I won`t use this module though, `cose I need to import comments as well - this module http://drupal.org/node/249643 does the job...)