Joomal: Version 1.5.20
Drupal: Version 7.8

Hi,

I have been trying to use the Joomla to Drupal import tool and have come across and error message on the front page after the import has completed:
----------------
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'jaylenschallenge_axleuk.jos_myblog_content_categories' doesn't exist: SELECT mcc.category,mc.name FROM jos_myblog_content_categories mcc JOIN jos_myblog_categories mc on mc.id = mcc.category WHERE mcc.contentid = :contentid; Array ( [:contentid] => node ) in joomla_myblog_process_node() (line 176 of /home/axle/www.axleuk.com/sites/all/modules/joomla/joomla_myblog.module).
----------------

I have seen a similiar post concerning the same issue and was hoping that I cuold get some assistance as to how best solve this problem.

Comments

ParisLiakos’s picture

Seems you dont have any categories in your joomla installation?
did you run the import with the import categories checkbox checked?

Axleuk’s picture

Assigned: Axleuk » Unassigned
Axleuk’s picture

Yes I did.

ParisLiakos’s picture

Status: Active » Fixed

Try the import,without checking that:)
and everything will go OK
Its cause you dont have any joomla categories.you checked the box,module thought u did have category table and that's where u got the error!

Axleuk’s picture

Status: Fixed » Active

I did try it unticked and I got the same error message. I checked Joomla and all of my 'MyBlog' posts are in a category called 'MyBlog'

I am in the process of restoring the database and I will try again with the categories option unticked to see if it makes any difference.

ParisLiakos’s picture

Category: support » bug

ah i see.
sorry for that,my bad.never noticed you are using myblog submodule:/

seems there has been a change in myblog's structure in joomla.
can you provide me your database dump?
or just the structure of it,if it contains sensitive data?

Axleuk’s picture

Category: bug » support
StatusFileSize
new62.5 KB

I just restored the database and started again, this time only selecting the 'content' option. As soon as I click the 'imprt' button it returns the attached error message.

Axleuk’s picture

What format would you like the dump in? CSV or SQL?

ParisLiakos’s picture

You will have to disable-uninstall-enable joomla module.
btw i ll have to take a look to your joomla db structure (SQL format)

Axleuk’s picture

StatusFileSize
new15.23 KB

Here you go

ParisLiakos’s picture

ok.there will be a new version tomorrow that will fix this !
thanks for the db!

Axleuk’s picture

That's great! Really apreciate the speed at which you have jumped on this. Very good first impressioon of the support mechanism that the Drupal community have here :)

ParisLiakos’s picture

yeah drupal community rocks.
btw one question i forgot to ask...did the import finished succesfully?
and after got the error?

And if yes,did you delete the joomla database after the import?
then visiting the drupal site you got the error?:)

ParisLiakos’s picture

Title: Error message after import of Joomla content into Drupal » joomla_myblog_update_node() conflicts with hook_process_node()
Version: 7.x-1.0-alpha2 » 7.x-1.0-alpha3
Category: support » bug
Status: Active » Fixed

7.x-1.0-alpha3 is out.update your module and everything should be fine!
thanks for reporting this bug:)

ParisLiakos’s picture

Title: joomla_myblog_update_node() conflicts with hook_process_node() » joomla_myblog_process_node() conflicts with hook_process_node()
Axleuk’s picture

Status: Fixed » Needs review
StatusFileSize
new62.5 KB

Hey Paris,

This is great. I was able to import the posts and categories across now and they are safetly in Drupal. I did get error messages show up just after the import but it did not seem to affect anything from what I can see. I have attached the error for you in case it is something that needs to be addressed.

ParisLiakos’s picture

Status: Needs review » Fixed

Thanks!i fixed those notices too:)

Status: Fixed » Closed (fixed)

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