Jump to content

muse4eva

Members
  • Posts

    31
  • Joined

  • Last visited

    Never

Posts posted by muse4eva

  1. Hi Guys, long time no speak, no problems as such, but i recently tried logging into my VA website, and when i did, it comes up saying "You must be logged in to use this feature" when i already tried to log in  :-

    muse4eva

  2. Hi there,

    I have got this problem at the moment, where on my profile page, i have these two red crosses, how can i make them into an avatar or a badge, as i have tried to use an avatar but it didnt work, screenie :

    RANDOM.jpg

    Thanks

    muse4eva

  3. Thanks Roger,

    I was able to use Nabeel's skinning tutorial to help me, and when i made the css, the template showed up, and all i had to do was use the navigation links to log in, and then changed my skin back to normal  ::)

    muse4eva

  4. Hi Nabeel,

    Just another problem, here is what i try to do.

    I have dropped all tables so there is nothing in database, I run the installer and fill in details asked for, I press test database connection and it comes back "database connection ok". I then press next step and............. nothing, it just stays on same page.

    Can you help?

    muse4eva

  5. I think i installed ok, only one error though...

    Warning: Invalid argument supplied for foreach() in /data/members/free/tripod/uk/b/a/h/bahairways/htdocs/core/templates/frontpage_recentpilots.tpl on line 3

    Can you please sort that out for me Nabeel, also, how do i access the admin panel?

    muse4eva

  6. Its not letting me open the install.php file with my browser, so i have copied out the code as it says.

    <?php

    /**

    * phpVMS - Virtual Airline Administration Software

    * Copyright © 2008 Nabeel Shahzad

    * For more information, visit www.phpvms.net

    * Forums: http://www.phpvms.net/forum'>http://www.phpvms.net/forum

    * Documentation: http://www.phpvms.net/docs'>http://www.phpvms.net/docs

    *

    * phpVMS is licenced under the following license:

    *  Creative Commons Attribution Non-commercial Share Alike (by-nc-sa)

    *  View license.txt in the root, or visit http://creativecommons.org/licenses/by-nc-sa/3.0/

    *

    * @author Nabeel Shahzad

    * @copyright Copyright © 2008, Nabeel Shahzad

    * @link http://www.phpvms.net

    * @license http://creativecommons.org/licenses/by-nc-sa/3.0/

    */

    error_reporting(E_ALL ^ E_NOTICE);

    define('ADMIN_PANEL', true);

    define('INSTALLER_VERSION', '1.2.700');

    include dirname(__FILE__).'/loader.inc.php';

    if($_POST['action'] == 'submitdb')

    {

    //dbname] => [dbpass] => [dbuser] => [dbtype] => mysql [tableprefix] => phpvms_ [siteurl] => www.phpvms.net/test/ [action] => submitdb [

    if($_POST['DBASE_NAME'] == '' || $_POST['DBASE_USER'] == '' || $_POST['DBASE_TYPE'] == ''

    || $_POST['DBASE_SERVER'] == '' || $_POST['SITE_URL'] == '')

    {

    Template::Set('message', 'You must fill out all the required fields');

    }

    else

    {

    if(!Installer::AddTables())

    {

    Template::Set('message', Installer::$error);

    }

    else

    {

    if(!Installer::WriteConfig())

    {

    Template::Set('message', Installer::$error);

    }

    else

    {

    header("Location: install.php?page=sitesetup");

    }

    }

    }

    }

    Template::Show('header.tpl');

    echo '<h3 align="left">phpVMS Installer</h3>';

    // Controller

    switch($_GET['page'])

    {

    case 'dbsetup':

    case '':

    if(!Installer::CheckServer())

    {

    Template::Show('s0_config_check.tpl');

    }

    else

    {

    Template::Show('s1_db_setup.tpl');

    }

    break;

    case 'sitesetup':

    Template::Show('s2_site_setup.tpl');

    break;

    case 'complete':

    if($_POST['action'] == 'submitsetup')

    {

    if($_POST['SITE_NAME'] == '' || $_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;

    }

    if(!Installer::SiteSetup())

    {

    Template::Set('message', Installer::$error);

    Template::Show('s2_site_setup.tpl');

    }

    else

    {

    Installer::RegisterInstall(INSTALLER_VERSION);

    echo '<p>Your site is all setup! You can login to the admin panel <a href="'.SITE_URL.'/admin">here</a></p>';

    }

    }

    break;

    }

    Template::Show('footer.tpl');

    ?>

  7. The error that i am getting is the same one as i try to run the installer,

    Fatal error: Call to a member function get_results() on a non-object in /www/************/htdocs/core/classes/DB.class.php on line 280

    I have set the local.config.php file to writeable on all of sections that you can set it as, owner permissions, group permissions, public permissions.

  8. Hi Nabeel,

    Thanks for the quick reply, i have created the file local.config.php in the core folder and made the folder writable, but still getting the error when i try to run the installer. If you can, can you please take a look at it for me and fix the problem for me if i give you the login details to members.lycos.co.uk?

    Cheers

×
×
  • Create New...