Jump to content

roboa

Members
  • Posts

    108
  • Joined

  • Last visited

Posts posted by roboa

  1. checkinstall.php:

    phpVMS Virtual Airline Administration Software

    Install Check

    Checking PHP version

    [OK] PHP version is 5.2.x

    Checking connectivity...

    [OK] Can contact outside servers

    Checking for SimpleXML module...

    [OK] SimpleXML module exists!

    Checking file hashes for corrupt or mismatched files

    [Checksum failed] /install/templates/s3_setup_finished.tpl did not match, possibly corrupt or out of date

    [Checksum failed] /core/common/PIREPData.class.php did not match, possibly corrupt or out of date

    [Checksum failed] /core/common/CentralData.class.php did not match, possibly corrupt or out of date

    [Checksum failed] /core/templates/fsfk_log_flightimages.tpl did not match, possibly corrupt or out of date

    [Checksum failed] /core/templates/profile_stats.tpl did not match, possibly corrupt or out of date

    [Checksum failed] /core/templates/fsfk_log_flightplan.tpl did not match, possibly corrupt or out of date

    [Checksum failed] /core/templates/fsfk_log_flightdata.tpl did not match, possibly corrupt or out of date

    [Checksum failed] /core/templates/email_pilot_retired.tpl did not match, possibly corrupt or out of date

    [Checksum failed] /core/templates/fsfk_vaconfig.tpl did not match, possibly corrupt or out of date

    [Checksum failed] /core/templates/login_notfound.tpl did not match, possibly corrupt or out of date

    [Checksum failed] /core/templates/login_passwordreset.tpl did not match, possibly corrupt or out of date

    [Checksum failed] /core/templates/pirep_editform.tpl did not match, possibly corrupt or out of date

    [Checksum failed] /core/classes/CodonEvent.class.php did not match, possibly corrupt or out of date

    [Checksum failed] /admin/templates/finance_summarysheet.tpl did not match, possibly corrupt or out of date

    [Checksum failed] /admin/modules/Maintenance/Maintenance.php did not match, possibly corrupt or out of date

    [Checksum failed] /lib/js/jquery_essentials.js did not match, possibly corrupt or out of date

    [Checksum failed] /lib/js/ofc/js-ofc-library/ofc.js did not match, possibly corrupt or out of date

    -- Checked 164 files, found 17 errors

    checkdb.php:

    phpVMS Virtual Airline Administration Software

    Database Check

    Checking phpvms_XLAacarsdata...OK

    Checking phpvms_XLAadminlog...OK

    Checking phpvms_XLAaircraft...OK

    Checking phpvms_XLAairlines...OK

    Checking phpvms_XLAairports...OK

    Checking phpvms_XLAawards...OK

    Checking phpvms_XLAawardsgranted...OK

    Checking phpvms_XLAbids...OK

    Checking phpvms_XLAcustomfields...OK

    Checking phpvms_XLAdownloads...OK

    Checking phpvms_XLAexpenses...OK

    Checking phpvms_XLAfieldvalues...OK

    Checking phpvms_XLAfinancedata...OK

    Checking phpvms_XLAfuelprices...OK

    Checking phpvms_XLAgroupmembers...OK

    Checking phpvms_XLAgroups...OK

    Checking phpvms_XLAnews...OK

    Checking phpvms_XLApages...OK

    Checking phpvms_XLApilots...OK

    Checking phpvms_XLApirepcomments...OK

    Checking phpvms_XLApirepfields...OK

    Checking phpvms_XLApireps...OK

    Checking phpvms_XLApirepvalues...OK

    Checking phpvms_XLAranks...OK

    Checking phpvms_XLAschedules...OK

    Checking phpvms_XLAsessions...OK

    Checking phpvms_XLAsettings...OK

    Checking phpvms_XLAupdates...OK

  2. PHP version 5.2.13 and seeing as I don't have the issue with localhost through the same browser (firefox) I'm gonna guess cookies and sessions are allowed.

    edit: If anybody wants to view the issue to get a better idea please feel free to send me a pm.

  3. Hi all,

    I really just can't work out what's going on here at all. I'm logged into the site, yet, when I click on the link back to the hompage, the pilot links that appear when logged in (in place of login boxes) just go back to the login boxes. This leads you to believe you have been logged out however when you use the boxes and log back in you get told you were already logged in!? Another issue, which I presume is linked to this, when you click on the link for the admin panel you are asked to "please login first".

    This only happens on the live site and not on my offline localhost development site.

    FF errors are:

    Warning: Error in parsing value for 'top'. Declaration dropped.

    Source File: http://www.xlvirtual.co.uk/XLA/lib/css/phpvms.css

    Line: 116

    Warning: Error in parsing value for 'filter'. Declaration dropped.

    Source File: http://www.xlvirtual.co.uk/XLA/lib/css/phpvms.css

    Line: 212

    Warning: Error in parsing value for 'top'. Declaration dropped.

    Source File: http://xlvirtual.co.uk/XLA/lib/css/phpvms.css

    Line: 116

    Warning: Error in parsing value for 'filter'. Declaration dropped.

    Source File: http://xlvirtual.co.uk/XLA/lib/css/phpvms.css

    Line: 212

    Warning: Expected declaration but found '>'. Skipped to next declaration.

    Source File: http://xlvirtual.co.uk/XLA/index.php

    Line: 0

    Any help is appreciated!

  4. Ok, any ideas from these erros? :

    Warning: Error in parsing value for 'top'. Declaration dropped.

    Source File: http://localhost/xl/lib/css/phpvms.css

    Line: 116

    Warning: Error in parsing value for 'filter'. Declaration dropped.

    Source File: http://localhost/xl/lib/css/phpvms.css

    Line: 212

    Error: GIcon is not defined

    Source File: http://localhost/xl/lib/js/phpvms.js

    Line: 21

    Error: GIcon is not defined

    Source File: http://localhost/xl/lib/js/phpvms.js

    Line: 21

    Error: XML tag name mismatch (expected meta)

    Source File: http://localhost/xl/index.php/schedules/Scripts/AC_RunActiveContent.js

    Line: 29, Column: 2

    Source Code:

    </head>

  5. This code is for the phpBB forums and it does work but it leaves the user inactive and they're username is [first name][lastname][pilot no.]. How can I put gaps between that stuff and get the user active?

    This is the code I have in the ForumRegister module as ForumRegister.php

    <?php
    class ForumRegister extends CodonModule
    {
       
       public function __construct()
       {
          CodonEvent::addListener('ForumRegister');
       }
       
       public function EventListener($eventinfo)
       {
          if($eventinfo[0] == 'registration_complete')
          { 
    
    $userinfo = $eventinfo[2];
    
    
    $fname = $userinfo['firstname'];
    $lname = $userinfo['lastname'];
    $pass = $userinfo['password1'];
    $email = $userinfo['email'];
    $code = $userinfo['code'];
    
    //mysql_query("INSERT INTO phpbb_users (username, user_password, group_id, user_timezone, user_dst, user_lang, user_type, user_actkey, user_dateformat, user_style, user_regdate) VALUES ($userr, $pass, '2','1.0', '0','en','0','','d M Y H:i', '1', time())");
    
    $get_uinfo = mysql_query("SELECT * FROM phpvms_pilots WHERE firstname='".$fname."' AND lastname='".$lname."' AND email='".$email."'");
    echo "Result Select: ".mysql_error()."<br>";
    $uinfo = mysql_fetch_array( $get_uinfo );
    
    
    //echo "Uinfo: ".$uinfo['pilotid'];
    $str = $uinfo['pilotid'];
    $pilot_id = str_pad ($str,4,"0",STR_PAD_LEFT);
    $pilot_id = $fname.$lname.$code.$pilot_id; 
    $pilot_id_klein = strtolower($pilot_id);
    //echo "Pass: ".$pass."<br>";
    $passMD5 = md5($pass);
    //echo "Pass MD5: ".$passMD5."<br>";
    
    echo "PilotID: ".$str."<br>";
    $tm = time();
    
    mysql_query("INSERT INTO phpbb_users (username, username_clean, user_password, user_email, group_id, user_timezone, user_dst, user_rank, user_lang, user_colour, user_type, user_actkey, user_dateformat, user_style, user_regdate) VALUES ('".$pilot_id."', '".$pilot_id_klein."', '".$passMD5."', '".$email."', '9','0.0', '0', '2','en','0099FF','1','5BN4938HB2','D M d, Y g:i a', '2', '".$tm."')");
    
    //mysql_query("INSERT INTO phpbb_users (username, user_password) VALUES ('".$pilot_id."', '".md5($userinfo['password'])."')");
    
    
    //echo "Result: ".mysql_error()."<br>";
    //print_r($userinfo);
    
             
    
    
          }
       }
    
    }
    ?>

    cheers,

    roboa

    p.s I have phpBB and phpVMS in the same db if it helps

  6. here you go mate. stick this in the <head> part of the page:

    A:link {text-decoration: none; color: #858585;}
    A:visited {text-decoration: none; color: #858585;}
    A:active {text-decoration: none; color: #858585;}
    A:hover {text-decoration: none; color: #ffffff;}

  7. This 'skinning' thing is not easy !  They all say it is, but they lie !

    First you must learn css, html, sql, php,  etc., etc .....

    If you're using something like frontpage or dreamweaver then you dont. In fact all you need to make the template is HTML which you then skin into the site. Trust me it's very easy. And you need to know HTML as a bare minimum to create any site

  8. These are the errors I get:

    Warning: Missing argument 1 for RouteMap::ShowMap(), called in /home/fcava./public_html/core/classes/MainController.class.php on line 295 and defined in /home/fcava./public_html/core/modules/RouteMap/RouteMap.php on line 39
    
    Warning: Invalid argument supplied for foreach() in /home/fcava./public_html/core/modules/RouteMap/RouteMap.php on line 50
    
    Warning: Division by zero in /home/fcava./public_html/core/modules/RouteMap/RouteMap.php on line 74
    
    Warning: Division by zero in /home/fcava./public_html/core/modules/RouteMap/RouteMap.php on line 75

  9. Cheers Nabeel, got that working all nicely now!

    I'm trying to call the routemap to a page now and am using this:

    <?php
    
    MainController::Run("RouteMap", "ShowMap");
    
    ?>

    Now, it sort of works and does bring up a google map but with no information and some joyful errors :D Is there anyway I can modify that to make it work?

  10. Ok, so I now have a file called test.htm in the core/pages folder with this content in it:

    <html>
    
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>test</title>
    </head>
    
    <body>
    <?php
    
    echo "Hello, this is a test of the page test.php!!";
    
    ?>
    </body>
    
    </html>
    

    So the address for the page would be http://fcava.co.uk/index.php/pages/test but it displays the no page error. When I try to add the page through the admin panel I get this error:

    Warning: fopen(/home/fcava./public_html/core/pages/phptest.htm) [function.fopen]: failed to open stream: Permission denied in /home/fcava./public_html/core/common/SiteData.class.php on line 255

    cheers,

    roboa

  11. I've put 2 pages in the pages folder which contain this php:

    <?php
    
    echo "Hello, this is a test of the page test.php!!";
    
    ?>

    One file is test2.php and the other is just test.htm and neither will show. I just get the page missing alert. Am I doing something wrong?

    cheers,

    roboa

×
×
  • Create New...