Translations of this page:
Table of Contents

Update

Updates help us and you to keep your copy in actual state. Updates contists of some changes to DB and files reflecting new features in script. To appaly an update to your script just click on Home at the top of you admin are and select an update. Make sure you apply updates step by step, do not skip updates. At the same page you can see your current version.

How to do update

  1. Click 'Home' tab
  2. Check message “You last update # ”
  3. Scroll down and check if you have any new updates
  4. Click on a link (link like Update 25)
  5. Follow instructions (usually chmod nessesary files). After nessesary changes reload update page (F5). At the end you have to see message “Everything's ok”

Update 28

Update 29

Update 30

Update 31

Update 32

Update 33

Update 34

Update 35

Update 36

Update 37

Update 38

Update 39

Update 40

Update 41

Update 42

Update 43

Update 44

  • run following commands in SSH
cd /path_to_scj/admin
env HTTP_HOST=yourdomain.com php update.php update_number

If you for some reason dont have update file (why?) here is it's source

<?php
require('../includes/prepare.php');
require('../includes/libs/http_functions.php');
 
$_GET['update_id'] = $argv[1];
 
if ($_GET['update_id']) {
	if ($settings['last_update_number'] > $_GET['update_id'] and !$_REQUEST['force_update']) die ("No need to process this update, your last update # is {$settings['last_update_number']}");
	while (true) {
		$tmp = get_url("http://smartcj.com/updates/".(int)$_GET['update_id']."/update.txt");
		if ($tmp['status'] != 200)  {
			echo "Sorry, can not find this update";
			break;
		}
		$_REQUEST['terms_read'] = true;
        ob_start();
		eval ('?>' . $tmp['body']);
		$res = ob_get_clean();
		$res = str_replace('<br>', "\n", $res);
        echo strip_tags($res);
 
		break;
	}
}
 
?>

 
updates.txt · Last modified: 2010/05/26 12:40 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki