1<?php 2if(!defined('OSTSCPINC') || !$thisstaff || !$thisstaff->isAdmin()) die('Access Denied'); 3?> 4<div id="upgrader"> 5 <div id="main"> 6 <h1 style="color:#FF7700;"><?php echo __('Upgrade Aborted!');?></h1> 7 <div id="intro"> 8 <p><strong><?php echo __('Upgrade aborted due to errors. Any errors at this stage are fatal.');?></strong></p> 9 <p><?php echo sprintf(__('Please note the error(s), if any, when %1$s seeking help %2$s.'),'<a target="_blank" href="https://osticket.com/support/">','</a>');?><p> 10 <?php 11 if($upgrader && ($errors=$upgrader->getErrors())) { 12 if($errors['err']) 13 echo sprintf('<b><font color="red">%s</font></b>',$errors['err']); 14 echo '<ul class="error">'; 15 unset($errors['err']); 16 foreach($errors as $k => $error) 17 echo sprintf('<li>%s</li>',$error); 18 echo '</ul>'; 19 } else { 20 echo '<b><font color="red">'.__('Internal error occurred').' - '.__('Get technical help!').'</font></b>'; 21 } 22 ?> 23 <p><b><?php echo sprintf(__('For details - please view %s or check your email.'), 24 sprintf('<a href="logs.php">%s</a>', __('System Logs')));?></b></p> 25 <br> 26 <p><?php echo sprintf(__('Please refer to the %1$s Upgrade Guide %2$s for more information.'), '<a target="_blank" href="https://docs.osticket.com/en/latest/Getting%20Started/Upgrade%20and%20Migration.html">', '</a>');?></p> 27 </div> 28 <p><strong><?php echo __('Need Help?');?></strong> <?php echo sprintf(__('We provide %1$s professional upgrade services %2$s and commercial support.'), '<a target="_blank" href="https://osticket.com/support/"><u>','</u></a>'); echo sprintf(__('%1$s Contact us %2$s today for <u>expedited</u> help.'), '<a target="_blank" href="https://osticket.com/contact-us/">','</a>');?></p> 29 </div> 30 <div class="sidebar"> 31 <h3><?php echo __('What to do?');?></h3> 32 <p><?php echo sprintf(__('Restore your previous version from backup and try again or %1$s seek help %2$s.'), '<a target="_blank" href="https://osticket.com/support/">','</a>');?></p> 33 </div> 34 <div class="clear"></div> 35</div> 36