ArtisTechMedia / ccMixterHost

ccMixter's implementation of ccHost - may become more javascripty over time and become an all out fork.
GNU General Public License v2.0
18 stars 8 forks source link

Install fails on shared host #37

Open ubuntupunk opened 3 years ago

ubuntupunk commented 3 years ago

I know this is old software, but would love get it up and running, due to lack of other FOSS candidates and due to constraints on hardware . Ampache for example is too bloated.

So I checked it out of git,

navigating to admin just spews php:

ccHost has detected \'../cc-host-db.php\' exists. Please move this file out of the way before proceeding with visiting your current URL/path for successful installation. '); } chdir('..'); if( !empty($_REQUEST['rewritehelp']) ) get_rewrite_help(); $step = empty($_REQUEST['step']) ? '1' : $_REQUEST['step']; if( intval($step) == 4 ) { // we have to login before headers are sent do_login(); } $installtitle = 'ccHost Installation'; include( dirname(FILE) . '/cc-install-head.php'); $stepfunc = 'step' . $step; $stepfunc(); print(''); function step_1() { $v = split('.',phpversion()); if( intval($v[0]) < 4 ) { $vmsg = " It doesn't look like you're running on PHP 4, you can't run ccHost until you upgrade."; } else { $vmsg = "It looks like you're running on a supported version of PHP"; } $id3suggest = $_SERVER['DOCUMENT_ROOT'] . '/getid3'; include( dirname(FILE) . '/cc-install-intro.php' ); } function step_1a() { ?>