Jump to content

Bluemax

Members
  • Posts

    114
  • Joined

  • Last visited

Posts posted by Bluemax

  1. OK, I realize this is an old post. I have been running the ObsessBlue skin on three different sites since 2009 never had an issue with the live map. The PHPvms version is the original when it came with the Crystal and crystalsidebar skins, anyhow I decide to update one of the sites with first version 5.5 xx and that version is over my head. The only skin i can use is the default crystal. anything else is a washout including the Ocean-Blue which was created for the 5,5xx version. So I went to PHPvms V2 all is well everything works except the Acars Map is blank on every skin except the default cyrstal skin. My api keys is installed... the maps work on my older versions of PHPvms .... So i was trying to build on the cyrstal skin until I realised what i need to know about the skin does not exsit in the layout template,, the .css is not an issue, Its not knowing specifically where the content is that drives that skin, such as the menubar and display content and yet I have no issue getting around the ObsessBlue skin,,,go figure. im a trial and error cut and paste person, don't know the code. If I wern't 73 years old I would learn it...but i could be playing the harp by then.Anyway guys, im open to any suggestions that would put me on the correct path.

  2. This is the file ACARSData.class.php

     

     

    <?php
    /**
     * phpVMS - Virtual Airline Administration Software
     * Copyright (c) 2008 Nabeel Shahzad
     * For more information, visit www.phpvms.net
     *    Forums: http://www.phpvms.net/forum
     *    Documentation: 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 (c) 2008, Nabeel Shahzad
     * @link http://www.phpvms.net
     * @license http://creativecommons.org/licenses/by-nc-sa/3.0/
     */
     
    class ACARSData extends CodonData
    {
        public static $lasterror;
        public static $pirepid;
        
        /**
         * This updates the ACARS live data for a pilot
         *
         * @param mixed $data This is the data structure with flight properties
         * @return mixed Nothing
         *
         */
        public static function updateFlightData($pilotid, $data)
        {
            if(!is_array($data))
            {
                self::$lasterror = 'Data not array';
                return false;
            }
            
            if(isset($data['code']) && isset($data['flightnum']))
            {
                $data['flightnum'] = $data['code'].$data['flightnum'];
            }
            
            // Add pilot info        
            $pilotinfo = PilotData::getPilotData($pilotid);
            $data['pilotid'] = $pilotid;
            $data['pilotname'] = $pilotinfo->firstname . ' ' . $pilotinfo->lastname;
            
            // Store for later
            if(isset($data['registration']))
            {
                $ac_registration = $data['registration'];
                unset($data['registration']);
            }
            
            if(isset($data['depicao']))
            {
                $dep_apt = OperationsData::GetAirportInfo($data['depicao']);
                $data['depapt'] = DB::escape($dep_apt->name);
            }
            
            if(isset($data['arricao']))
            {
                $arr_apt = OperationsData::GetAirportInfo($data['arricao']);
                $data['arrapt'] = DB::escape($arr_apt->name);
            }
            
            if(isset($data['route']) && empty($data['route']))
            {
                $flight_info = SchedulesData::getProperFlightNum($data['flightnum']);
                $params = array(
                    's.code' => $flight_info['code'],
                    's.flightnum' => $flight_info['flightnum'],
                );
                
                $schedule = SchedulesData::findSchedules($params);
                $schedule = $schedule[0];
                
                $data['route'] = $schedule->route;
                //$data['route_details'] = serialize(SchedulesData::getRouteDetails($schedule->id));
            }
            /*    A route was passed in, so get the details about this route */
            elseif(isset($data['route']) && !empty($data['route']))
            {
                /*$tmp = new stdClass();
                $tmp->deplat = $dep_apt->lat;
                $tmp->deplng = $dep_apt->lng;
                $tmp->route = $data['route'];
                
                $data['route_details'] = NavData::parseRoute($tmp);
                $data['route_details'] = serialize($data['route_details']);
                unset($tmp);*/
            }
            
            if(!empty($data['route_details']))
            {
                $data['route_details'] = DB::escape($data['route_details']);
            }
            
            if(isset($dep_apt))
            {
                unset($dep_apt);
            }
            
            if(isset($arr_apt))
            {
                unset($arr_apt);
            }
        
            // Clean up times
            if(isset($data['deptime']) && !is_numeric($data['deptime']))
            {
                $data['deptime'] = strtotime($data['deptime']);
            }
                
            if(isset($data['arrtime']) && !is_numeric($data['arrtime']))
            {
                $data['arrtime'] = strtotime($data['arrtime']);
            }
            
            /* Check the heading for the flight
                If none is specified, then point it straight to the arrival airport */
            if($data['heading'] == '' || (!isset($data['heading']) && isset($data['lat']) && isset($data['lng'])))
            {
                /* Calculate an angle based on current coords and the
                    destination coordinates */
                
                $data['heading'] = intval(atan2(($data['lat'] - $arr_apt->lat), ($data['lng'] - $arr_apt->lng)) * 180/3.14);
                if(($data['lat'] - $data['lng']) < 0)
                {
                    $data['heading'] += 180;
                }
                
                if($data['heading'] < 0)
                {
                    $data['heading'] += 360;
                }
            }
            
            // Manually add the last set
            $data['lastupdate'] = 'NOW()';
                
            // first see if we exist:
            $sql = 'SELECT `id`
                    FROM '.TABLE_PREFIX."acarsdata 
                    WHERE `pilotid`={$pilotid}";
                    
            $exist = DB::get_row($sql);
                
            $flight_id = '';
            
            if($exist)
            { // update
                $upd = array();
                $flight_id = $exist->id;
                
                foreach($data as $field => $value)
                {
                    $value = DB::escape(trim($value));
                    
                    // Append the message log
                    if($field === 'messagelog')
                    {
                        $upd[] ="`messagelog`=CONCAT(`messagelog`, '{$value}')";
                    }
                    elseif($field === 'lastupdate')
                    {
                        $upd[] = "`lastupdate`=NOW()";
                    }
                    // Update times
                    elseif($field === 'deptime' || $field === 'arrtime')
                    {
                        /*    If undefined, set a default time to now (penalty for malformed data?)
                            Won't be quite accurate.... */
                        if($value == '') 
                        {
                            $value = time();
                        }
                        
                        $upd[] = "`{$field}`=FROM_UNIXTIME({$value})";
                    }
                    else 
                    {                    
                        $upd[] = "`{$field}`='{$value}'";
                    }
                }
                
                $upd = implode(',', $upd);
                $query='UPDATE '.TABLE_PREFIX."acarsdata 
                        SET {$upd} 
                        WHERE `id`='{$flight_id}'";
                            
                DB::query($query);
            }
            else
            {
                // form array with $ins[column]=value and then
                //    give it to quick_insert to finish
                $ins = array();
                $vals = array();
                
                foreach($data as $field => $value)
                {
                    $ins[] = "`{$field}`";
                    if($field === 'deptime' || $field === 'arrtime')
                    {
                        if(empty($value)) $value = time();
                        $vals[] = "FROM_UNIXTIME({$value})";
                    }
                    elseif($field === 'lastupdate')
                    {
                        $vals[] = 'NOW()';
                    }
                    else
                    {
                        $value = DB::escape($value);
                        $vals[] = "'{$value}'";
                    }
                }
                            
                $ins = implode(',', $ins);
                $vals = implode(',', $vals);
                
                $query = 'INSERT INTO '.TABLE_PREFIX."acarsdata ({$ins}) 
                            VALUES ({$vals})";
            
                DB::query($query);
                
                $data['deptime'] = time();
                $flight_id = DB::$insert_id;
            }
            
            $flight_info = self::get_flight_by_id($flight_id);
            
            // Add this cuz we need it
            $data['code'] = $pilotinfo->code;
            $data['pilotid'] = $pilotid;
            $data['unique_id'] = $flight_id;
            $data['aircraft'] = $flight_info->aircraftname;
            $data['registration'] = $flight_info->registration;
            
            $res = CentralData::send_acars_data($data);
            return true;
        }
        
        public static function resetFlights()
        {
            $sql = 'DELETE FROM '.TABLE_PREFIX.'acarsdata';
            DB::query($sql);
            
            return true;
        }
        
        public static function get_flight_by_id($id)
        {
            $id = intval($id);
            $sql = 'SELECT a.*, c.name as aircraftname, c.registration as registration,
                        p.code, p.pilotid as pilotid, p.firstname, p.lastname
                    FROM ' . TABLE_PREFIX .'acarsdata a
                    LEFT JOIN '.TABLE_PREFIX.'aircraft c ON a.`aircraft`= c.`id`
                    LEFT JOIN '.TABLE_PREFIX.'airports AS dep ON dep.icao = a.depicao
                    LEFT JOIN '.TABLE_PREFIX.'airports AS arr ON arr.icao = a.arricao
                    LEFT JOIN '.TABLE_PREFIX.'pilots p ON a.`pilotid`= p.`pilotid`
                    WHERE a.id='.$id;
            
            return DB::get_row($sql);
        }
        
        public static function get_flight_by_pilot($pilotid)
        {
            $pilotid = intval($pilotid);
            $sql = 'SELECT * FROM '.TABLE_PREFIX."acarsdata 
                        WHERE `pilotid`='{$pilotid}'";
            
            return DB::get_row($sql);    
        }
        
        public static function get_flight($code, $flight_num)
        {
            $code = DB::escape($code);
            $flight_num = DB::escape($flight_num);
            
            $sql = 'SELECT * FROM '.TABLE_PREFIX."acarsdata 
                        WHERE flightnum='{$code}{$flight_num}'";
            
            return DB::get_row($sql);        
        }
        
        /**
         * File a PIREP from an ACARS program
         *
         * @param mixed $pilotid The pilot ID of the pilot filing the PIREP
         * @param mixed $data This is the data structure with the PIREP info
         * @return bool true/false
         *
         */
        public static function FilePIREP($pilotid, $data)
        {
            if(!is_array($data)) {
                self::$lasterror = 'PIREP data must be array';
                return false;
            }
            
            # Call the pre-file event
            #
            if(CodonEvent::Dispatch('pirep_prefile', 'PIREPS', $_POST) == false)
            {
                return false;
            }
            
            # File the PIREP report
            #  
            $ret = PIREPData::FileReport($data);
            
            # Set them as non-retired
            PilotData::setPilotRetired($pilotid, 0);
            
            if(!$ret)
                return false;
                
            self::$pirepid = DB::$insert_id;
            
            # Call the event
            #
            CodonEvent::Dispatch('pirep_filed', 'PIREPS', $_POST);
            
            # Close out a bid if it exists
            #
            $bidid = SchedulesData::GetBidWithRoute($pilotid, $data['code'], $data['flightnum']);
            if($bidid)
            {
                SchedulesData::RemoveBid($bidid->bidid);
            }
            
            return true;
        }
        
        public static function GetAllFlights()
        {
            $sql = 'SELECT a.*, c.name as aircraftname, c.registration as registration,
                        p.code, p.pilotid as pilotid, p.firstname, p.lastname
                    FROM ' . TABLE_PREFIX .'acarsdata a
                    LEFT JOIN '.TABLE_PREFIX.'aircraft c ON a.`aircraft`= c.`registration`
                    LEFT JOIN '.TABLE_PREFIX.'airports AS dep ON dep.icao = a.depicao
                    LEFT JOIN '.TABLE_PREFIX.'airports AS arr ON arr.icao = a.arricao
                    LEFT JOIN '.TABLE_PREFIX.'pilots p ON a.`pilotid`= p.`pilotid`';
            
            return DB::get_results($sql);
        }

        
        /**
         * This returns all of the current ACARS flights within the cutoff
         *
         * @param int $cutofftime This is the cut-off time in minutes (12 hours return in)
         * @return array Returns an array of objects with the ACARS data
         *
         */
        public static function GetACARSData($cutofftime = '')
        {
            //cutoff time in days
            if(empty($cutofftime))
            {
                // Go from minutes to hours
                $cutofftime = Config::Get('ACARS_LIVE_TIME');
                //$cutofftime = $cutofftime / 60;            
            }
            
            $sql = 'SELECT a.*, c.name as aircraftname,
                        p.code, p.pilotid as pilotid, p.firstname, p.lastname,
                        dep.name as depname, dep.lat AS deplat, dep.lng AS deplng,
                        arr.name as arrname, arr.lat AS arrlat, arr.lng AS arrlng
                    FROM ' . TABLE_PREFIX .'acarsdata a
                    LEFT JOIN '.TABLE_PREFIX.'aircraft c ON a.`aircraft`= c.`registration`
                    LEFT JOIN '.TABLE_PREFIX.'pilots p ON a.`pilotid`= p.`pilotid`
                    LEFT JOIN '.TABLE_PREFIX.'airports AS dep ON dep.icao = a.depicao
                    LEFT JOIN '.TABLE_PREFIX.'airports AS arr ON arr.icao = a.arricao ';
            
            if($cutofftime !== 0)
            {
                $sql .= 'WHERE DATE_SUB(NOW(), INTERVAL '.$cutofftime.' MINUTE) <= a.`lastupdate`';
            }
            
            return DB::get_results($sql);
            DB::debug();
        }
    }

     

     

     

    ACARS/ACARS.php

     

    <?php
    /**
     * phpVMS - Virtual Airline Administration Software
     * Copyright (c) 2008 Nabeel Shahzad
     * For more information, visit www.phpvms.net
     *    Forums: http://www.phpvms.net/forum
     *    Documentation: 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 (c) 2008, Nabeel Shahzad
     * @link http://www.phpvms.net
     * @license http://creativecommons.org/licenses/by-nc-sa/3.0/
     */

    class ACARS extends CodonModule
    {
        public $title = 'ACARS';
        public $acarsflights;
        
        public function index()
        {
            $this->viewmap();
        }
        
        public function viewmap()
        {
            $this->title = 'ACARS Map';
            $this->set('acarsdata', ACARSData::GetACARSData());
            $this->render('acarsmap.tpl');
        }
        
        /**
         *  We didn't list a function for each ACARS client,
         *    so call this, which will include the acars peice in
         */
        public function __call($name, $args)
        {
            $acars_action = $args[0];
        
            // clean the name...
            $name = preg_replace("/[^a-z0-9-]/", "", strtolower($name));
            if(dirname(__FILE__).DS.$name.'.php')
            {
                include_once dirname(__FILE__).DS.$name.'.php';
                return;
            }
        }
        
        public function data()
        {
            $flights = ACARSData::GetACARSData();
            
            if(!$flights) 
                $flights = array();
            
            $this->acarsflights = array();
            foreach($flights as $flight)
            {    
                if($flight->route == '')
                {
                    $flight->route_details = array();
                }
                else
                {
                    $flight->route_details = NavData::parseRoute($flight->route);
                }
                
                $c = (array) $flight; // Convert the object to an array
                
                $c['pilotid'] = PilotData::GetPilotCode($c['code'], $c['pilotid']);
                
                // Normalize the data
                if($c['timeremaining'] == '')
                {
                    $c['timeremaining'] ==  '-';
                }
                
                if(trim($c['phasedetail']) == '')
                {
                    $c['phasedetail'] = 'Enroute';
                }
                
                /* If no heading was passed via ACARS app then calculate it
                    This should probably move to inside the ACARSData function, so then
                     the heading is always there for no matter what the calcuation is
                    */
                if($flight->heading == '')
                {
                    /* Calculate an angle based on current coords and the
                        destination coordinates */
                    
                    $flight->heading = intval(atan2(($flight->lat - $flight->arrlat), ($flight->lng - $flight->arrlng)) * 180 / 3.14);
                    //$flight->heading *= intval(180/3.14159);
                    
                    if(($flight->lng - $flight->arrlng) < 0)
                    {
                        $flight->heading += 180;
                    }
                    
                    if($flight->heading < 0)
                    {
                        $flight->heading += 360;
                    }
                }
                
                // Little one-off fixes to normalize data
                $c['distremaining'] = $c['distremain'];
                $c['pilotname'] = $c['firstname'] . ' ' . $c['lastname'];
                
                unset($c['messagelog']);
                
                $this->acarsflights[] = $c;
                
                continue;
            }
        
            CodonEvent::Dispatch('refresh_acars', 'ACARS');
            
            echo json_encode($this->acarsflights);
        }
        
        public function routeinfo()
        {        
            if($this->get->depicao == '' || $this->get->arricao == '')
                return;
            
            $depinfo = OperationsData::GetAirportInfo($this->get->depicao);
            if(!$depinfo)
            {
                $depinfo = OperationsData::RetrieveAirportInfo($this->get->depicao);
            }
            
            $arrinfo = OperationsData::GetAirportInfo($this->get->arricao);
            if(!$arrinfo)
            {
                $arrinfo = OperationsData::RetrieveAirportInfo($this->get->arricao);
            }
            
            // Convert to json format
            $c = array();
            $c['depapt'] = (array) $depinfo;
            $c['arrapt'] = (array) $arrinfo;
            
            echo json_encode($c);
        }
            
        public function fsacarsconfig()
        {
            $this->write_config('fsacars_config.tpl', Auth::$userinfo->code.'.ini');
        }
        
        public function fspaxconfig()
        {
            $this->write_config('fspax_config.tpl', Auth::$userinfo->code.'_config.cfg');
        }
        
        public function xacarsconfig()
        {
            $this->write_config('xacars_config.tpl', 'xacars.ini');
        }
        
        /**
         * Write out a config file to the user, give the template name and
         *    the filename to save the template as to the user
         *
         * @param mixed $template_name Template to use for config (fspax_config.tpl)
         * @param mixed $save_as File to save as (xacars.ini)
         * @return mixed Nothing, sends the file to the user
         *
         */
        public function write_config($template_name, $save_as)
        {
            if(!Auth::LoggedIn())
            {
                echo 'You are not logged in!';
                break;
            }
            
            $this->set('pilotcode', PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid));
            $this->set('userinfo', Auth::$userinfo);
            
            $acars_config = Template::GetTemplate($template_name, true);
            $acars_config = str_replace("\n", "\r\n", $acars_config);
            
            Util::downloadFile($acars_config, $save_as);
        }
    }

  3. I have givin up on version 5,5 don't have the knowledge in coding. So I put an older version back in have two older versions still working, Anyway it installed all went well ran the db check all is good. when i click on the live map I get this Fatal error message. has nothing to do with the skin..tried it on the default Crystal skin. Im not sure im in the right place for this question so forgive me. I searched everythread related to Acars, came up wit nothing,

     


    Fatal error: Class 'ACARSData' not found in /hermes/bosnacweb04/bosnacweb04cf/b1/ipg.XXXXXXX/XXXX/core/modules/ACARS/ACARS.php on line 32

  4. Gentlemen, I would not trouble you if it weren't important. I run six VA's built on phpvms and I have resolved most of my own issues with various skins I use. But right now I am at a loss to my issue. When I go to he admin to post a new news topic or do a bulk email, the editor same as I'm typing in now is missing. have reloaded the admin panel but to no avail. Let me explain what I have done. Rebuilt a site and running it in parallel with the existing site, same database, same prefix code. Thought there was a conflict, so I dropped the local config file from the original site, so only the one site was running, but this didn't resolve the problem. Went and checked the database {Server} and ran a database check, still could not find anything. Ran a checkDB from site, found nothing. This has me stumped. I would appreciate any feedback

  5. Gents, never seen this error before. While accepting pireps in the admin panel getting error messages, pireps are going through, just don't understand the message. Don't know if it is a server or site issue.

    Fatal error:Allowed memory size of 18874368 bytes exhausted (tried to allocate bytes)

    in /hermes/bosweb26d/b2649/ipg.usavamcnet/vsac/core/common/StatsData.class.php

    on line 183

    This is another message on a different pirep....they are going through all the to VA central?

    Fatal error: Allowed memory size of 18874368 bytes exhausted (tried to allocate 52 bytes) in /hermes/bosweb26d/b2649/ipg.usavamcnet/vsac/core/classes/ezdb/ezdb_mysql.class.php on line 273

  6. Recently we had a recruiting drive that netted us 22 new members, of them 8, never got out of the gate [Never made a flight] so after 72 hours if they fail to report for duty, we drop them from the roster. Now I can understand taking a hit at VA Central for deleting inactive members who have contributed to the program and just moved on. But we lost two slots for deleting pilots who never contributed a single flight? I thought I understood the formula but this has me puzzled. If we want to maintain our ranking, does this mean you never delete pilots whether they have contributed or not?

  7. It's good to see VA Central back up and running. I couldn't find a VA Central heading to post this question. I noticed my logo image is missing on one of my accounts, tried to re-upload but its not excepting the images or any other images I try and upload. Also I deleted an old account, but it still shows up on the airline list. Is this something that changes when the stats update?

  8. Gents I have four sites on two servers, never had an install issue until going for my fifth. I run the installer, but the Check database connection does nothing, so if I go to Next, I get this error. I have changed the database twice and replaced the whole installation twice, still get this error. I would appreciate any help with this.

    Installing the tables...

    Fatal error: Uncaught <blockquote><font face=arial size=2 color=000099><b>Last Error --</b> [<font color=000000><b>Lost connection to MySQL server at 'reading initial communication packet', system error: 111 (2013)</b></font>]<br />[<font color=000000><b></b></font>]</font><p> </blockquote><hr noshade color=dddddd size=1> thrown in /hermes/bosweb/web121/b1216/ipg.americavaus/paav/core/classes/ezdb/ezdb_mysql.class.php on line 99

    [solved]

  9. Is the URL correct in your vacentral profile?

    Nabeel, I have three VA's registered with VA Central, one of them does not show on the live map, although all the pireps do register and show. I have checked the URL and its correct. Side question, this was brought to my attention as I never pay much attention to pireps. I have been asked why all my pireps indicate a zero landing rate. I realize this is probably an FS Products question, but whether I use the kacars_free or my custom Kacars I always register a zero landing rate. Not a big deal but my crew thinks I'm a great pilot *grin*. No one on any of my site are this lucky, just me and I know better. Have any clue?

  10. The problem is the amount of resources available to scripts in your shared server, there is just too many sites fighting for resources.

    If you need help setting up on a new box im now in for the rest of the night and off work tomorrow.

    Mark, I would like to chat with you. if you could provide me an email address please send to dezaleski@optimum.net. I don't want to drag this out on the forum, I always seem to get myself in trouble if I hang around here to long.

  11. 10k!? Holy cow!

    If you're moving your site, before you actually move anything, you need to do a few things (if you're also moving your domain to point to a new server)

    - Set your domain's DNS TTL down to 5 minutes. Wait 24 hours for that change to propagate.

    - During that 24 hours you can move your files over.

    - Backup your site. Shut down the old site with a "moving" message. You might want to include "if you see this page, update your DNS since you're pointing to the old server"

    - Change DNS/nameservers to the new host

    - Wait 5 minutes, move your database over, as well as any files that may have changed

    - Open your new site,

    - Change TTL values back to the defaults/recommended

    That should hopefully minimize your downtime. If your usage is high, I'd highly recommend going with a managed VPS provider; you'll like have the same issues on another shared host

    1:00pm update: Got off the phone with server tech. He suggest that I optimize my tables, is this the same feature built into the admin panel under the maintenance settings? or is this something I need to do on the server itself?

  12. 10k!? Holy cow!

    If you're moving your site, before you actually move anything, you need to do a few things (if you're also moving your domain to point to a new server)

    - Set your domain's DNS TTL down to 5 minutes. Wait 24 hours for that change to propagate.

    - During that 24 hours you can move your files over.

    - Backup your site. Shut down the old site with a "moving" message. You might want to include "if you see this page, update your DNS since you're pointing to the old server"

    - Change DNS/nameservers to the new host

    - Wait 5 minutes, move your database over, as well as any files that may have changed

    - Open your new site,

    - Change TTL values back to the defaults/recommended

    That should hopefully minimize your downtime. If your usage is high, I'd highly recommend going with a managed VPS provider; you'll like have the same issues on another shared host

    Gents, I appreciate the response from all of you. usavamc.com has been on this server since July 2010 and we have been very active as our rating at VA Central is 24. We never had an issue. I just added the American Airlines Lite just a couple weeks ago to the same account. So between the two, seems to be the issue. We were about to consolidate members of USAvAMC to our USAvSAC account on iPAge and remove that account all together (AMC) the AVAL account was going to remain on this server, but I can move it two a separate account on iPage. When this aired last weekend it attracted 84 members in three days but only 22 have actually become active.

    All your suggestions are understood, but I'm not experienced in what your suggesting I do. I have been doing static sites for years and only got into php with the advent of phpvms a couple years ago. So at the moment I stuck between a rock and a hard place. But whatever I do I will have to do soon. I have notified members of both site not to use their kacars until further notice. The sites are back up but they are expecting me to correct the problem. I can't remove the action.php this is paramont to destroying the sites. So I'm on the way to my server.

  13. Action.php is one of the main files for phpVMS, put simply, without it phpvms will not run.

    The file defines the modules path and the config files, also teh location of teh skins files so that file is used on every call which is why your host is complaining.

    Quite simply get a new host, if they are complaining about usage then the servers are over crowded and you are being restricted far too much to compensate for other sites on your server.

    I have an unused server. I can move the AVAL site to the other server but have no clue how to back up the database and move it ( I can back it up, but not re-install it) the other server is iPage.com I have two sepprate accounts on that server. At the moment they have reactivated the account but shut down the CGI functions. What a nightmare.

    • Like 1
  14. Gents when I got in from work this morning I was notified by my server Powweb.com that my service for two phpvms websites was suspended. This is the email:

    I just recently added the aval site to the server the phpvms site has been running for a year with no issues. I was told here on the forums that you could have multiple phpvms accouts on a server. They in an attempt to reactivate these accounts their going to delete the action.php files. What are these files doing that is overloading a server that I have unlimited bandwidth with.

    Hello,

    We have noticed that the files '/aval//action.php/ ' and '/phpvms/action.php/' are causing server and network heavy load.

    The web server had to serve all those requests. Since that files are huge, each request was consuming a lot of outgoing bandwidth which means, the server was overloaded and hence, it could not serve other webpage requests. Hence, we have suspended website and CGI functionality for your account.

    You need to delete all the loading files so that server load can be reduced. Please look into this and take relevant actions, so that the files from your web directory will not overload our servers.

    Please reply to this email with the resolution, so that we can assist you further.

    Sincerely,

    Rita Pena

    Support Specialist

    03:00 Update

    Hello,

    Thank you for contacting support.

    Per your request, I have unsuspended the website and CGI functionality for your account 'bluemax'. Please take necessary action which we have mentioned in the previous email.

    We do apologize for any inconvenience, as we do appreciate your business.

    If you have any further questions, please update the Support Console.

    Sincerely,

    Samuel Kim

    Support Specialist

  15. See if it's working now. Today was the first time I've been online in a while, and someone reminded me that it was happening. I completely forgot - I've had a lot on my plate lately. Let me know if it's working now

    Nabeel, I appreciate the fix and I'm sure many others are also. I'm not going to retract my comments as Tom and Jon below are prime examples of what I'm referring to. I'm totally aware of the freeware status of phpvms. I spend a lot of time constructively going through threads learning and understanding the interworking of the program, as I mentioned several month ago I'm working on an advanced section for "Phpvms for Dummies - Advanced guide for beginners" to address many of the issues beginners are experiencing when something goes wrong. It is during this research is where I read the abusive diatribe of of crap that is dished out by some members. Its one thing to offer constructive help, its another thing to berate and put people down, treating them like fools, idiots or just plain stupid. I'm not intimidated by those people and I will contribute and do so all the time and I will speak my peace when I see members mistreated. I understand you have a lot on your plate, this is the whole function of these forums to relieve some of the Burdon off you. But it isn't working for everyone, just for a few. Again, thanks for the assist.

  16. I tell you what Bluemax,

    Go and pay for a virtual airline system where you can get 24/7 support. This is a free system, nobody has to respond to your posts immediately because you have payed for it. Nabeel spends his own time on this not relaxing in the sun. Just think at the end of the day we all owe a lot to Nabeel for everything. Be grateful that you have the opportunity to use this amazing software.

    Jon

    Nabeel, doesn't need members like you to defend him or speak in his behalf, in my world this is referred to sucking up. Thank you Nabeel for correcting the problem. Jon, your part of the problem. You don't come here to help people, you come here to add your two cents. Problem has been corrected. There are several key people I have a lot of respect for and then there are members like you. I don't know what you have contributed to phpvms lately. With my lack of knowledge I still managed to provide the document center with a guide for beginners called "Phpvms for Dummies" and I'm contacted all the time to help beginners, what do you do for biginners?

  17. I'm not going to quote it properly because it's a ridiculous post and I hope it gets deleted or censored or something.

    Don't be so selfish and inconsiderate! My gosh! I wish the negative button was here just for this post and I could use all 5 of my daily allowance.

    You talk about lack of patients (assuming you actually mean patience) - well, have some patience yourself Rather hypocritical...

    Your issue is one only one person can solve. Guess what; I had an issue only he could solve, I posted that almost a month ago, it's still not fixed. See me storming around having a good old rage at everyone else? No. So shut up and wait.

    On a somewhat related note, It always amuses me when people write 'so ban me...' - it's just provoking a response. You say you don't care but boy do you...

    Its the self righteous pompous twit like you I'm referring too. Butt out and find some other sap to poke. I read some of your comments in post, you don't help anyone you just lecture people. My post ran for over two weeks without a single hit and now you have something to say? Please, spare me your nonsense.

  18. all issiues with va-central need to be revieuwd by Nabeel himself as we don't have acces to his servers.

    as you know nabeel took a cut in phpvms to get some rest and time to fully develop in reallive.

    secondly on my large screen the vacentral forum is on the upmost bottom and i need to scroll down so most members i think don't even scroll down.

    SO AGAIN THIS IS SOMETHING NABEEL NEEDS TO LOOK AT AND NOT THE REST

    SO WAIT UNTILL NABEEL OFFERS A SOLUTION

    Joeri, I can appreciate Nabeel is on sabbatical so to speak, but it is he that responded to the other threads with the comments about corrupt images or setting your cookies. So he is viewing the forums. I don't know what the issue these fellows in the other threads are having , but they received the same error message I received. I don't have cookie issues nor do I have corrupt images. I removed mine long enough to fix the contrast and couldn't upload it. Presently you can not upload any images.

  19. This question is not and has not been addressed. I posted mine on the 9-22-11, others threads are a lot earlier than this. I didn't get one single response There are three separate threads regarding uploading images to VA central..........and no it is not an issue with corrupt images nor is it a cookie issue...its just being ignored and blown off.

    This is paramount to the Obama White house, blame Bush, blame the Arab Spring, blame somebody, but don't fix the problem. If some of you who's so call in life is to monitor the forums for political correctness, please spare me your lectures I have had an ear full of it. I read a lot of the threads on these forums and I read the abuse dished out to frustrated members, those who are outside the inner circle of the phpvms elite, I would name them by name but I won't waste my time, you know who you are.

    You pick and choose who you wish to help, generally those in that inner circle get priority treatment and the rest of us basically fend for ourselves. I'm not speaking for myself, I'm speaking in behalf of a whole world of members. You just need to go outside the box and read some of the responses and ridicule members get while seeking help from these forums. You need to get over yourselves and except the fact that many, many members do not understand the inner working of phpvms and when they screw something up and need help they come here often in a panic only to have one of the elite read him the riot act because he didn't like the tone of the message.

    If you didn't want phpvms to be a public offering, why did you make it available to the VA community? There is no warning label that states this is to be used PHP gaurs only. Some of you I know and have respect for, but there are some who are like the grade school bullies who enjoy pushing peoples buttons to provoke a reaction to respond to.

    I know this as I have experienced it first hand on several occasions. Just for the record, I'm not frustrated, I'm just annoyed ( For choice of a better word) at the treatment of lesser members that come too these forums. Just go and read some of the responses (Or no responses) to questions and issues presented by members, you can't make this stuff up. I may be in my middle 60's but I know the difference between what's right and just and what is wrong and unjust. The lack of tolerance, understanding and patients is often overwhelming. There is enough stress in today's world without having to be lectured by self righteous pompous twits while seeking help. You may not like what I have to say or how I say it (Or anyone else for that matter) but it doesn't diminish that fact, this is not a user friendly forum unless you are connected. So ban me, what do I care............the original post was never viewed and this will never be viewed...but I got it out of my system.

×
×
  • Create New...