Jump to content

simpilot

Administrators
  • Posts

    2773
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by simpilot

  1. If the custom module you are using is make use of the native place bid js function then there is a conflict with the js for bootstrap. I have had to customize the phpvms.js file to work with bootstrap a number of times depending on the site and how it is set up. Use firebug to show the errors on the page and work from there.
  2. Try and disable the rank image from being placed in the signature and see if that removes the error. Config::Set('SIGNATURE_SHOW_RANK_IMAGE', false); If it does remove the error re-enable it and try to dump out the $pilot variable right after line 1013 and then stop the script so it doesn't disappear on you. Does the $pilot variable contain the rankimage object? If it does, is it a full url?
  3. I have made changes to the files on GitHub to force the schedule form to work in almost any environment except bootstrap. Take a look here -> https://github.com/DavidJClark/phpvms_5.5.x/commit/bff6cd07674635a389c0336264664506644bf489 <- and make the same changes and see if it will work for you.
  4. Error logs are found in /core/logs If you need to turn debugging error reporting on, that information is here -> http://forum.phpvms....ging-issues-r31 Do you possibly have two instances of the airport lookup server definition in your config file with one overriding the other?
  5. Sounds like you are on the right track. Must be a javascript error.
  6. Without knowing what is happening other than "it is not working fine", a link to the problem page, or something showing an error string it is hard to tell what the problem even is. (Read as: We need more information) The first things I will ask is; Did you update the template that has the javascript so it is compatible with the updated jQuery? Do you get any error in firebug or in the error panel of Firefox? What exactly is the problem? (The page will not display, the search never completes, the search never finds anything, the search finds everything without filtering, etc...)
  7. Firstly: I would try changing line 3 of the schedule_searchform template from; <form id="form" action="<?php echo actionurl('/schedules/view');?>" method="post"> to <form id="form" action="<?php echo url('/schedules/view');?>" method="post"> and see if that makes a difference. I have not seen this before. It may also be an issue from customization of the template. If the above does not work possibly try using the default templates to see if it works correctly. The error from the PilotData.class is most likely caused by the rank image not being available, not being a .png, or not being defined in the pilot profile as all line 1016 is: $rankimg = imagecreatefromstring($rankimg);
  8. The soliciting of unrequested paid services through private messaging is not looked upon in a positive light here in this forum. If you have someone messaging you trying to sell you a service or module please let us know using the report to moderator link that is available. Do not delete the message, we may ask to see it prior to taking action. I have also pinned a notice to the top of the support forum. *The following is my opinion only and comes from experience on this and other forums. Some of the items I suggest appear on other forums that I am a member of as well. The statement that one cannot get support in the forum for issues with phpVMS seems to get thrown out more and more often. I cannot speak for everyone that posts here in this forum but I can give you my point of view and offer a few suggestions that I think help posts get answered with legitimate help and solutions. Your post title: I avoid all posts that have a title typed entirely in caps, you are obviously in a much bigger hurry than I am. Posts that have simply “Help!” as a title or have two dozen exclamation points, or question marks, I avoid as well. Use a specific item as your title that applies to your issue. Some examples from this forum; Horrible titles -> “HELP!!!!!!!!!” – “URGENT HELP NEEDED WEBPAGE GIVING ERRORS!!!!!” Not great titles -> “Small Problem” – “I have 2 questions” – “Please anyone know where to find that information” Titles that will get attention -> “FSFK Error – Schedule does not exist. Please update this manually” – “How to have two languages on a phpVMS website?” Before posting a question in the forum; 1 - Try to find an answer by searching the forum. – Search box at the top right of this page. When the same question shows up for the 25th time it tends to get skipped or answered in a sarcastic way because it is obvious you have not looked for an answer. 2 - Try to find an answer by searching using Google with your error and “phpvms”. – A classic that shows up over and over again - http://lmgtfy.com/?q...d line 28 error 3 - Try to find an answer by reading the documentation. - http://forum.phpvms....dex.php?app=ccs 4 - Try to find an answer by experimentation. 5 - Try to find an answer by reading the source code. - https://github.com/nshahzad/phpVMS When you ask your question, display the fact that you have done these things first, this will help establish that you're not being lazy. Also show what you have learned from doing these things. Make it clear that you are able and willing to help in the process of finding a solution. “Would someone provide a pointer”, or “What is my example missing”, are questions more likely to get answered than “Please post the exact code I should use” because you're making it clear that you're truly willing to complete the process if someone can just point you in the right direction. Remember that everyone on this forum is a volunteer, most of us have full time jobs in the real world and phpVMS is not our first priority of every day. Our time is limited and time is valuable, I personally do not spend as much time on the forum as I used to for this reason and the seemingly repetitious nature of the questions. Never assume you are entitled to an answer. You are not, after all, paying for the service. If all this seems like a foreign language to you and you are not willing to put in the time and effort to learn how to code in order to design and upgrade your website then I suggest re-evaluating your decision to run a virtual airline or prepare yourself to pay to have things done that you do not know how to do and are not willing to learn.
  9. Please report any member offering unsolicited commercial (paid) services using the private message system to a moderator. This is frowned upon and will be met with anything from a temporary suspension of forum privileges to a complete ban from the forum depending on the circumstances and number of times it has been addressed with that user. Any paid services need to be advertised in the Paid Services or a addon developer forum, any advertisements placed in the support forum or the shout box will be removed without notice. The forum moderators in no way endorse or recommend any members that offer paid services. We cannot and will not provide any action of recourse for members involved with paid services.
  10. Why not use the native cURL wrapper in phpVMS? Instead of; // make the cURL request $curl = curl_init('http://www.savamarkovic.com/loa.csv'); curl_setopt($curl, CURLOPT_FAILonerror, true); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); $read = curl_exec($curl); try; $url = 'http://www.savamarkovic.com/loa.csv'; $file = new CodonWebService(); $read = @$file->get($url);
  11. There is no option for that as it is written. The native schedule search does have that option though, that may be a better fit for you.
  12. Retired status maybe? Not assigned to a hub that still exists?
  13. The template files are not there. That is about the only reason you will get those errors. Check to see if you have them all inside of another folder possibly. http://forum.phpvms....ot-found-error/
  14. Without dissecting the module I really am shooting in the dark here. If I were you I would start by seeing if there is actually data in any of those variables you are pointing out. If not then work your way back to why there is not any.
  15. Pretty sure you are looking for pireps_viewall.tpl or .php depending on version.
  16. You can find the available methods for getting finance information here -> http://docs.phpvms.net/internals/ <- and choosing Data Structures then FinanceData If the information that you are looking for is not there you will have to build some custom data queries.
  17. Search something like -> Fatal error: Allowed memory <- here in the forum, you will find many threads that address this.
  18. I do not know much about this module but is your live map working at all? Looking at both your live map page and the page you have linked both have a js error showing that possibly may be a conflict between the map script and the header slide show script, or the fact that the slide show needs a different version of jquery.
  19. You should be able to enter the information directly into the fields of the form. You should also be able to edit the file if you chose to edit it as a text file possibly or an html file in your cpanel. Even better would be to download it and edit it on your local pc and then upload it back to the site.
  20. There is nothing to overwrite...... #1146 - Table 'wdwvacom_wdw.phpvms_airports' doesn't exist The table does not exist (phpvms_airports) or you have a different prefix than phpvms_ If you deleted the table prior to trying to insert the new data then you will have to replace the table prior to the data insert. If your table already has data just empty the table (Truncate) If you are using a different prefix you will either have to temporarily change the prefix or change all instances of the prefix in the data file.
  21. Do you have names with apostrophes in them?
  22. failed to open dir: No such file or directory I would make sure that the folders within the Plugins module folder are all present and can be written to by the system (permissions). It is looking for the uploads folder that is shown here -> https://github.com/DavidJClark/phpVMS-Plugins_Manager/tree/master/admin/modules/Plugins
  23. Many threads about this using the search function -> One of particular interest - http://forum.phpvms.net/topic/8785-out-of-memory/
  24. Found using search -> http://forum.phpvms....file-specified/
  25. My only point is that it looks like an extension of what is already built when you are looking in from the outside, it doesn't help any when you name it the same thing. I do not care if you use the code as a base, after all you did the same thing after asking me about the exam center code to build your pilot academy, just at least name it something else. On another note, good luck with the module, everyone has a different idea how this should work. I stopped working on it once I realized that there was going to be no way that it could satisfy even a small portion of the users wanting it. That is why it is marked "deprecated" as you point out. I went on to custom build the feature for each client.
×
×
  • Create New...