Upgrade old sentora (.io) to new (.org)
09-11-2014, 08:37 PM
(This post was last modified: 09-11-2014, 08:37 PM by Diablo925.)
make a php script
and paste
upload script to a webside on you server and run
remember to delete file after you are done
and paste
Code:
<?php
$username = "root";
$password = "ROOTMYSQLPASSWORD"; //you root mysql password
$database = "zpanel_core";
$con = mysql_connect("localhost", "$username", "$password");
mysql_select_db("$database");
if(!$con)
{
die(mysql_error());
}
else {
mysql_query("UPDATE x_settings SET so_value_tx = 'http://api.sentora.org/latestnews.json' WHERE so_id_pk = '18'");
mysql_query("UPDATE x_settings SET so_value_tx = 'http://api.sentora.org/latestversion.json' WHERE so_id_pk = '19'");
echo "done";
echo "<br />";
echo "Remember to delete file";
}
mysql_close($con);
?>
upload script to a webside on you server and run
remember to delete file after you are done