Nacman
Members-
Posts
18 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Everything posted by Nacman
-
I am try to add additional text after the "private name" that produce the Pilot name in many of blades or widgets. I want to add "EAL" +pilot_id from the users table. For example, the Pilot Roster lists me as "Richard L" but I would like for it to show me as "Richard L - EAL102" adding the EAL plus pilot_id from the users table. If you show me how to do it to one blade I think I can figure it out... Thank tyou, -Richard aka Nacman @DisposableHero
-
Well, I wrote up something elsewhere about my findings. I was on PHP8.1 when it first worked a few days back. Then I switched to PHP8.2 I didnt correlate the email issue to the change in PHP versions. Switched back to PHP8.1 and emails all came out that hadn't come out before. Large queue was relieved. So then I dug deeper and saw some PDO error in the laravel log file un php8.2 but under php8.1 logs were virtuall absent of data, and no issues. So something up with PHP8.2, at least with my provider. The PDO error is interesting as that is the db driver to link php to mysql. Obviously since it failed, couldn't read the database. However, not sure how the site ran, unless they use a different funtion on certain housecleaning chores for emailing things out and mysqli for regular db calls. Just guessing. It will be a problem if/when laravel and phpvms only supports 8.2 and later. -NAc
-
I have a Navigraph Simbrief API, Stasrting to build my fleet and flight schedule. Can some one explain at a high level what that workflow looks like, do I need to create things over at simbrief that match something in phpvms, what does the piloit see and what does the pilot do to interact with all that? Do they need to be logged in to Simbrief so things happen accordingly....Trying to understand how to guide my pilots but I too am lost, hard to guide 🙂 -Nacman
-
I have been chasing down a reason my emails stopped going out the door. When I first set up the website, emails from News postings went out. We weren't flying yet. Then after a few days, no emails going out. Checked Logs in storage/logs and I didn't find anything that looked like email failure, quite the opposite, it said it sent 11 emails. But there was a PDO error Here is the snips of the log when running it on PHP.8.2 [2023-12-13 00:10:11] production.ERROR: Class "PDO" not found {"exception":"[object] (Error(code: 0): Class \"PDO\" not found at /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1718) [stacktrace] #0 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(265): Illuminate\\Database\\Connection::getResolver() #1 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(76): Illuminate\\Database\\Connectors\\ConnectionFactory->createConnection() #2 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Database/Connectors/ConnectionFactory.php(50): Illuminate\\Database\\Connectors\\ConnectionFactory->createSingleConnection() #3 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(152): Illuminate\\Database\\Connectors\\ConnectionFactory->make() #4 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(101): Illuminate\\Database\\DatabaseManager->makeConnection() #5 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Database/DatabaseServiceProvider.php(74): Illuminate\\Database\\DatabaseManager->connection() #6 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Container/Container.php(908): Illuminate\\Database\\DatabaseServiceProvider->Illuminate\\Database\\{closure}() #7 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Container/Container.php(795): Illuminate\\Container\\Container->build() #8 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(937): Illuminate\\Container\\Container->resolve() #9 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Container/Container.php(731): Illuminate\\Foundation\\Application->resolve() #10 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(922): Illuminate\\Container\\Container->make() #11 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Container/Container.php(1454): Illuminate\\Foundation\\Application->make() #12 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(239): Illuminate\\Container\\Container->offsetGet() #13 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(207): Illuminate\\Support\\Facades\\Facade::resolveFacadeInstance() #14 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(347): Illuminate\\Support\\Facades\\Facade::getFacadeRoot() #15 /home/eastgyuv/phpvms/app/Providers/AppServiceProvider.php(19): Illuminate\\Support\\Facades\\Facade::__callStatic() #16 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): App\\Providers\\AppServiceProvider->boot() #17 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}() #18 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure() #19 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod() #20 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Container/Container.php(662): Illuminate\\Container\\BoundMethod::call() #21 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1010): Illuminate\\Container\\Container->call() #22 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(991): Illuminate\\Foundation\\Application->bootProvider() #23 [internal function]: Illuminate\\Foundation\\Application->Illuminate\\Foundation\\{closure}() #24 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(992): array_walk() #25 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\\Foundation\\Application->boot() #26 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(261): Illuminate\\Foundation\\Bootstrap\\BootProviders->bootstrap() #27 /home/eastgyuv/phpvms/bootstrap/application.php(51): Illuminate\\Foundation\\Application->bootstrapWith() #28 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(447): application->bootstrapWith() #29 /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(199): Illuminate\\Foundation\\Console\\Kernel->bootstrap() #30 /home/eastgyuv/phpvms/bin/cron(25): Illuminate\\Foundation\\Console\\Kernel->handle() #31 {main} "} [2023-12-13 00:15:09] production.ERROR: Class "PDO" not found {"exception":"[object] (Error(code: 0): Class \"PDO\" not found at /home/eastgyuv/phpvms/vendor/laravel/framework/src/Illuminate/Database/Connection.php:1718) [stacktrace] ( REPEATS THIS ALOT) Then later I send out news get more of the above but also see "Sending notification to 11 users" .... [2023-12-13 00:46:28] production.INFO: NotificationEvents::onNewsAdded [2023-12-13 00:46:28] production.INFO: Sending notification to 11 users BUT No emails arrive anywhere. I tried changing email providers thinking maybe it is my host. CLeared all caches. No change. Then I thought, wait, it worked under PHP8.1 then I switched to PHP8.2 So I switched back to PHP8.1. Cleared Caches Here is the entire log after clearing the cache and sending another NEWs posting. Plus 5 min Cron hit my webserver. Cron hit and floodgates opened. [2023-12-14 05:03:50] production.INFO: NotificationEvents::onNewsAdded [2023-12-14 05:03:50] production.INFO: Sending notification to 11 users [2023-12-14 05:18:16] production.INFO: NotificationEvents::onNewsAdded [2023-12-14 05:18:16] production.INFO: Sending notification to 11 users Then I jumped over to my discord server because I saw some rate limiting messages in Cron log. Holy crap all the pireps hit at the same time and all my emails I had sent hit my phone. So something in my hosting or something in PHP8.2 is breaking email and the PDO error is the reason maybe? I think PDO is the driver for PHP to mysql, right? Do you want me to put a bug report on github? Leaving it under PHP8.1 for now. -Nac
-
Hey all, my phpvms (latest Dev version on PHP 8.2)) has stopped emailing when I create a NEWS ITEM. It sent out the first one, but not since on the next 2 I wrote up. Email still going out when people register. Is there a log to review? Is the a way to mass email members beside news items? -Nacman
-
After restoring my site, getting my edits back the way I wanted for now, I backed it up and added acars module. then I followed your direction to the letter and it WORKED!!! Thank you! -Nacman
-
So, I decided to make a full backup of site. Deleted it, restored previous backup before I started messing with ACARS downloads. 403 error now gone when you click downloads menu item. Made my edits and now back to normal. Backing up again, will attempt adding file the way it was expressed here and see what happens. -Nacman
-
So I got it working but not in the way you described. First, for house cleaning I delete the public folder in phpvms since during the intial install of phpvms I placed the contents on the public folder into /public_html When I dleted the public folde, the site still ran. Still getting a 403 error when I click on downloads from the menu bar Then I added a link to /uploads/files/acars/ACARS.zip in the "pages/links" section of config (see snip) Now in my menu I have Downloads, still gives me a 403 error, but I also have phpVMS Acars client show up. If I click that link, it downloads the ACARS.zip file. How do I fix the Download menu item giving me a 403 Error. There is no link in the VMSAcars section any longer either. I would prefer to get the Downloads link working again and have it show up there. Ideas?
-
I put what was in the /public folder into the root of my websites (home/eastern/public_html) folder All the other files and folders for phpvms are in a folder off the of the hosting root (home/eastern/phpvms) I did leave the public folder intact in phpvms as you can see in the snip. Do I need to delete it. I tried both the /public_html/public/uploads/files/acars/ACARS.zip and /phpvms/public/uploads/files/acars/ACARS.zip Placing those paths in the ACARS section in the module. I get a 403 Forbiden and the url is https://easternairlinesvirtual.com/downloads/ I am of course logged in and chosing the downloads menu item.
-
Adding News to Landing page (Page before login)
Nacman replied to Nacman's topic in Disposable Hero Addons
I really have been reading, just not recalling all of it yet. Trying very fast to get the site working so the guys you have joined back up can start flying or I will lose their interest. Trust me, everytime I post with a problem I can't figure out I feel as if it is somewhere to read about it. -Nac -
Using latest Dev build and php8.2 also using disposable basic I am having trouble creating downloads and having the "Downloads" menu item show the files or pages. I went into pages/links in admin menu. created a downloads link entry. I had a folder I created called downloads off public_html. Inside of downloads I created another folder called vmsacars and placed ACARS.ZIP in there. That created a second menu item called "Downloads" no what I wanted, but it still did not show the files. Instead a 403 error. SO I deleted that entry in pages/links, that got rid of the second downloads menu item, but now the original one is showing a 403 page. Not sure I follow the logic and can get it to work. Should I have selected page instead of link. If I selct page, what do I put in the entry box? If I select link, what is the link? A relative URL or the whole fully qualified domain link like (easternairlinesvirtual.com/downloads/vmsacars) I am feeling stupid as I can't quite catch on yet. The instructions are vague enough for me to not catch on. Sorry. -Nacman
-
I had the API key domain name pair changed by the owner who had made the purchase. He sent me the API key, but I guess he is the only one who can download it? I cant find the client download. Secondly the Server Direction say go to your "Web" folder and move the Acars module over to you module folder. Since I find no web folder on the server's files, do I assume it is also contained in the download of the client software? I need to tell the guy to download what exactly so I can configure my server? The domain is easternairlinesvirtual.com. ugh -Nacman
-
Adding News to Landing page (Page before login)
Nacman replied to Nacman's topic in Disposable Hero Addons
Thank you. I actually was thinking that, based on some of what I saw throughout the code that it could be similar to one or the other, but because of that I was also confused. I could have tried, but thought it easier to ask, since it is my first outing. On a side note, I am keeping notes of files (and copy of files) that I have changed to to suit a need. So far succesful, nothing broke yet 🙂. I assume keeping these notes and files is almost mandatory as when a theme or phpvms gets updated they will be over written, correct? Thanks for the code above!!!!!! -RIchard aka Nacman -
Hi there, I have a news item that shows up once you log in. I would like to have this same News item show up on the first page before login. I have home.blade and app.blade loaded up and I am trying to follow the help part about "DBasic.news /dnews" but I think that is for a menu item. Also looking at the widget section oof the FAQ, but doesn't mention news. This is probably so easy, but it still isn't making perfect sense to me yet. So what would I edit and what would I put in the edit to get news to show up to users who haven't logged in yet or first time visitors. Thanks, -Nac
-
I understand. I was like a kid in a candy shop, been out of this for a while, when I saw phpvms, I was like saying to myself "Someone finally understood the need for a CMS like solution to online VA's". Being into this only 2 days, I had a steep curve in the beginning. I will not post code edits again, and as Proavia pointed out it was fixed already and I wasn't running latest code. Thanks! -Nacman
-
So I just downloaded Version 7.0.0-dev+231204.15563e I had wrap my head around the install, finally getting it working after running the composer install. So with this version can I just ftp it up to my shared hosting server? like for like replace? Do I need to save my .env file? -Nacman
-
Strange. Running PHP8.1 and the version I thought was the latest and what I installed was phpvms-7.0.0-beta.5 I will head over to Discord. Thanks.
-
New User here. If you are just getting into phpvms 7, as I am, the METAR and TAF don't work because aviationweather.gov replaced the API. I deleted the code fix as it has already been fixed in later versions and I should not have posted code here, instead made a bug report. Newguy still learning. Thanks, -Nacman