-
Posts
27 -
Joined
-
Last visited
Content Type
Profiles
Forums
phpVMS Resources
Downloads
Posts posted by vazquezjm
-
-
Thank you Dave for letting us know!
I have a couple of websites and they were both compromised. I found several suspicous files.
Change your FTP passwords and if possible, remove unused ones!!
-
Hi there!
When I try to manually enter a PIREP, I fill all the fields in /index.php/pireps/filepirep and when I hit "Submit" I'm redirected to /index.php/pireps/mine (which is right) but I get this error message: "This PIREP is not yours!"
It works flawlesly with kACARS but not manually, please help!
-
http://forum.phpvms....ess-the-api-r16
http://forum.phpvms....s/debugging-r26
Debug logs are written to core/logs
Gotcha. Thx!
-
Was not using the right connection string
Thank you for your support!!
-
For the sake of ensuring everything that's required to be created when a pilot registered is created, I would just do:
$data = array( 'firstname' => '', 'lastname' => '', 'email' => '', 'password' => 'New123', 'code' => '', 'location' => '', 'hub' => '', 'confirm' => false); RegistrationData::AddUser($data);
(Obviously filling in the rest appropriately).
Ok, I did this and nothing happened. No pilots were inserted
API calls work. I tried with a couple of classes and methods so I know the codon.config.php is being included properly.
Is there any way I can debug, read a log or something like that? I set Config::Set('DEBUG_MODE', true); in the local.config.php and nothing was shown during the execution of the script.
Thank you.
-
Awesome!
Thank you very much for your help. I'll let you know the outcome later this week
Cheers
-
Ok, cool, and one last question (at least for today ).
I see I should use one of the methods from the RegistrationData class:
RegistrationData::AddUser($data);
How do I invoke or use the class within my PHP script?
Thank you!
-
The password you enter there has to be plain text, so you could do something like import them all as $data['firstname'].time() and send them an email (using Util::SendEmail) telling them their password and how to change it, for example.
I'm planning to do raw inserts into the table, but not sure how to generate the password using MD5.. something like:
$pass = md5("NewPass*123");
and then:
INSERT INTO pilots (pilotid, firstname, password) VALUES ($pilotid, $firstname, $pass);
will suffice?
Then, when the pilot logs in, he will enter his email and "NewPass*123" (in this example) and he will be logged in?
-
Hi there!
I'm creating a PHP script to export pilots from a custom built VA Admin System I did a few years ago.
I opened RegistrationDataClass.php and found out that the AddUser method receives the following array as parameter:
$data = array( 'firstname' => '', 'lastname' => '', 'email' => '', 'password' => '', 'code' => '', 'location' => '', 'hub' => '', 'confirm' => false);
I can fill most of those fields with legacy data, but not sure how to create a pre-defined password and salt (?) and have pilots change their passwords once the logon for the first time into the system. Also, are those the only required fields to create an entry in the pilots table?
TIA!
-
Is there an ETA on when the RC or REL version will be available? Are you considering an upgrade plan? Thanks!
-
Thanks!
-
Hi guys!
I was searching for something on the forum and came accross this post: http://forum.phpvms.net/page/index.html/_/administrator-guide/setting-up-twitter-r37
I just downloaded and installed phpVMS and my version number is 2.1.934. Is there a version 3.0 available for download?
Thanks!
-
Hi all.
I was wondering if a news item could have its own view/page? For instance: va-domain.com/news/1, va-domain.com/news/322, etc
What for? Have the possiblity to show more content, have each news item marked as "Like" on Facebook or shared on other social networks, etc.
-
In your class you are calling "by_aircraft"
But in your data model you have named the function "get_stats_by_aircraft"
That's why!!
-
Hi!
I'm trying to filter results by aircraft, and added the following code to TouchdownStats.php:
public function by_aircraft($aircraftId) { $this->set('stats', TouchdownStatsData::by_aircraft($aircraftId)); $this->show('touchdownstats/touchdownstats_index.tpl'); }
and this code to TouchdownStatsData.class.php:
public function get_stats_by_aircraft($aircraftId) { $query = "SELECT pilotid, code, flightnum, depicao, arricao, aircraft, landingrate, submitdate FROM `".TABLE_PREFIX."pireps` WHERE landingrate < '0' AND aircraft = $aircraftId ORDER BY landingrate DESC"; return DB::get_results($query); }
When I invoke the listing (/index.php/Touchdownstats/by_aircraft/2), I get:
Fatal error: Call to undefined method TouchdownStatsData::get_stats_by_aircraft() in .../core/modules/TouchdownStats/TouchdownStats.php on line 25
What am I missing?
-
It would be a nice to have feature, the option to mark a custom field on the PIREP form as 'mandatory'. Probably thinking in a future release
Keep up the good work!
-
Hi. Is this working with 1.1.13?
-
Hi.
I was creating a news post for my VA and noticed that title is truncated when saved. Looks like it is limited to 30 characters. The thing is that the title field on /admin/index.php/sitecms/editnews?id=xx is not limited to 30 characters.
Another improvement I'd suggest to this page is the ability to unpublish an entry (checkbox) without having to delete it.
Thank you!
-
This too. They're used for past flights for sure, and on the live map, that's how it knows what coordinates to look up. I would just leave them in
It would be a nice feature to enable/disable an airport.
We create monthly spec ops around the world. Since those flights are not part of the regular schedule, we have lots of airports listed on our route finder. Maybe adding a checkbox to hide the airports would be something to consider for future releases and will not affect database integrity
- 1
-
DATABASE NAME= ?_localhost ?= the name of the database. So if you created a database as whodat then it would be whodat_localhost
USERNAME= whodat_? ?= User permitted to that database so if you add vazquezjm then it would be whodat_ vazquezjm
PASSWORD= whatever password you have setup in that database.
If you still need help, Private Message (PM) me
Thanks Jeff, it worked!
-
I am trying to upload the new version with a clean install and get this:
Fatal error: Uncaught <blockquote><font face=arial size=2 color=000099><b>Last Error --</b> [<font color=000000><b>Incorrect database name 'fsxxp_virtual ' (1102)</b></font>]<br />[<font color=000000><b></b></font>]</font><p> </blockquote><hr noshade color=dddddd size=1> thrown in /home/fsxxp/public_html/virtual/core/classes/ezdb/ezdb_mysql.class.php on line 140
Please advise! Any help appreciated!
Never mind working now
How did you solve it?
-
Hi All.
I'm experiencing the same error:
Fatal error: Uncaught <blockquote><font face=arial size=2 color=000099><b>Last Error --</b> [<font color=000000><b>Access denied for user 'vazquezb_ladeusr'@'localhost' (using password: YES) (1045)</b></font>]<br />[<font color=000000><b></b></font>]</font><p> </blockquote><hr noshade color=dddddd size=1> thrown in /home2/vazquezb/public_html/lade-virtual.com.ar/core/classes/ezdb/ezdb_mysql.class.php on line 99What could be wrong? I'm using cPanel and tried both manual and wizard modes for creating the DB
-
does anyone have an exam already made with multiple choice answers that you could send me to use in the development?
I do, but they're in Spanish :-
Anyway, they're simple questions with 3 or 5 possible answers, only one of them is valid. Let me know if you need help
-
I'm working on my own version right now. Exams are multiple choice type and will have several controls like session, time laps since last unsuccessful try and more. This is a personal project but will maybe it will be easy to integrate it with phpVMS, will see
[NOTICE] - Open Flash Chart Exploit
in Support Forum
Posted
Looks like these are good hackers...