Jump to content

KnightAviation

Members
  • Posts

    24
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by KnightAviation

  1. That's great thanks! The version is just saying 7.0.0-dev when you click on it so not much help. I'll get the updated version uploaded and see if that resolves the issues and then upload the logs if it doesn't. In the meantime i'll fix those pirep errors
  2. The saga continues.. 😁 We've managed to restore the site back to the install we did around November 2021 and everything that worked before still does with no data loss. (That's the good news.) I can't see anywhere that contains a version number other than 7.0.0-dev. I suspect it's the one prior to +220307.00bf18. I've installed Version v3.0.19 of disposible basic as suggested but i'm still getting "500 : SERVER ERROR" on some pages: /dfleet /dhubs/ICAO * (/dhubs itself works fine and lists the active hubs - it's only when clicking on the ICAO url link for the particular hub that the error occurs). * the airport pages also work showing the metar, map, and departure/arrivals. /dstats * main page loads but the links to the "top airports" return the "500 : SERVER ERROR". * the buttons under "General Statistics" to change the "pilot month" etc do nothing. So... some thoughts on where I might have gone wrong: Given the install date/version of phpvms itself, do I perhaps need to use an even earlier version? Have I failed to do something in the setup of the module itself that's causing it to look in the wrong places? I only installed "disposable basic"... do some of the above dependencies require the extended module installed too? I have installed the files for "disposable theme" but we don't use that, I'm using a clone of "default" as you previously advised. (as a side note, when I did try to switch to your theme I got the "something went terribly wrong" page... perhaps that might be useful information with regards the other bits?) I doubt this bit is relevant but the health check in the admin module shows: * 343 Pireps associated with MISSING aircraft <-- fairly sure this is because we wiped the fleet and started again * 2275 Acars data entries associated with MISSING pireps <-- no idea on that one! Thanks again for your time and patience!
  3. Thanks for that info.. will have a look at the older versions once we get the site working again! Thankfully I did do a backup of all the pages I've edited. Unfortunately I didn't know that we couldn't run PHP8 myself until after I'd tried to update. This evening's task is a re-install of the previous version after which I can delve into github and find the previous version of your very useful widgets etc. Every day's a school day as they say!
  4. Sadly the latest version requires PHP8 and it can't be installed onto the server we use so looks like we're stuck with the older version unless you're aware of a work-around? As it stands, the only think that isn't working is the link to dfleet.
  5. That all makes sense, thank you!
  6. As our web guru seems to be taking something of a hiatus at the moment, I'm just checking what files I *need* to update to bring our version up to the current release. I'm assuming (maybe wrongly) that I don't need to do anything to the resources/views/default folder and it's just all the background stuff that needs over-writing?
  7. Thanks again. I'll put some thoughts together as to search features on the development forum.
  8. Thank you, it was worth an ask. Is it possible to add something to the search blade so that you can look for flights departing within a certain time instead? For example, in the next 1 hour, 2 hours, 4 hours? I tried searching for an example code via google but nothing seemed to be suitable.
  9. Is there any way to change the order that the flight cards appear on the flights page. By default it orders them by the flight number but I'd like to change that so it orders them by the departure time. I'm assuming it's part of the code in the "table.blade.php" file. I did try to amend: <a class="text-c" href="{{ route('frontend.flights.show', [$flight->id]) }}"> to: <a class="text-c" href="{{ route('frontend.flights.show', [$flight->dep_time]) }}"> but that doesn't appear to work.
  10. I know it's not the done thing to bump a thread this old but it had no replies and I have the same question. This used to be a feature of the old version of phpVMS and would be worth bringing back if that's possible?
  11. You can add the pilot client to the downloads page. Add the file to wherever you store the other downloads (or a subfolder) then go to the "airlines" tab in the admin section of phpVMS and do something like this: The bottom 3 boxes are where you add the file: File Name / File Description / URL to file After filling in those boxes, click save. You may want to upload that Segoe Font Pack too as users on Windows 7 will need to manually install that for the ACARS icons to appear.
  12. I'm using your pack from 30th Nov: I suspect that we're using a VMS install from prior to that. I'll update phpVMS first and then see what happens. Thanks for your help!
  13. Thanks for the quick reply! I'd already run the clear cache so I think the module is installed ok - i'm certainly getting module admin link/page in the admin dashboard for editing all the aircraft specs etc. The first line of the lavarel log from just after midnight states: I suspect this is more me not adding in a file / link properly than anything wrong with module(s) #NewbieErrors The following is what i've added to the nav.blade file: <li class="nav-item"> <a class="nav-link" href="{{ route('DBasic.ranks') }}"> <i class="fab fa-avianex"></i> <p>{{ trans_choice('ranks', 2) }}</p> </a> </li> <li class="nav-item"> <a class="nav-link" href="{{ route('DBasic.hubs') }}"> <i class="fab fa-avianex"></i> <p>{{ trans_choice('hubs', 2) }}</p> </a> </li> <li class="nav-item"> <a class="nav-link" href="{{ route('DBasic.stats') }}"> <i class="fab fa-avianex"></i> <p>{{ trans_choice('stats', 2) }}</p> </a> </li> Perhaps i've missed something here? I've just clicked on all the links that are currently showing 500 Server Error and the "LAVAREL LOG" shows: [2022-02-24 07:47:03] production.ERROR: Call to undefined relationship [airline] on model [App\Models\Aircraft]. {"userId":1,"exception":"[object] (Illuminate\\Database\\Eloquent\\RelationNotFoundException(code: 0): Call to undefined relationship [airline] on model [App\\Models\\Aircraft]. at /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/RelationNotFoundException.php:34) [stacktrace] #0 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(669): Illuminate\\Database\\Eloquent\\RelationNotFoundException::make(Object(App\\Models\\Aircraft), 'airline') #1 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Relation.php(99): Illuminate\\Database\\Eloquent\\Builder->Illuminate\\Database\\Eloquent\\{closure}() #2 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(671): Illuminate\\Database\\Eloquent\\Relations\\Relation::noConstraints(Object(Closure)) #3 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(639): Illuminate\\Database\\Eloquent\\Builder->getRelation('airline') #4 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(619): Illuminate\\Database\\Eloquent\\Builder->eagerLoadRelation(Array, 'airline', Object(Closure)) #5 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(587): Illuminate\\Database\\Eloquent\\Builder->eagerLoadRelations(Array) #6 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Relation.php(188): Illuminate\\Database\\Eloquent\\Builder->get(Array) #7 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Relations/Relation.php(153): Illuminate\\Database\\Eloquent\\Relations\\Relation->get() #8 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(650): Illuminate\\Database\\Eloquent\\Relations\\Relation->getEager() #9 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(619): Illuminate\\Database\\Eloquent\\Builder->eagerLoadRelation(Array, 'aircraft', Object(Closure)) #10 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(587): Illuminate\\Database\\Eloquent\\Builder->eagerLoadRelations(Array) #11 /var/www/vhosts/knightair.co.uk/httpdocs/modules/DisposableBasic/Http/Controllers/DB_AirlineController.php(85): Illuminate\\Database\\Eloquent\\Builder->get() #12 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): Modules\\DisposableBasic\\Http\\Controllers\\DB_AirlineController->show('KTF') #13 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(45): Illuminate\\Routing\\Controller->callAction('show', Array) #14 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Route.php(254): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(Modules\\DisposableBasic\\Http\\Controllers\\DB_AirlineController), 'show') #15 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Route.php(197): Illuminate\\Routing\\Route->runController() #16 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(695): Illuminate\\Routing\\Route->run() #17 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request)) #18 /var/www/vhosts/knightair.co.uk/httpdocs/app/Http/Middleware/SetActiveTheme.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #19 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\\Http\\Middleware\\SetActiveTheme->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #20 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #21 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #22 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(44): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #23 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #24 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #25 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #26 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #27 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure)) #28 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #29 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #30 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #31 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #32 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #33 /var/www/vhosts/knightair.co.uk/httpdocs/app/Http/Middleware/InstalledCheck.php(29): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #34 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\\Http\\Middleware\\InstalledCheck->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #35 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #36 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(697): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #37 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(672): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request)) #38 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(636): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route)) #39 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(625): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request)) #40 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(166): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request)) #41 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request)) #42 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php(60): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #43 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Barryvdh\\Debugbar\\Middleware\\InjectDebugbar->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #44 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #45 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #46 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #47 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #48 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #49 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #50 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #51 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #52 /var/www/vhosts/knightair.co.uk/httpdocs/app/Http/Middleware/TrustProxies.php(38): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #53 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure)) #54 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request)) #55 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(141): Illuminate\\Pipeline\\Pipeline->then(Object(Closure)) #56 /var/www/vhosts/knightair.co.uk/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #57 /var/www/vhosts/knightair.co.uk/httpdocs/public/index.php(59): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #58 {main} "}
  14. Hoping somebody can help here... I've installed a few pages from DB pack which are all showing correctly but I'm struggling to get the next follow on pages which are returning "500" errors. In the "nav.blade" file i've placed the following which all show correctly: DBasic.hubs /dhubs DBasic.stats /dstats Do I need to add the sub directories somewhere, and maybe do another step? dhubs/EGSS (or any other ICAO) is showing as the link on the hubs page but returns to "500" error when clicking on the orange hub name in the hubs page. (airports/EGSS works fine by the way) /dstats returns the "500" error when clicking on any of the airline names. Thanks in advance! EDIT: Topic moved to correct forum. There is a dedicated forum for Disposable Addons. Please post support inquiries for Disposable Addons in this forum.
  15. That fixed it! Thank you Will include that in our downloads for anyone else that has an issue.
  16. It's running on Windows 7... the program itself works fine from what I can see, its just those icons that don't display. Interestingly, I did try to run it remotely on the win10 machine but get "This app can't run on your PC" error message.
  17. Non of the taskbar icons in ACARS are displaying. Is it something i've missed in the setup or is the latest version missing an icons folder? From the installation page, this is what it should look like but, apart from the top icon (3 bars), I just have blank grey boxes.
  18. Yes it's the cost per hour and cost delay bits that don't save. The time-out only occurs when I try to upload a file from within phpvms admin, i can upload via ftp just fine. There are no restrictions on the server limit. I've tried the same URL structure as your example, it still can't find the files..... i'm wondering if i've maybe done something wrong in the initial setup? I think we've installed the beta version as we couldn't download the DEV one. I've since been able to get it so may try overwriting the files to see if it makes any difference.
  19. That's given a place to start looking at least.
  20. That is the exact method I used. As I said, i can get a default SVG file to display in a browser using that 2nd url structure but the PNG file in the same folder location won't display.
  21. Trying to upload a .zip file for an aircraft from the bottom of the subfleet page but it keeps timing out. Any thoughts? I've tried uploading the file with FTP but it won't recognise the URL either. Also, it won't save the operating costs.
  22. Which folder to images need to be uploaded to so that they can be used in the "add page" section. I can get a default svg file to display but nothing else seems to work. I've tried uploading the image to public/assets/img/image.png - all i get is the "well this is embarrassing" message when I try to put the address into the browser. I've used the same address protocol as displayed by opening "logo_blue_bg" in its own tab as that displays fine, but nothing I've uploaded will display.
  23. Hello all, Could anyone explain, at a dummies guide level, how I can go about adding an image to the landing page about the navbar and tell me how to change the default blue in the navbar and icons to a different colour? Thanks!
×
×
  • Create New...