razorsmile
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: how to import LJ entries AND COMMENTS into WP?OK managed to fix this…something to do with running WordPress 2 perhaps?
I checked through the import-livejournal.php and found the reference to the wp-config file and noticed it was never going to hit the right file from inside wp-admin/import.
So moved the import-livejournal.php and the lj.xml into the wp-admin folder, then accessed them through the browser (in my case through going to https://localhost/wordpress/wp-admin/import-livejournal.php) and the script ran fine…
So the problem was that they’re not quite fitted into the ‘import’ panel in WP2 dashboard as of yet.
Maybe this will help some other WP newbie like me which is why I’m wasting this space here ??
Forum: Everything else WordPress
In reply to: how to import LJ entries AND COMMENTS into WP?OK something wierd is happening with this importer…
I downloaded the livejournal-import.php from
https://www.bhansalimail.com/wordpress_import-livejournal.php
and placed it in the import folder that is INSIDE the wp-admin folder.
When I then go to wp-admin and go to the import tab the style of the page alters.
I get a thinner central column… wierd…When I change the first line to
<?php define(‘XMLFILE’, ‘lj.xml’);
// Example etcthereby putting the right file name in I get an error if i try to import.
If I remove the <?php so that it reads
define(‘XMLFILE’, ‘lj.xml’);
// Examplenot only do I get an error but I get a spew of the php file in the ‘import’ page of the dashboard.
I’m assuming that my neglible knowledge of php means I’mmaking a syntax error here but can someone point that out for me? Many thanks….