-
Posts
8142 -
Joined
-
Last visited
-
Days Won
38
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by Nabeel
-
-
Hmm. Collection is a Laravel, but also a C# type, so it could mean that the API is returning something incorrect. It's when you've selected a subfleet to get the list of aircraft? Nothing's changed on the API side, though, well nothing directly.
Can you PM me your site URL and the API key of the user you're using? Let me see if there's something weird coming out of the API
-
13 hours ago, asandor said:
Getting a different error this time, same place though, hitting save when trying to enter a subfleet.
[2018-03-21 01:16:19] dev.ERROR: Validation rule unique requires at least 1 parameters. {"userId":1,"email":"asandor@ke6ihx.com","exception":"[object] (InvalidArgumentException(code: 0): Validation rule unique requires at least 1 parameters. at /var/www/phpvms/vendor/laravel/framework/src/Illuminate/Validation/Concerns/ValidatesAttributes.php:1539)
D'oh! Fixed
-
4 hours ago, asandor said:
Remove my phpvms directory, reinstalled from scratch, I get the following error when I try to add a subfleet.
[2018-03-20 19:43:43] dev.ERROR: Cannot access protected property App\Models\Subfleet::$rules {"userId":1,"email":"asandor@ke6ihx.com","exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Cannot access protected property App\\Models\\Subfleet::$rules at /var/www/phpvms/app/Http/Requests/CreateSubfleetRequest.php:27)
Entire log file attached also
Thanks, just fixed.
-
1 hour ago, Michael2015 said:
Can you do this in phpvms 5
Nope
-
I expanded out this feature: http://docs.phpvms.net/customizing/flight-fields
-
You can use the flight fields for this. I just added a function to the flight to make it easier to display in a template.
In the admin, go to the flight, under Custom Fields, you can add "Departure Flight", and a value.
Then in the template, you can put:
{{ $flight->field('Departure Gate') }}
It's kind of a pain with a lot of flights, but the importer will have a way to be able to add the fields and values right in the CSV (https://github.com/nabeelio/phpvms/issues/194)
I might add another table, like with PIREPs, that holds a "master" list of the flight fields and then it'll show them on the create/edit page as a main list, so you don't have to type "Departure Gate" over and over.
-
20 hours ago, Tato123 said:
SOLVED i have change the redirect
What exactly did you change?
-
16 hours ago, Neon said:
Basically I am writing my own pages and I am just trying to figure out how to put them in the navigation.
Not supported yet in phpVMS 7
-
9 hours ago, Tato123 said:
yes, i have the last versions but when i try to install the installation proces don't start if i click the button, but i return in the root of my web site
That sounds like there's a problem with your htaccess. Does your host have htaccess support enabled, or is there a setting for you to enable it?
-
I'm not sure what you're asking. Are you using the phpvms version 7? And you're trying to add pages? That's not supported yet.
-
Sorry, I don't really understand. Have you gotten the latest dev version? And done a clean install?
-
Hey, there was an error that I had to fix a few days ago... can you download the latest dev version, and re-create it with the command? Sorry
-
2 minutes ago, mark1million said:
Quick update, I have the entrance exam by David, I have managed to fully remove ReCaptcha from the normal registration process and the entrance exam process.
If your stuck and want to know how just post here, its easy enough with only a few edits.
Probably be good to post it, or write something in the documentation area?
-
I would delete and redownload. And make sure you're actually on PHP 7.1, create a phpinfo page to make sure.
-
Yeah, fair enough. Check out the docs for the new one:
http://docs.phpvms.net/developers/add-ons-and-modules
I could use help with making fixes to the code or better docs, though.
-
On 3/4/2018 at 2:59 AM, Vangelis said:
that meens you do not have an aircraft assign for the flight or the value zfw is empty in the airplane information
zfw is an optional value for the aircraft/subfleet
-
2 hours ago, magicflyer said:
Hey guys, been a long time since I coded in PHP so I thought why not go back to where I started as a refresher. So, I'm looking to put together a phpVMS Module. Personally, I'm looking for something simple yet needed. But some other dev may be interested in picking up your idea.
So, Post your module ideas for phpVMS.
I'd love for this to be an open discussion by the community to see what they can improve about phpVMS as a whole.
Are you looking to do this for the new/upcoming version?
-
Can you send me the full request and response headers? I will take a look tonight.
-
Is there anything in the browser error console?
-
If you create a php info page, does it show as running on PHP 7.1 as well? That line is the nullable type feature, and was new in 7.1:
http://php.net/manual/en/migration71.new-features.php#migration71.new-features.nullable-types
-
Not without seeing that line. Is this phpvms 7 or a different version?
-
That's a code error on their part
-
Problem was the .htaccess file needed this line, under the "RewriteEngine On" line
RewriteBase /
I've fixed it in the next dev version, but posting it here FYI for anyone else looking
- 1
-
47 minutes ago, spkier said:
works fine here on my vps unfortunly i went back to phpvms 5.5.x due to no acar so i cannot prove anything however i did see that if you don't ahve php7.1 witch is rugered by phpvms 7.2 it won't load properly but should work
If you're on PHP 7.0 it will mostly work, but you might run into some issues.
[OFFICIAL] Import CSV Templates
in Addons and Downloads
Posted
Import CSV Templates
View FileBlank (header-only) CSV files to import:
See the documentation here: http://docs.phpvms.net/operations/importing-from-csv