Jump to content

TAV1702

Members
  • Posts

    1954
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by TAV1702

  1. Has anyone else encountered a problem posting news and events? I believe we have a coding issue when it comes to magic quotes on a server. Here is one example. Notice no pictures or urls work properly and notice all the extra added characters? Nice huh? This is how our news and events post. Any ideas? I would love to fix this issue. Our news and events is pretty much useless as far as posting goes unless we use all plain text. And my apologies if this has been covered. I searched and found no answers. Thanks for taking a look at this.
  2. The guys are talking a server move for sure. Just not sure when. I am pretty much putting dev on hold until they decide. I hate to do some creative fixes only to get on another host later and the stuff works as it should have to begin with.
  3. Well, since the form does submit and works accordingly, I just went and pulled a bone headed move and surpressed the errors.... for now.
  4. Yeah that is the very same recaptcha I am using as well. The United site is not the one I am working on. The new one I am working on is simpilots version with the recaptcha. I might try and force an ini file and see if it fixes it. Not sure how nabeel's hosting feels about it but I am going to try it and see. *EDIT* I tried to force a ini file and no such love. I guess Nabeel has this locked down. This error alone will put the kaboshes on using this verion of phpVMS in a live setting. I understand the reason for turning url_fopen to off due to security risks and all so it is no biggie. Maybe this script needs to be written in curl or something so this error can be avoided. And as luck would have it, I know nothing about curl what so ever.
  5. So I am working on a new site for a guy and I went to register a user on the site and the recaptcha is working and the form submits no problem. My issue is when I submit I get this: Warning: file_get_contents() [function.file-get-contents]: https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/jonvanme/public_html/airline/core/lib/recaptcha/recaptchalib.php on line 93 Warning: file_get_contents(https://www.google.com/recaptcha/api/siteverify?secret=6LfyqQXXXXXXXXXX1mRgNYR0LMDsmdcAHPImXOYM&remoteip=50.40.250.92&v=php_1.0&response=03AHJ_VusmY1jYrC5XXXXXXBMex9-2QGHMg43FSz-RAzQwcM1C4lNMcjhqptPS4aJIknwVp6PwlE6h-lInJsSs6AkHUX1pIl7iy_0eQTEFgiL5_chusAHj_NlX9KOV6cHDbkey2KoIEDqIg91chsYuC8RKuVMQbc6jrJq5qIgqTeBsiETCMkEU5e-sduiVwvTUhDjIgkRbP1sEX_7k06FjWCNa4bWxrIBWUkK2ewlgMuXB0Za9cPEouVOaV18ifw5PTEbYsqkiQgkD5ausf7MaJoEDK_gcRfKAWEVxQyInxRPHEQ6C5j7lsX8YABI11YUfg9XdqUg4QRkk8w74eYj0rBvOKoLr9Ck5mYvJ1sgfpAI4BfVfncvp66fARa65s1uYIvr21nyXVG_Keo_fEZnQY4MjQYgEdm4kxmoMQ) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /home/jonvanme/public_html/airline/core/lib/recaptcha/recaptchalib.php on line 93 Since the form submits and the pilot can register, can I pull a bone headed move and remove the code that is throwing the error so it can be "Ignored" so to speak or can we figure out a quick fix? For the record, I am not building this on a free host. It is on Nabeel's 5Dev. it would seem as though Nabeel has allow url fopen turned off. I was thinking I might be able to create a ini file and just turn on allow url fopen. ? Thanks for your time Dave.
  6. Nah have not reverted to an older version of php yet and I researched it and that is the issue. I have saw sever posts on other sites that say it has something to do with magic quotes or something like that. And I did some digging and it is other modules as well. I might just try reverting back to a little older php version just to check things out. **EDIT** This magic_quotes_gpc is most of the problem. I heard it is going away in php 6.0. As we sit now this setting renders phpVMS news and anything else that uses code useless. We need to strip slashes back out before it is printed on the site. Good times! :-)
  7. I am running this as well and on the recaptcha where it is now nocaptcha, I get : ERROR: Invalid domain for site key I have tried using my own keys and it still does not work. Any clues? Thanks in advance! Ray **EDIT** Got it fixed. Had to delete my keys and generate new keys for V2
  8. TAV1702

    OceanBlue

    Ok thanks I appreciate it. Ill look in to it. I noticed today it said 201 so I know it works I just need to edit it as you pointed out. Thanks again!
  9. TAV1702

    OceanBlue

    can this be converted over to the php system by simply renaming files? I would love to test this template out just not sure I have a html format phpVMS laying around anywhere anymore. **EDIT** I got it working for php phpvms. Now It say my VA lauched 200 days ago in the stats. Is that supposed to change to reflect the real days in operation?
  10. I'll double check on that. I am postitive I only have it in one spot. I have been wrong before though. ;-)
  11. <tr> <td align="center"><?php echo $flightcount;?></td> <td align="center"><?php echo round($flighthours, 2); ?></td> <td align="center"><?php echo $passengers;?></td> <td align="center"><?php echo round($avglanding);?>(FT/MIN)</td> </tr> Notice the flight hours? I have cleared cookies and cache in my browser, cleared cache on site and all. Here is the pilot time: <tr> <td align="center"><?php echo $ranktime;?></td> <td align="center"><a href="<?php echo url('/profile/view/'.$ptime->pilotid);?>"><?php echo PilotData::GetPilotCode($ptime->code, $ptime->pilotid);?></a></td> <td align="center"><?php echo $ptime->firstname . ' ' . $ptime->lastname; ?></td> <td align="center"><?php echo round ($ptime->time), (2);?></td> </tr>
  12. Ill give that a try. Thanks! **EDIT** Tried it. Still getting like 9 or more decimal places. This is flor flight hours (176.09999999999997)as well as the Top Flight Time (53.599999999999994).
  13. I have not worked on this in a very long time. I know someone else made something similar as well. I had a pc crash since then and have lost all my files. Not even sure I have this anymore.
  14. I got a little something odd happening. When someone posts news and it has an ' in it, it adds a bunch of \ like the example below: Cincinatti Holiday Returns - Now that Christmas is over and you have a pile of \\\\\\\\\\\\\\\"Pesky Unwanted\\\\\\\\\\\\\\\" Flightplans that resemble that horribly ugly Christmas Sweater and Aunt Lucille knit you seven years ago you find yourself in need of a place to return them. We can help. Any flightplans that you received this year that you don\\\\\\\\\\\\\\\'t want can be returned to our returns center on the 3rd of January, 2015 between 21:00z and 01:00z [4pm~8pm EST]. We\\\\\\\\\\\\\\\'ll be staffed up to the 9s to make sure your returns process is easy and painless so that you can get back underway with just the right flightplans that you always wanted. For further Return Policy terms and conditions, please see one of our friendly controllers. Thank you! ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Any way to make this so it don't add all those back slashes? I know it needs to escape stuff just because, but that makes the news look bad real quick. Thanks for taking a look! Ray P.S. I just noticed that it is happening in Events module as well. php5 issue? Can't use images or anything anymore. all those backslashes mess up all the code.
  15. I know this is very old, but having issues. I got this to work once before and now I can't. Can someone show me some code that is working to round off to 2 decimal places only? I have tried sound, substr and all that good stuff and nothing is working for me. Would love some pointers. Thanks! Ray
  16. I get a little error. I am using Simpilots extended phpvms Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Fleet' does not have a method 'fleet.php' in core\classes\MainController.class.php on line 218 Might my php be out of date on the server? 5.3.13
  17. By looking at it, here is an issue that needs fixed. In the root of phpBB3 there is a common.php file. check this part of your error out /public_html/forum/commons.php Note the S after the word common. Try loosing the S on the word commons in your module and it may come to life.
  18. I really like smartCARS so far. One airline I am with uses it in every day operations. One thing I believe it needs is an option for charter flights like kACARS has. Nice job on this software!
  19. I got it working right. I had to use the first option of code instead of the second one you posted.
  20. Thanks servetas. I appreciate it. I will take a shot at that and get it done. **EDIT** I got that to work but it will not show 0 as pending. It just has the text in place and slides to the left.
  21. Has anyone ever made this so when a screenshot is uploaded it will email a admin or let them know kind of like on a new pilot registration or when pirep is filed?
  22. I know this is a rather old post and I thank you flyalaska for the script. What I am wondering is can we make it so that instead of excluding private forums, can we make it check if one is an admin or moderator what ever the private forum is setup to show to? So if and admin or moderator then allow to see the recent private post and if not then continue on to the other posts? Thanks again for this script. I like how it works and looks decent on my site.
  23. So I got my last badge issue resolved but now got another. The text color will not change on any custom badge images. If I change the color in the config file and reset signatures and clear cache in admin panel, it will change the font color on badge of the default badge named background.png. if I have one called background2.png or kord.png it will not change the the font color. It actually inserts what ever color it wishes. All phpvms files are default. NONE are altered by me at all. Thanks for any help you may offer.
  24. Actually, I have not replaced that file. I might just give that a shot real quick.
  25. Thanks Dave. I'll take a look at the explanation and see what it says. I am not sure why the font would not adjust size so I got rid of the call from the pilot data class to the config and inserted a default size. However, the flag was positioned over the text before I did that edit. The issue withe the signatures came about after the whole hacking incident that we ( most of us ) all suffered.
×
×
  • Create New...