perryfincher Posted September 16, 2019 Report Share Posted September 16, 2019 Hello; I have tried all the ReCatcha changes and updates as stated before. Nothing works, nor do I understand it. Has anyone made any files that are updated and all you have to do is enter the keys? If not, how do you clearly take reCatcha out. Thanks Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted September 16, 2019 Administrators Report Share Posted September 16, 2019 (edited) What version of phpVMS are you using? What version of PHP? Free or paid hosting? Edited September 16, 2019 by ProAvia Quote Link to comment Share on other sites More sharing options...
perryfincher Posted September 17, 2019 Author Report Share Posted September 17, 2019 Hey ProAvia; am trying to install phpVMS 5.0 Classic My host server states the PHP version is 5.4.45 Our website is a paid service and is hosted by Arvixe. If you can help me with this, it will be greatly appreciated. I may have to reinstall everything in case I messed something up. Thanks Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted September 17, 2019 Administrators Report Share Posted September 17, 2019 phpVMS 5.0 Classic is version 2.1.x updated for php versions up to php 7.0 I believe. Not sure if this version is ReCaptcha v2 compliant or not. I think it's best suited for those who already have phpVMS 2.1.x installed and are actively using it on their established VA. You may be better served by installing the Simpilot version - phpVMS 5.5.2? Here's a link: https://github.com/DavidJClark/phpvms_5.5.x . This version is already ReCaptcha v2 compliant - among other updates. If you decide to use 5.5.2, just delete the present files and if the database is new (without any pilots, airports, aircraft, schedules, etc.) delete it also and start fresh. If the database already has some data in it, just make a new database for 5.5.2. As for adding modules, many (most?) freeware modules have been updated to work with phpVMS 5.5.2. Those that are not are pretty easily converted. Quote Link to comment Share on other sites More sharing options...
perryfincher Posted September 17, 2019 Author Report Share Posted September 17, 2019 Thanks ProAvia!!! Have downloaded the Simpilot version and will install it this weekend. One question, did I understand correctly that the reGatcha is already installed and ready for use or do I need to put the keys I got from google into it? Thanks again for all your help. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted September 18, 2019 Administrators Report Share Posted September 18, 2019 The coding is in place for ReCaptcha version 2 - you will need to acquire and enter your own Recaptcha keys. Those keys get entered into local.config.php - if there are no entries to pit them there, copy/paste that particular section from app.config.php into local.config.php and enter your keys as indicated. Quote Link to comment Share on other sites More sharing options...
perryfincher Posted September 20, 2019 Author Report Share Posted September 20, 2019 (edited) Hey ProAvia; I copied all the text from the app.config.php into the local.config.php and then inserted my reCatcha keys. I checked the registrations page and no fields show up next to the reCaptcha. Below is my local.config.php file with keys inserted at bottom. <?php /** * This is the phpVMS Main Configuration File * * This file won't be modified/touched by future versions * of phpVMS, you can change your settings here * * There may also be additional settings in app.config.php * To change it, copy the line into this file here, for the * settings to take effect * */ Config::Set('DEBUG_MODE', false); Config::Set('DEBUG_LEVEL', 1); // 1 logs query errors, 2 logs all queries Config::Set('ERROR_LEVEL', E_ALL ^ E_NOTICE); define('TABLE_PREFIX', 'phpvms_'); define('SITE_URL', 'http://www.panamericanva.com/phpvms'); # Page encoding options Config::Set('PAGE_ENCODING', 'ISO-8859-1'); # Clean URLs - set this to true, and then uncomment # the lines indicated in the .htaccess file Config::Set('URL_REWRITE', false); # Maintenance mode - this disables the site to non-admins Config::Set('MAINTENANCE_MODE', false); Config::Set('MAINTENANCE_MESSAGE', 'We are currently down for maintenance, please check back soon.'); /* Whether you have the /admin/maintenance.php script added into cron. If you do, set this to true. This saves many DB calls since phpVMS will have to 'fake' a cron-job */ Config::Set('USE_CRON', false); Config::Set('CHECK_RELEASE_VERSION', true); Config::Set('CHECK_BETA_VERSION', false); # See more details about these in the docs Config::Set('PAGE_EXT', '.htm'); # .htm is fine. You can still run PHP Config::Set('PILOTID_OFFSET', 0); # What # to start pilot ID's from Config::Set('PILOTID_LENGTH', 4); # Length of the Pilot ID Config::Set('UNITS', 'nm'); # Your units: nm, mi or km Config::Set('LOAD_FACTOR', '82'); # %age load factor Config::Set('CARGO_UNITS', 'lbs'); # After how long to mark a pilot inactive, in days Config::Set('PILOT_AUTO_RETIRE', true); Config::Set('PILOT_INACTIVE_TIME', 90); # Automatically confirm pilots? Config::Set('PILOT_AUTO_CONFIRM', false); # Automatically calculate ranks? Config::Set('RANKS_AUTOCALCULATE', true); # For how many hours a pilot can edit their submitted PIREP (custom fields only) Config::Set('PIREP_CUSTOM_FIELD_EDIT', '48'); # If someone places a bid, whether to disable that or not Config::Set('DISABLE_SCHED_ON_BID', true); Config::Set('DISABLE_BIDS_ON_BID', false); # If you want to count transfer hours in rank calculations Config::Set('TRANSFER_HOURS_IN_RANKS', false); # The StatsData::UserOnline() function - how many minutes to check Config::Set('USERS_ONLINE_TIME', 20); # Google Map Options Config::Set('MAP_WIDTH', '800px'); Config::Set('MAP_HEIGHT', '600px'); # Valid types are G_NORMAL_MAP, G_SATELLITE_MAP, G_HYBRID_MAP, G_PHYSICAL_MAP Config::Set('MAP_TYPE', 'G_PHYSICAL_MAP'); Config::Set('MAP_LINE_COLOR', '#ff0000'); Config::Set('MAP_CENTER_LAT', '45.484400'); Config::Set('MAP_CENTER_LNG', '-62.334821'); Config::Set('MAP_ZOOM_LEVEL', 12); # ACARS options # Minutes, flights to show on the ACARS # Default is 720 minutes (12 hours) Config::Set('ACARS_LIVE_TIME', 720); Config::Set('ACARS_DEBUG', false); # This is your airline's twitter account, if it exists Config::Set('TWITTER_AIRLINE_ACCOUNT', ''); Config::Set('TWITTER_ENABLE_PUSH', false); Config::Set('TWITTER_CONSUMER_KEY', ''); Config::Set('TWITTER_CONSUMER_SECRET', ''); Config::Set('TWITTER_OAUTH_TOKEN', ''); Config::Set('TWITTER_OAUTH_SECRET', ''); /* This is the unit of money. For non-dollars, use : Dollars ($), enter "$" Euro ( /* Keys for recaptcha, you can change these if you want to your own but it's a global key so it should just work */ Config::Set('RECAPTCHA_PUBLIC_KEY', ); Config::Set('RECAPTCHA_PRIVATE_KEY', ); Thanks Edited September 20, 2019 by perryfincher Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted September 20, 2019 Administrators Report Share Posted September 20, 2019 Your registration page and contact page are working correctly and the ReCaptcha is functioning as it should. I just registered as Test Test successfully - you can delete that registration. Also, I sent a message thru the contact form. I would suggest you remove you database info and ReCaptcha keys from your post above. Quote Link to comment Share on other sites More sharing options...
perryfincher Posted September 20, 2019 Author Report Share Posted September 20, 2019 I seen the Test Test. Did you get the reCaptcha box? I did a test one as well and nothing happened. Will you try it again? Also, how do I get phpvms to send applications or registrations to my email? Thanks Perry Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted September 20, 2019 Administrators Report Share Posted September 20, 2019 I did both those tests just prior to my last posting. The ReCaptcha box is there and functions as it should. Do you not see the ReCaptcha box? Registrations and contact form messages should go to theemail you have set in admin, Site & Settings, General Settings. Quote Link to comment Share on other sites More sharing options...
perryfincher Posted September 20, 2019 Author Report Share Posted September 20, 2019 No, didn't see the ReCaptcha box Quote Link to comment Share on other sites More sharing options...
perryfincher Posted September 20, 2019 Author Report Share Posted September 20, 2019 Can you send me the link you used to register? Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted September 20, 2019 Administrators Report Share Posted September 20, 2019 Here is what I see: https://www.dropbox.com/s/gb50lfmh9rz95oa/Screenshot_20190920-095159.jpg?dl=0 Link to page: http://www.panamericanva.com/phpvms/index.php/registration Quote Link to comment Share on other sites More sharing options...
perryfincher Posted September 20, 2019 Author Report Share Posted September 20, 2019 (edited) Not getting that at all. http://www.panamericanva.com/phpvms/index.php/registration Since you last did a test registration. I did change the keys, trying to get the box to show up on my end. Edited September 20, 2019 by perryfincher Quote Link to comment Share on other sites More sharing options...
perryfincher Posted September 20, 2019 Author Report Share Posted September 20, 2019 Okay, weird. Can see it on my cell phone, but not from my pc Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted September 20, 2019 Administrators Report Share Posted September 20, 2019 (edited) Clear browser cookies and cache - or press Ctrl+F5 Edited September 20, 2019 by ProAvia Quote Link to comment Share on other sites More sharing options...
Moderators shakamonkey88 Posted September 20, 2019 Moderators Report Share Posted September 20, 2019 24 minutes ago, perryfincher said: Okay, weird. Can see it on my cell phone, but not from my pc Probably need to clear your cache in your browser. You can always just press "CTRL + F5" and that will clear cache for that page on refresh. Quote Link to comment Share on other sites More sharing options...
perryfincher Posted September 20, 2019 Author Report Share Posted September 20, 2019 That doesn't work on my pc. Tried several times. Not sure why. This is frustrating. Thanks for your help, guys Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted September 20, 2019 Administrators Report Share Posted September 20, 2019 What browser are you using? Maybe try with a different browser. Quote Link to comment Share on other sites More sharing options...
perryfincher Posted September 20, 2019 Author Report Share Posted September 20, 2019 (edited) I use IE Just tried Firefox and the reCaptcha is working. Not sure why it won't show in IE on my pc. Thanks Guys!!! Edited September 20, 2019 by perryfincher Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted September 20, 2019 Administrators Report Share Posted September 20, 2019 I would guess you have compatibility mode on in IE. Turn compatibility mode off or remove google.com from the list of sites that use compatibility mode. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.