Jump to content

Strider

Members
  • Posts

    1816
  • Joined

  • Last visited

  • Days Won

    51

Posts posted by Strider

  1. 4 hours ago, ProAvia said:

    The issue might be specific to your website host.....

     

    First - back up the StatsData.class file

     

    Change

    
    $key_month = date('MY', $start);

    To

    
    $key_month = date('i', $start);

    Save the newly edited file, try it again and let us know of the outcome...... If it doesn't work, revert to the backup file.

     

    You could also just comment out the line and add the new one, if the new bit of code fails, you just have to delete the new code and uncomment the old

  2. Are they disappearing from the db? Or just not showing on the site? If so then I think what might be happening is when you put the code back, you add or take away code or an ; or something like that that is causing those to disappear. PHP can be very finaky when it comes to code. Miss a ; or a comma and all hell breaks loose. Also what file are you editing? If you have not done anything other then remove some code, try uploading the original file from a fresh download.

    • Thanks 1
  3. 14 minutes ago, edakridge said:

    PHP version=7.0

    MySQL version=10.2

    ALL permissions enabled

    I'm not really clear by what you mean by "Does the db user (ERA001) have access to use the database assigned for phpvms use?". If you are asking whether I am the site owner/admin, the answer is yes.

    Feel free to contact me through PM as well. I will be checking a couple of times a day.

     

    When you created the DB did you add ERA001 to the DB as the user or is it another user. Usually the user is the user of the cpanel account underscore and the name you chose, so it could be something like edakridge_era001, if you d ont add the first bit it can have trouble with it, as it won't recognise it as a user on the db. Which is basically what the error you got is telling you.

  4. I have updated this to 1.5 you can now select the schedid instead of having to go find it in the DB. You will just need to know the flightnumber used and select it from the dropdown in the add codeshare page

  5. I don't quite understand what you mean? phpvms by default puts the roster into hubs and shows them. This module lets you click on a hub and get more detail about the hub. Especially if you have set the roster to not show by hub.

  6. Regardless of phpvms version in the local.config file you need to change the lines that have been mentioned above. The module you are using should use that. But if I understand what you mean, you want to bid on more then 1 flight. Check the settings of the module in the admin side for that module. The code mentioned above just changes the ability for pilots to bid on the same flight.

  7. By the sounds it, the code is getting the information sent to it wrong, and instead of showing the flights, it is showing the no routes found. Sometimes it is just a simple change of code in the if/else statement. I have had that happen loads of times. Change where the "no routes found" to either the first part of the if/else and the other code to the other. so if it is:

     

    if($schedule = "true")
    {
    	*code for schedules
    }
    else
    {
    	echo = "No routes Found";
    }

    Change that to:

     

    if($schedule = "true")
    {
    	echo = "No Routes Found";
    }
    else
    {
    	*schedule code
    }

    I know the code i used most likely doesn't match the code in the module, but it is just to illustrate my point.

  8. During the reinstall, did you delete the tables  created the first time? If not did you change the prefix when installing? If you use the same prefix it can cause errors. Either use a different prefix or remove the tables created. As above don't remove recaptcha, make sure you have correct keys, and have put the right key in the right place. Also have you changed the php version?

  9. It doesn't give all the details from the pilots table, but it can be edited to do that. I will be working on the import function so if you have a server failure, and have lost details but you have downloaded the CSV you should be able to recover the pilots from that.

×
×
  • Create New...