Jump to content

NEED HELP WITH INSTALL


tr1ck3tt

Recommended Posts

I have followed all the steps and end up with this

Installing the tables...'; if($_POST['DBASE_NAME'] == '' || $_POST['DBASE_USER'] == '' || $_POST['DBASE_TYPE'] == '' || $_POST['DBASE_SERVER'] == '' || $_POST['SITE_URL'] == '') { echo '

You must fill out all the required fields

'; break; } if(!Installer::AddTables()) { echo '

'.Installer::$error.'

'; break; } if(!Installer::WriteConfig()) { echo '

'.Installer::$error.'

'; break; } echo '

'; } break; case 'sitesetup': Template::Show('s2_site_setup.tpl'); break; case 'complete': if($_POST['action'] == 'submitsetup') { if($_POST['firstname'] == '' || $_POST['lastname'] == '' || $_POST['email'] == '' || $_POST['password'] == '' || $_POST['vaname'] == '' || $_POST['vacode'] == '') { Template::Set('message', 'You must fill out all of the fields'); Template::Show('s2_site_setup.tpl'); break; } $_POST['SITE_NAME'] = $_POST['vaname']; if(!Installer::SiteSetup()) { Template::Set('message', Installer::$error); Template::Show('s2_site_setup.tpl'); } else { Installer::RegisterInstall(INSTALLER_VERSION); Template::Show('s3_setup_finished.tpl'); } } break; } Template::Show('footer.tpl');

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...