Jump to content

DisposableHero

Members
  • Posts

    769
  • Joined

  • Last visited

  • Days Won

    124

Everything posted by DisposableHero

  1. Yeah, if you are on a newer latest dev build, you may try installing Disposable Theme v3 directly. At least you will have something working in your hands, of course it will not reflect your va colors or logo images etc but we will be sure that the core theme files are intact and ok. Then you can slowly work on it, by following duplicating procedure (explained in the readme and here at the forum), you can have your own copy of DT v3, edit only the pages you need, have your own stylesheet for coloring etc. All this may be hard on a live server while your pilots are flying on it, but at least it will be better than having lots of errors around. Hope you figure this out, maybe you can send an email to all your pilots or a discord notification to stop flights for one/two hours while you are doing the update, installation of new theme and module pack etc. At least your logs will be clear, server will not be dealing with getting pirep updates / accepting them etc. Or you need to find a good time, maybe when all your pilots are sleeping You will be awake and working on the update. It is still not good to do all these on a live server but looks like you have no choice at the moment. If I were in your situation I would probably; 1. Stop all flights 2. Switch to default theme 3. Make a database backup 4. Clean cache manually (explained in docs, update section) 5. Update to latest dev build 6. Test if it is ok (with default theme, check every single page it offers) 7. Install Disposable Theme v3 (latest release) 8. Switch to it, check if it is working ok too 9. Have a duplicated theme based on DT v3 (explained in readme and here at forum) 10. Switch to it, check if it is ok too (no edits at this stage) 11. Install Disposable Basic Module v3 (latest release) and test 12. If all is ok, let pilots fly again, slowly work on the duplicated theme to have your va colors, background image etc back, one step at a time.
  2. Speak with your hosting service provider (hosting company) or if it is allowed in your hosting control panel, enable that php extension, re-start the install process. Also if intl extension is not available for php 8.1.1 (your current version) you can maybe switch to another php version through your control panel like php 8.0.xx or php 7.4.xx to see if it is available there. If you are on a VPS service, you can enable (or add) that extension from your php.ini Good luck
  3. Yeah the latest dev file is always named like that http://downloads.phpvms.net/phpvms-7.0.0-dev.zip or http://downloads.phpvms.net/phpvms-7.0.0-dev.tar.gz Both are same, always give you the latest development build. Hope you figure out the problems, and if you are suspecting illegal/unauthorized access to your files or server, control panel etc. first thing is to do is changing all your passwords (hosting control panel, ftp access, database passwords all together at the same time). And be sure only one person knows the latest ones (preferably you), do the updates, see everything working, take a backup from hosting control panel if possible. Then you can consider expanding the access to other users/admins if needed.
  4. Be advised; Disposable Basic and Disposable Theme v3 needs latest development build of phpvms v7, they will NOT work on older builds. And the installation / update from older Disposable Modules needs special care, which is explained in the readme. You need to do that update very, very carefully and step by step. Missing one step may cause terrible results. https://github.com/FatihKoz/DisposableBasic#readme https://github.com/FatihKoz/DisposableTheme#readme
  5. Unfortunately no, there is no easy way of doing that in phpvms v7. However, Disposable Basic (the new module pack I released instead of the old ones) + Disposable Theme v3 offers a pre defined solution for that. With Disposable Basic, you get 3 additional pages; roster, stats and one empty page for you to customize with widgets like LiveMap which can be used to show/display data at your main domain (with html/iframe). These pages will have no logo, background image or menu items. They are suitable for iframe usage at your landing pages (or main sites) /dp_roster // Pilot roster /dp_stats // Statistics /dp_page // Empty page in which you can place widgets like Flight Board etc as per your needs Check my landing page to see the result https://turksim.org , that info comes from my phpvms v7 with the background system Disposable Basic offers. For example you can change the Top Pilots with the Live Map etc. Good luck.
  6. Hi @nicky9499 However, the local files that I uploaded are from an archive named phpvms-7.0.0-beta.3.zip. This is a really clear indication that you are using beta.3 Which is really not good 'cause lots of things changed since that file is released for download. I mean, we call beta.4 old and it is marked by the developer himself as "DO NOT USE", so you are using something older. If you have uploaded something different while using v7, that file may be misleading. What we can do now is, checking some changes visually maybe and try being sure about the version you have. 1. Go to admin side, left side at the bottom you will see "version 7.0.0-dev" text, clicking on it opens up a popup with the full version. 2. While you are at admin, please check if you have "addons/modules" and "type ratings" links under config section According to your laravel log, you are using vmsAcars and up to my knowledge it is not compatible with beta.3 or beta.4 fully. So you may be using a much newer version than you imagine (or worst you are trying to use something not designed for beta.3/4 at all) Again according to your logs, you are using an old version of Disposable Theme (v2), beside this info you have some errors about your ranks which is recorded. [2022-01-24 16:21:00] production.ERROR: Trying to get property 'image_url' of non-object (View: /home/singap08/public_html/beta/resources/views/layouts/Disposable_v2/users/table.blade.php) That "image_url" comes from the rank of a user, which I assume is deleted somehow and not there anymore. But a user is still at that rank (defined manually maybe or you forgot to fix your user ranks when you edited your ranks etc). You also have other errors with the api interface regarding pirep filing. Again another error regarding users [2022-01-24 14:35:18] production.ERROR: Undefined variable: fielsdsdd (View: /home/singap08/public_html/beta/resources/views/layouts/Disposable_v2/users/table.blade.php) This is most probably something you added during editing things 'cause I do not recall using something like "fieldsdsdd" in that file. [2022-01-24 14:36:51] production.ERROR: View [pagination.jjdefault] not found. (View: /home/singap08/public_html/beta/resources/views/layouts/Disposable_v2/users/index.blade.php) This is again something not from Disposable Theme v2 "pagination.jjdefault". [2022-01-24 15:01:21] production.ERROR: Method App\Http\Controllers\Frontend\UserController::index does not exist. [2022-01-24 15:09:16] production.ERROR: Call to undefined method Illuminate\Database\Eloquent\Builder::psaginate() [2022-01-24 15:09:49] production.ERROR: syntax error, unexpected 'return' (T_RETURN) {"exception":"[object] (ParseError(code: 0): syntax error, unexpected 'return' (T_RETURN) at /home/singap08/public_html/beta/app/Http/Controllers/Frontend/UserController.php:54) [2022-01-24 15:32:37] production.ERROR: Order direction must be "asc" or "desc". {"userId":782,"exception":"[object] (InvalidArgumentException(code: 0): Order direction must be \"asc\" or \"desc\". at /home/singap08/public_html/beta/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:1984) [2022-01-24 16:23:18] production.ERROR: Method App\Http\Controllers\Frontend\UserController::userRepo does not exist. {"userId":782,"exception":"[object] (BadMethodCallException(code: 0): Method App\\Http\\Controllers\\Frontend\\UserController::userRepo does not exist. at /home/singap08/public_html/beta/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:68) At this point I literally stopped checking your logs, sorry The way you are trying to do changes and edits on a live server while your pilots are flying on it, is not acceptable at all and with all those terrible edits you are trying (even it is not clear what you are trying to do), no one can help you. There are more errors in just one log (from 24th Jan) which you or some other admin is causing, any of them will lead to a 500 | Server Error and none of them are related to a user's ip or an ip block ! Same goes for your older logs from 22th and 23th Jan. So in short; Until you fix all those problems you caused (edits, deleted ranks, deleted airlines, missing airports etc) and provide a log with the error you mentioned while opening this topic it will be impossible to find the cause and help you to solve it. A friendly advise; None of my addons are compatible with beta.3/4, including the old theme and modules, they were designed for newer development versions. So to have a better view of what is going on, you can switch to the default theme and see if it works there. Another friendly advise; If you are using a newer development build, I highly suggest using theme v3 and new module pack (instead of the old ones) to get support when needed. Good luck and God speed.
  7. Well, @ProAvia or @Nabeel may help. They are both admins of phpVMS Discord and can check/remove bans. They are both at US, so you may wait for them to respond, it is midday there and they may be busy with daily stuff
  8. Technically you do not need to uninstall (or delete) for updating @Jbaltazar67 Only copy the module over the old one (from cpanel file manager or via ftp). Then visit your admin area, clean application cache Or to be safe, first visit /update (yourva.com/update) first, then visit /admin, whichever you prefer. Good luck
  9. Looks like your Disposable Basic module is not updated but your Disposable Theme tries to get a new stat (which is only available with updated Basic module) https://github.com/FatihKoz/DisposableBasic/releases Some time ago you had a problem with not updated Disposable Theme, now you are having a similar problem with the module itself I kindly advise you to always use the latest releases, if you need to stick with a fixed old version then you need to keep everything at same level (or at least track changes and manually disable them etc). Safe flights
  10. You should be using latest development edition. Beta3 is more than 2 years old, lots of things got changed since and I do not think that you can get support for beta.3 (or for beta.4) anymore. https://docs.phpvms.net/developers/addons Above link may give you a clue about how to add your own pages (through a module) but I am not sure that beta.3 or beta.4 do have support for modules fully. Good luck
  11. Probably your account was blocked during that incident, hope it gets solved.
  12. What does the actual error says @nicky9499 ? Would you mind checking your laravel logs and provide error details instead of that useless "500 | Server Error" image/screenshot. https://docs.phpvms.net/help https://docs.phpvms.net/help#information-required https://docs.phpvms.net/help#logs Many times (maybe more than 1000 times) we wrote/told/explained that without error details, no one can help you
  13. Thanks Hope your webmaster solves the problem and updates your theme soon.
  14. Nope, it should be visible without any widgets etc. Only thing needed is updating your theme (also if you are using a duplicated copy of it you may need to port over the latest changes to your copy too). Because I added that feature lately around 6/7 JAN, so you need the latest release probably to have it Best wishes and safe flights
  15. My pleasure. At least you learnt the importance of cache by the hard way (maybe the hardest way) around, you will never forget it again Congratulations, enjoy your mails (free for 3 months) with mailgun. By the way, API is the fastest and safest way to implement it, glad it worked as expected and you did not used the smtp solution. Have a nice day Addition; 2022 Jan / Academy award winner screenshot name "An important moment in the history"
  16. Well, I really have no idea why it fails @William, some guys tried the api setup it worked well and some other users of phpvms v7 are using mailgun with api too. I am not blaming you, there should be something blocking api access somewhere. Classic smtp settings should work, I mean it is basic mailing, works for every server, why it should fail at yours. You already have server, port, username, password etc for their smtp access. Just use the default SMTP example with that info. SMTP MAIL_MAILER=smtp MAIL_FROM_NAME='American Virtual' MAIL_FROM_ADDRESS='postmaster@americanva.org' MAIL_HOST=smtp.mailgun.org MAIL_PORT=587 MAIL_ENCRYPTION= MAIL_USERNAME='postmaster@americanva.org' MAIL_PASSWORD='that long password here' API MAIL_MAILER=mailgun MAILGUN_DOMAIN='americanva.org' MAILGUN_SECRET='that long api key here' I assume you are cleaning the application cache from admin > maintenance after doing changes to env.php and saving/uploading that file, failing or forgetting this step will cause problems. (technically until you clean the cache your old env.php will remain in effect and changes will not be applied)
  17. Found this from one of my old replies at Discord. So I think, yes only "americanva.org" and your api key (used as secret) will be ok and enough. Hope it helps.
  18. If API fails (I mean if we fail to set it up), we can switch to mailgun's SMTP and with a working cron (needs testing first) then we can enable queue for emails (which will eliminate the slowness of smtp) and again everything will be working
  19. As far as I know, mailgun api needs/uses guzzle (which we have already), so up to my understanding from their docs that line should be either `api.mailgun.net/v3/americanva.org` (without https://) or just `americanva.org` (without https:// and mailgun's standard api path). Hope you figure it out and this topic becomes sticky with the answer provided
  20. Thanks for your kind thoughts. Honestly, I never told that it would be easy Specially when you want to simulate things in detail, it will take time to setup and manage. Yeah, that mentioned module/addon is available and it allows admins to define almost everything needed for proper flight planning per fleet/aircraft configuration. Combined with nice subfleet and fare structures (needs admin work and time too) all matches up and works fine
  21. Are you really sure about that “domain” line ? It looks like a full url to me. url/uri : https://domain.com/something/ domain : domain.com
  22. Mailgun Secret is your mailgun API KEY, if you have a mailgun account you will find it there. And for the SMTP try, your main setting still remains as `mailgun` so it will fail as expected. MAIL_MAILER is the main/driver setting, if you want to try SMTP (either your own server or mailgun smtp) it should be MAIL_MAILER='SMTP' (or 'smtp') as per the docs. And after changing settings at env.php level, you should always clean application cache Otherwise your changes will be not be active. Good luck
  23. Yes it is. Examples are from Disposable Theme v3, the balance and details are visible only to the user and admins. Same thing can be done with any other theme, data needed (user model and all of its relationships like pireps, balance, journal transactions) is already there.
  24. My pleasure That trick is what I use when a plain csv is needed, works with all versions Hope you can use v7 for your VA and meets your needs. Good luck and God speed.
  25. Be advised; These templates are almost 4 years old, same applies to the link provided.
×
×
  • Create New...