Log in
     
Before You Upgrade to 2.1 E-mail
User Rating: / 0
PoorBest 
Important: Please read before upgrading to version 2.1 Features introduced in jTips 2.1 require PHP version of at least 5.1 (5.2 is preferred). Please ensure your web server is running this version or has this version available. If you are unsure, please contact your host or system administrator. Always backup your website and database before upgrading any application or software.

If you are currently running jTips 2.0.12 or later on Joomla! 1.0 you will need to take some additional steps prior to upgrading via OneClick. If you are using Joomla! 1.5, you will be able to upgrade immediately.

The the extensive work done for jTips 2.1 we have identified an issue that prevents jTips from upgrading when used on a Joomla! 1.0 system. This issue can be resolved by editing a single file. However, if you are not comfortable with editing scripts or code, or you have no desire to know how to do so, please contact our Support Desk to arrange a suitable time for us to apply the fix for you. Alternatively, a clean install will bypass this issue. If you would like to proceed with a clean install, contact our Support Desk for the latest version.

If you are confident you know what you are doing, please read on.

Remember, this only affects jTips 2.0.12 or greater and only on Joomla! 1.0.

From here on things get a bit technical. To start, you'll need either FTP or SSH access to the server jTips is installed on. Once you are connected, either download (FTP) or edit (SSH) the following file:

/YOUR/WEB/ROOT/administrator/components/com_jtips/update.php

Look for the following section inside the 'jTipsExtractZip' function:

$zip = new dUnzip2($archive);
$zip->unzipAll($path);
if(full_copy($path . '/admin/', $admin) and full_copy($path . '/front/', $site)) {
$result = true;
} else {
$result = false;
}

Now, replace that chunk with:

$result = jTipsExtractLegacy($archive);

First part done. Now, go to the very bottom of the file, just before '?>' and paste in the following:

function jTipsExtractLegacy($filepath="") {
global $mosConfig_absolute_path, $jLicence;
$writefile = $mosConfig_absolute_path. '/administrator/components/com_jtips/updates/pilot.php';
$zip = new dUnzip2($filepath);
$zip->getList();
$zip->unzip('pilot.php', $writefile);
$updates = null;
include($writefile);
$failed = false;
if (is_array($updates)) {
foreach ($updates as $key => $files) {
$path = $mosConfig_absolute_path.($key == 'admin' ? '/administrator' : ''). '/components/com_jtips/';
foreach ($files as $file) {
if (makeDirectories($path, $file)) {
_log("unzipping file $key/" .$file. " => " .$path.$file);
$res = $zip->unzip("$key/$file", $path.$file);
if ($res === false) {
$failed = true;
}
}
}
}
} else {
_log("No files to update");
}
_log("Update result (failed = 1): " .intval($failed));
$jLicence->revalidate(true);
return intval(!$failed);
}

That's it!

Now save your file and upload it back to the same place (FTP).

You can now use OneClick to upgrade to version 2.1!

Did you get stuck somewhere? No problem. Contact our Support Desk for help.

 

Very Affordable

jTips Is Cost Effective

Guarantee return business with jTips from a low $7.50 (AUD) per month, including unlimited support!

Buy Now

The Hot Tip

Lowest Score Allocation

Enter -1 for 'User No Tips Points' when setting up a season and when you process a round, users that forget to submit their tips will be given the same score as the user that did submit their tips, but scored the lowest. This will keep these 'forgetful' users in the game... but only just.

horizontal_solution_PP
Download Area
Show Cart
Your Cart is currently empty.
Download Joomla!

Try jTips Today

The jTips Demo Site is now available for you to check out the intricacies of the jTips 2.0 system. The Demo Site is loosley based on the Australian NRL competition. However, the demo data is completely refreshed and randomized every 12 hours! Not everything can be randomized however, so the Comments and BadWords features have been disabled. You can log in to the Demo Site in both the front end and administration areas to really get a feel for how the system works.