Ahmed Gamal 0 Report post Posted March 30 Hi All, I want to install a fresh version of CubeCart v3, in order to restore my database from old backup. then do in-place upgrade. I downloaded the files from cubcart website, and I do the manual installation, but it doesn't show the next button for the installation, I tried different browsers though. Do you know what might be the reason? Share this post Link to post Share on other sites
Al Brookbanks 157 Report post Posted March 30 Most likely because it's not compatible with your server configuration. Version 3 is unlikely to work with modern hosting configurations. Share this post Link to post Share on other sites
bsmither 1,263 Report post Posted March 30 Is the image posted above the complete image? If so, then have your browser show you the HTML source the browser is displaying. If the source cuts off abruptly, the next to last thing you might see is: <tr> <td colspan="4" class="blueHead">Step 1 - License Agreement</td> </tr> We are interested in whatever else may be in the source that follows the above. Share this post Link to post Share on other sites
Ahmed Gamal 0 Report post Posted Sunday at 06:10 AM (edited) This is the complete image, yes. and below is the Body source code <body> <div class="main"><div style="padding: 20px 0px 10px 20px;"><img src="../images/logos/ccLogo.gif" alt="" width="280" height="55" title="" /></div> <div class="mainPad"> <div class="subTitle">CubeCart Installation v3.0.20</div> <div> <table border="0" cellspacing="2" width="100%" cellpadding="0"> <tr> <td>Step 1 out of 5 </td> <td height="13" width="13" class='progressOn'>1</td> <td height="13" width="13" class='progressOff'>2</td> <td height="13" width="13" class='progressOff'>3</td> <td height="13" width="13" class='progressOff'>4</td> <td height="13" width="13" class='progressOff'>5</td> </tr> </table> <br /> <form name="install" action="index.php?step=2&l=en" method="post" enctype="multipart/form-data"> <table width="100%" border="0" cellspacing="0" cellpadding="3" class="formTable"> <tr> <td colspan="4" class="blueHead">Step 1 - License Agreement</td> </tr> <!-- <tr> <td colspan="4" style="text-align:center;"> <strong> Choose Language: </strong> <select name="langSwitch" class="dropDown" onchange="jumpMenu('parent',this,0)"> Edited Sunday at 06:13 AM by Ahmed Gamal Share this post Link to post Share on other sites
bsmither 1,263 Report post Posted Sunday at 03:02 PM The code that follows is: <?php $path = "../language"; if ($dir = opendir($path)) { while (false !== ($folder = readdir($dir))) { if(!eregi("[.]", $folder)){ include($path."/".$folder."/config.inc.php"); ?><option value="index.php?step=1&l=<?php echo $folder; ?>" <?php if($langFolder==$folder){ echo "selected='selected'"; } ?> onmouseover="javascript:getImage('../language/<?php echo $folder; ?>/flag.gif');"><?php echo $langName; ?></option> <?php } } } ?> Looking at the various PHP functions used in this code segment, I see that eregi() (one of the ereg() family of functions) is known to have been removed from PHP7, and deprecated in PHP5.3. (Deprecated functions will still work, but there will be warnings shown.) If your server environment is running PHP7, this is the likely cause of the problem because PHP has crashed. CubeCart 3 has dozens of instances of using the ereg() family of functions. So, if you really want to stay with CC3, there will be some work involved rewriting the code to use preg_replace(), or make sure you are running PHP5 (there will be Deprecated warnings, but these can be suppressed). Share this post Link to post Share on other sites