Jump to content

bbuske

Members
  • Posts

    50
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by bbuske

  1. Hi @Nabeel,

    I am able to reproduce the error and I found a solution for it.

    By default, when you open the manual PIREP form, there are no required fields. In our case the issue was the aircraft field. By default, when you load the PIREP form, it will show all fields blank, including the aircraft field. In this particular case, we had saved the PIREP before assigning an aircraft to it, just leaving the field blank. The result was that a NULL entry in the database was created for aircraft ID. When we tried to edit the PIREP the Ooops something went wrong message came up as a PHP error was generated.

    Logging into phpMyAdmin, manually changing the NULL value to any valid aircraft ID makes the EDIT form come up normally and without an error. I could imagine that the error would occur as well if other fields were left empty and get assigned NULL as a result. 

    My suggestion would be to either mark those fields as required, hence preventing a PIREP to be saved without all required information entered first, or have the fields contain some kind of default value, which is accepted by the database. In the case of Aircraft maybe something like "Please select Aircraft" which is assigned ID 1... or possibly as a third option, go ahead and change the mySQL table in such a way, that the value NULL is accepted and no longer causing an error.

    I hope this helps you.

    Cheers

  2. You can use most ACARS software around with X-Plane. Even kACARS or smartCARS, as long as you XPIUPC. Hence my question was if this will be without the requirement of FSUIPC / XPIUPC because XPIUPC is no longer maintained and not running on Linux and Mac systems.

  3. On 7/17/2019 at 7:55 AM, Nabeel said:

    In v7, there is a read-only mode which is active after it's been accepted/rejected or cancelled. It can still be edited beforehand, in case there's some additions that need to be added - mainly custom fields or pax/cargo counts which may not get filled in through ACARS

    Still, when pilots try to edit a PIREP after sending it or even saving it, a PHP error shows up and it says Ooops something went wrong.

    It would be nice to disable that option so it doesn't appear or to let the pilot know he is not allowed to edit a PIREP. That error message doesn't look nice.. :P

     

  4. 23 hours ago, Heritage1 said:

    Nope, its all about the CSV file, and the import Format. Hence several Spreadsheet programs do not format the csv file the right way(without getting into guru stuff). Thus, phpvms will not import the file if its not in the proper Format for a CSV. This has been going on for Years. There are 2 programs that I've found that work well for this for saving in a CSV format, and they are Free.

    Kingsoft Office and LibreOffice 6.2, 

    Microsoft Office or any related Microsoft spreadsheet such as Excel, will NOT Work with Phpvms. Been there, done it , seen it. Do NOT MESS with the php.ini file, unless you are 100% sure you Know what your doing, you can mess up the entire Server in doing so. It is NOT the Server, (sorry ProAvia), it is the CSV format , period. As mentioned, this has actually happened to me just Today, with my Fleet, so I tried a different Spreadsheet, (LibreOffice), hence the import of the Fleet CSV file was successful. This is a hit or miss, there are many Free Good Spreadsheet programs out there, hope this helps.

     

    Thanks for your reply. But I doubt that is the case. 

    As I said in one of my replies, it has nothing to do with the CSV files, since I cannot add a schedule manually either. It says the flight has been added, but it is not stored in the database. The same what happens with the CSV. I have the same problem with importing aircraft, but here adding them manually works, hence yes - it has something to do with the CSV. But the routes issue must be a different one, since it does not allow to add schedules manually either.

    7 hours ago, shakamonkey88 said:

    Have you tried running install/checkinstall.php ? It might throw up some possibilities why. Also might be worth enabling the error log, trying to enter a schedule (manually) and see what gets written to the error log. It might be worth doing that before attempting all the suggestions here.

    The fact that you say you can't even add them manully makes me think it goes further than just an issue with a CSV file. If you want, PM some details and I'll have a closer look into it for you?

    That is what I was thinking. I don't think I have the error logs enabled but the fact it doesn't allow adding manually either, points to a different issue, not related to the CSV.

    PM me with what information you need and I will get you set up.

  5. Hi,

    I am using 5.5.2.

    I got the file from airlineschedules.com specificly for phpvms5. I have opened the file with Kate. A text editor for Linux with coding abilities.

    One thing though, I stand corrected... If I try to add a schedule manually, it says the schedule has been added successfully but it does not show up in the list. With aircraft the problem is similar but not the same. I had issues, importing the aircraft from the csv file but I was able to add the aircraft manually. I got not only the message that the aircraft was successfully added but it also appears in the database as it should be. With the schedules it does not. It says it has been added successfully but it is not added to the database.

    I have downloaded and brand new copy of the csv file without opening it and I still can't add it. Even if I use the schedule template csv, add a route or two to it and import it, it is not working. It does not look like an issue with the csv. The issue must be elsewhere, otherwise using the phpvms template or at least adding a flight manually should be working.

    Cheers

  6. 22 minutes ago, ProAvia said:

    Version of phpVMS?

    Version of PHP?

    Is this a csv you did yourself or did you get it elsewhere? Have you opened the csv with any other programs?

    5.5... I think it is. The latest of phpvms5.

    I am using PHP 5.6, but I can also use 7.0. The issue remains.

    It is a copy I get elsewhere. Whether I open it or not does not change the fact that it imports fine but. I even get a message that the import was successful, but nothing shows up.

    I have tried adding aircraft manually which worked. I then exported the csv, deleted the aircraft I added and tried to re-import the same csv I exported before. The same issue. I get a message that the import was successful but nothing shows up.

    Cheers

     

  7. Hi,

    I got a csv with all out schedules. When I import it, it is being processed and the routes are added normally. I can see no errors. However, afterwards no schedules are showing up and they are not added to the database either. Adding a schedule manually works just fine though.

    Any idea what is causing this and how I can fix it?

  8. Hello,

    when people try to edit a PIREP after they have sent it, an error is coming up about a missing function.

    While this would be nice to work, editing PIREPs is not really necessary anyway. So I wonder if there is an option to disable it somewhere. I know there was an app.config file in V5 but I have not found something similar in V7.

    Any help is appreciated.

    Cheers

  9. Same issue here.

    Unzipping into the default phpvms directory allows for the installer to run. Software works fine.

    However, if you rename the folder afterwards, even when changing the path in the config, only the main page will work. Once you click on a link, you get a 404 again. I have no clue what is causing it. I have solved the issue by creating a subdomain named http://crew.myvirtualairline.org and redirect it to the phpvms directory. This way using the subdomain works. I would be interested in knowing if there is any other way to this.

    Cheers

  10. Hi,

    how do you change the install location of phpvms 7?

    It appears that every attempt to change the folder name or extract the folder to the root directory makes the page for the installer load up fine, but clicking on Install results in a file not found error.

    I have extracted to phpvms. Renamed the folder to crew. Then I have gone and changed the location in the config file. I visit the page. The installer page comes up. I click on install and I get a file not found error. If I install in phpvms and change the name after install (and the configuration to reflect the new location) the front page comes up fine. But clicking on any link results in a 404 error as well.

    Any ideas?

    Cheers

  11. Yes, I am using the default admin panel.

    Importing schedules from a csv is not working nor is entering them manually. I did a reinstall as well, but it did not work. The issue has not been fixed, though some other problems I had have been resolved.

    I have not tried entering the route directly into the database. I know it can be done with phpmyadmin, but I have not really a lot of experience with it, so I would not know how to do that.

  12. Hello,

    I am trying to enter routes / schedules. After providing all the information, it says the flight with flight number, etc. has been saved successfully. However, the flight does not appear in the schedules section.

    Also, I have noticed that I can add manually aircraft just fine. When I am trying to import them from a file, it lists all the aircraft and says the import was successful. However, they do not appear on the list of aircraft later on. What am I missing?

  13. I have been looking into the logs again and found the reason for the error:

    [2019-01-05 02:30:56] local.ERROR: Trying to get property of non-object (View: /home/afklmva/public_html/phpvms/resources/views/layouts/default/profile/index.blade.php) {"userId":1,"email":"benjamin.buske@gmail.com","exception":"[object] (ErrorException(code: 0): Trying to get property of non-object (View: /home/afklmva/public_html/phpvms/resources/views/layouts/default/profile/index.blade.php) at /home/afklmva/public_html/phpvms/storage/framework/views/a879d1643af635b1b4d693f9c2ec574bd60db875.php:16, ErrorException(code: 0): Trying to get property of non-object at /home/afklmva/public_html/phpvms/storage/framework/views/a879d1643af635b1b4d693f9c2ec574bd60db875.php:16)
    [stacktrace]

    However, I have no idea how to fix it or what is causing it, other than apparently the object doesn't exist.

  14. On 12/30/2018 at 6:42 AM, LeonardIGO4036 said:

    Hi 

    I'm sorry that you had to wait this long, I was away for a while. 

    Do you have the latest version of the skin?  

    Are you running in phpVMS 5.5 2? 

    Did you overwrite anything? 

    The error says that phpvms was unable to locate header.tpl and footer.tpl.

    That's weird because both of those files for this skin are named as app_top.php, app_sidebar.php and app_bottom.php. 

    So somewhere within your phpVMS, the software. Is trying to load a different layout.php file, can you check if the layout file in the lib>skins>iCrewLITE folder is specific to the iCrew LITE format? (Should include atleast the word iCrew that page in some point, else it's the crystal skin's one. 

    Hi,

    happy new year. No worries.

    I have been using phpVMS 5.5.2 indeed.

    I have also checked the layout file layout.php. It is in the skins/iCrewLITE folder and it does seem to contain the correct paths. There are several paths in it, all containing iCrewLite.

×
×
  • Create New...