How to migrate Joomfish content (j1.5) to 2.5?

With Joomla 2.5 released, alot of people want to Upgrade (migration from Joomla 1.0 1.5 to joomla 2.5), easy to Upgrade Joomla content from Joomla 1.5 to joomla 2.5 with JUPGRADE component here is tutorials: How to migrate a Joomla 1.5 to Joomla 2.5 – joomla 2.5 tutorials and Migrating from Joomla 1.5 to Joomla 1.6+, joomla 1.7

But some one using Joomfish for multileage website, there have been a lot of questions as to how to migrate or upgrade joomfish to Joomla 2.5 from 1.5. This guide will take you step-by-step through the general procedure of how to migrate joomfish to Joomla 2.5.


Fisrt please read 2 articles How to migrate a Joomla 1.5 to Joomla 2.5 – joomla 2.5 tutorials and Migrating from Joomla 1.5 to Joomla 1.6+, joomla 1.7 and UPGRADE your Joomla contents to joomla 2.5.

Affter that download component called Falang at or

The Falang component allows you to manage all your content translations, even the content of all your components/modules, on your web site. The component is so flexible that you can easily add new components at a later date and then translate the new content.

Upload and Installation it as Joomla component.

and then Use my Code save as migration-joomfish-to-joomla-25.php and place in your Joomla directory.

example: and here is code

//init Joomla Framework
define( '_JEXEC', 1 );
define( 'JPATH_BASE', dirname("."));

<title>Joomfish Upgrade from joomla 1.5 to joomla 2.5
deverloped by
<body style="text-align:center;">
<div style="width:980px; margin:0 auto; text-align:center">
require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' );
require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );
require_once( JPATH_CONFIGURATION   .DS.'configuration.php' );
require_once ( JPATH_BASE .DS.'includes'.DS.'database.php' );
require_once ( JPATH_LIBRARIES .DS.'joomla'.DS.'import.php' );
//require_once ( JPATH_BASE .DS.'libraries'.DS.'joomla'.DS.'factory.php' );

//DB Connection
$Config = new JConfig();

$option['driver']   = $Config->dbtype;   // Database driver name
$option['host']     = $Config->host;     // Database host name
$option['user']     = $Config->user;     // User for database authentication
$option['password'] = $Config->password; // Password for database authentication
$option['database'] = $Config->db;       // Database name
$option['prefix']   = $Config->dbprefix; // Database prefix (may be empty)
//echo $Config->dbprefix;
$db = & JDatabase::getInstance($option);
$query = $db->getQuery(true);

$query = "SELECT * FROM ".$Config->dbprefix."jf_content ORDER by id";

$rows = $db->loadObjectList();

echo 'Total: '.count($rows).'Rows';
foreach ($rows as $row){
$insert_query = "INSERT INTO j25_falang_content VALUES (".$row->id.";'".$row->language_id."';'".$row->reference_id."';'".$row->reference_table."';'".$row->reference_field."';'".$row->value."';'".$row->original_value."';'".$row->original_text."';'".$row->modified."';'".$row->modified_by."';'".$row->published."';)";

echo '<p style="color:green"><span>'.$row->id.'  </span><span>'.$row->reference_table.'  </span><span>'.$row->modified.'</span></p><br />';
$query_tableinfo = "SELECT * FROM ".$Config->dbprefix."jf_tableinfo ORDER by id";
$rows_tableinfo = $db->loadObjectList();
foreach ($rows_tableinfo as $row){
$insert_query_tableinfo = "INSERT INTO j25_falang_tableinfo VALUES (".$row->id.";'".$row->joomlatablename."';'".$row->tablepkID."')";

//echo '<p style="color:green"><span>'.$row->id.'  </span><span>'.$row->reference_table.'  </span><span>'.$row->modified.'</span></p><br />';
This script developed by Mr Lamvt <br />
Website:<a href="" title="Joomla free templates">JoomQuery.Com</a> <br />
Website:<a href="" title="Download your favorite software! -">SoftBuzz.Net</a> <br />


Your can download as txt file here:

Run my script and check your New joomla admin





One thought on “How to migrate Joomfish content (j1.5) to 2.5?

  1. Hay,

    I tried with this script to do the migration, but throws a mistake.

    On the line 20 and 21 it says: failed to open stream: No such file or directory

    Requested php files do not exist at all at this location.

    That you can tell me how to change my script to function properly?

Leave a comment