×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Pages but not Posts

Pages but not Posts 12 years 8 months ago #15418

  • Steve P
  • Steve P's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
When I run the migrator, my Wordpress pages migrate properly, but none of my actual Wordpress posts migrate. Any suggestions?

thanks,
Steve

Re: Pages but not Posts 12 years 8 months ago #15419

  • Steve P
  • Steve P's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Update:

Even though my installed version of CMigrator had the same version number of the latest version listed, I downloaded and installed the "latest version." This seems to have resolved the issue. I now see posts.

Thanks for this great tool!!!

Re: Pages but not Posts 12 years 8 months ago #15420

  • Steve P
  • Steve P's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
My eyes must have been crossing.... I still do not have Posts. Only pages migrate.

Re: Pages but not Posts 12 years 8 months ago #15422

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Steve,
Can you please send me a copy of your database?
Kind regards,
Daniel

Re: Pages but not Posts 12 years 8 months ago #15482

  • TH
  • TH's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
I too have the same problem. There was this error on import:

Warning : Invalid argument supplied for foreach() in /administrator/components/com_cmigrator/library/migrators/wordpress.php on line 197


You can safely ignore "Failed! - Duplicate Key!" errors. Please verify first that the contents you imported are present in your Joomla site or not.


Thanks.

Re: Pages but not Posts 12 years 8 months ago #15489

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey TH,
The reason is very simple: "Our documentation is wrong and we are late with the new release".

CMigrator cannot migrate the data from wordpress when the wordpress tables are in a different database than joomla's.

You will need to export your wordpress tables and import them in the joomla table. After that in the configuration screen - just enter the same data as you have in your configuration.php file -> click import and your data will be imported.

In the next version we will make it extremly clear that one need to import the wordpress tables in the joomla db in order for everything to work properly.

Sorry for the confusion and the problems right now!

Kind regards,
Daniel

Re: Pages but not Posts 12 years 6 months ago #15987

  • Andrea Panella
  • Andrea Panella's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
I have the same problem, bu i not understand the solution.

"You will need to export your wordpress tables and import them in the joomla table. After that in the configuration screen - just enter the same data as you have in your configuration.php file -> click import and your data will be imported.

This is the configuration file of wordpress :



And this is the configuration file of joomla V 2.5.4:



Thank you

Re: Pages but not Posts 12 years 6 months ago #15988

  • Andrea Panella
  • Andrea Panella's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
I sent the requested file from Daniel to me here, your ticket does not seem to work

Re: Pages but not Posts 12 years 6 months ago #15989

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Andrea,
What do you mean with "your ticket doesn't not seem to work" . I see 2 tickets from you there. Can you give us a copy of your wordpress database?

Kind regards,
Daniel

Re: Pages but not Posts 12 years 6 months ago #15991

  • Andrea Panella
  • Andrea Panella's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hi Daniel

I have already sent you the file database in the last post but you ask me the database, for this i tell you that the ticket dont work with attachment.

xxxx

Bye

Re: Pages but not Posts 12 years 6 months ago #15992

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Andrea,
Just downloaded it. I'll test it and will let you know how it went.
Cheers,
Daniel

Re: Pages but not Posts 12 years 6 months ago #15999

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Andrea!
We've released CMigrator 0.3: compojoom.com/about/blog/entry/cmigrator...n-0-3-the-life-saver ! I think that things should be now way easier as you won't have to provide any db user and pass information. You just need to make sure that the wp tables are in the joomla db.

Here is a tutorial on how to do it:
compojoom.com/support/documentation/cmigrator/ch03s03#id5116712

Kind regards,
Daniel
  • Page:
  • 1
Time to create page: 0.169 seconds