kevin7898 Posted April 24, 2010 Report Share Posted April 24, 2010 i have tried to reinstall several times and useing several themes and this is what i get when i try to find a flight: This is what i get in the admin centre: i will also add that i have entered several flights from KJFK Quote Link to comment Share on other sites More sharing options...
MrAmsterdam Posted April 24, 2010 Report Share Posted April 24, 2010 I have a problem like this. On my site, there are 4 bids you can add.... nothing more. When i look at the admin panel, i see all the flights. they are not all in the bids so that you cannot see them or something. they are available in the admin section, but NOT in the regular website view. I have got the latest update... Any help? Regards, Lucas Quote Link to comment Share on other sites More sharing options...
MrAmsterdam Posted April 24, 2010 Report Share Posted April 24, 2010 So.. i found the solution to my problem.. it looks like the days of the week were changed... normally i have got all my scheduled active all week.. now it looks like we had almost no flights available in the weekend. Other problem of Kevin sticks though... Regards, Lucas Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted April 24, 2010 Administrators Report Share Posted April 24, 2010 @kevin7898 Check and see if they are actually in the database. If they are, are any of them for the day of the week you are in, have an aircraft assigned, and the aircraft are not assigned to a rank higher than yours. If still no luck, try and post any error message you are getting in the browser, and any debug info here in the forum. How to get debug info in phpVMS I am running 930 on my local and can not seem to duplicate the issue without taking something out. Quote Link to comment Share on other sites More sharing options...
kevin7898 Posted April 24, 2010 Author Report Share Posted April 24, 2010 all of the schedules that i added were in the database and i made sure i was qualified to use the aircraft and i also made sure that all of the days to fly were checked i did all of the debugging steps and it came up with no errors and when i gao into xacars if i know the flight number it will pull all of the required info Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted April 24, 2010 Administrators Report Share Posted April 24, 2010 Hmmmm... It seems to work on my version of 930, what is the link to your site? Quote Link to comment Share on other sites More sharing options...
kevin7898 Posted April 25, 2010 Author Report Share Posted April 25, 2010 Hmmmm... It seems to work on my version of 930, what is the link to your site? http://transamericacargo.kevinstruckpics.com/index.php/ Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted April 25, 2010 Administrators Report Share Posted April 25, 2010 I show one schedule on your site from here, using ie8. What are you using for a browser? How many schedules should there be? Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted April 25, 2010 Report Share Posted April 25, 2010 I am also having this problem. But it is restricted only to the admin page. I get zero schedules displayed in admin. All seem to be there when I view from the normal site. I have cleared the cache many times with no luck. I copied everything in 930 over what I had with no joy. Quote Link to comment Share on other sites More sharing options...
Strider Posted April 25, 2010 Report Share Posted April 25, 2010 I am having the same, there are no flights showing up yet, they are in the database and in the admin, but they wont show on the main schedules page on the site. And I have not restricted the aircraft to specific ranks. Cheers Dan C Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 25, 2010 Administrators Report Share Posted April 25, 2010 Can you guys enable debug_log and check the logs folder, and email me the the logs folder zipped up? Quote Link to comment Share on other sites More sharing options...
Guest lorathon Posted April 25, 2010 Report Share Posted April 25, 2010 Can you guys enable debug_log and check the logs folder, and email me the the logs folder zipped up? I enabled debug. Set logs folder and all files to 777 and still all files are showing empty. Even after emptying the cache also. Quote Link to comment Share on other sites More sharing options...
Strider Posted April 25, 2010 Report Share Posted April 25, 2010 I found the problem nabeel, when i edited the csv file, the days of the week i thought it was 1234567, but it is 0123456, the 0 does not work as it automatically disappears when you put it in front, maybe if it was changed to 1234567 it would work. I have my schedules fixed now. Cheers Dan C Quote Link to comment Share on other sites More sharing options...
kevin7898 Posted April 25, 2010 Author Report Share Posted April 25, 2010 I found the problem nabeel, when i edited the csv file, the days of the week i thought it was 1234567, but it is 0123456, the 0 does not work as it automatically disappears when you put it in front, maybe if it was changed to 1234567 it would work. I have my schedules fixed now. Cheers Dan C where was this csv file? Quote Link to comment Share on other sites More sharing options...
Strider Posted April 26, 2010 Report Share Posted April 26, 2010 YOu have to export the schedules, they will be exported in csv format. Cheers Dan C Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 26, 2010 Administrators Report Share Posted April 26, 2010 http://bugs.phpvms.net/browse/VMS-285 Edit: The problem is the PHP date function says Sunday is 0. You can set in Excel that column as a string so it won't chop off the zero. Or in the schedule_results.tpl, you can do: Find this: if(strpos($route->daysofweek, date('w')) === false) continue; Right above that, add: /* Check if a 7 is being used for Sunday, since PHP thinks 0 is Sunday */ $route->daysofweek = str_replace('7', '0', $route->daysofweek); I've updated the default template to handle this Quote Link to comment Share on other sites More sharing options...
Dom Posted April 26, 2010 Report Share Posted April 26, 2010 Hey kevin7898 To replace the "SchedulesData.class.php" file of the version 930, by the "SchedulesData.class.php" file of the version 854 in the "Core / Commons" and the tour is played. Good flight Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 26, 2010 Administrators Report Share Posted April 26, 2010 Hey kevin7898 To replace the "SchedulesData.class.php" file of the version 930, by the "SchedulesData.class.php" file of the version 854 in the "Core / Commons" and the tour is played. Good flight DO NOT do this! Bad bad bad idea! I posted the fix for the problem above Quote Link to comment Share on other sites More sharing options...
Dom Posted April 26, 2010 Report Share Posted April 26, 2010 DO NOT do this! Bad bad bad idea! I posted the fix for the problem above Ah ok sorry Nabeel! I try to help also! But is where the corrective , because I have need also, thank you? Dom Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 26, 2010 Administrators Report Share Posted April 26, 2010 This post, scroll up: http://forum.phpvms.net/topic/2698-flight-schedule-is-not-showing-up/page__view__findpost__p__17915 Quote Link to comment Share on other sites More sharing options...
Dom Posted April 26, 2010 Report Share Posted April 26, 2010 This post, scroll up: http://forum.phpvms.net/topic/2698-flight-schedule-is-not-showing-up/page__view__findpost__p__17915 correctif ne pas fonctionne pas desolé / corrective doesn't function sorry not Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 26, 2010 Administrators Report Share Posted April 26, 2010 correctif ne pas fonctionne pas desolé / corrective doesn't function sorry not I said in the other thread, I need the log files from you, if there's anything coming in the logs Quote Link to comment Share on other sites More sharing options...
Dom Posted April 26, 2010 Report Share Posted April 26, 2010 I said in the other thread, I need the log files from you, if there's anything coming in the logs Difficult translation and understanding, I don't understand what you want like newspapers. It is not serious, let like that I go unravel me as I can, can be to keep the version 854 that functions. Thank you! Quote Link to comment Share on other sites More sharing options...
kevin7898 Posted April 26, 2010 Author Report Share Posted April 26, 2010 http://bugs.phpvms.net/browse/VMS-285 Edit: The problem is the PHP date function says Sunday is 0. You can set in Excel that column as a string so it won't chop off the zero. Or in the schedule_results.tpl, you can do: Find this: if(strpos($route->daysofweek, date('w')) === false) continue; Right above that, add: /* Check if a 7 is being used for Sunday, since PHP thinks 0 is Sunday */ $route->daysofweek = str_replace('7', '0', $route->daysofweek); I've updated the default template to handle this ive solved it, i found a new web host, i was using 000webhost.com before, and now it works, now to see if the flight shows up on the live map Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 26, 2010 Administrators Report Share Posted April 26, 2010 Ahh yes, free hosts - they cause problems all over the place. Quote Link to comment Share on other sites More sharing options...
kevin7898 Posted April 26, 2010 Author Report Share Posted April 26, 2010 ive solved it, i found a new web host, i was using 000webhost.com before, and now it works, now to see if the flight shows up on the live map but the odd thing is that i had it working before with 000webhost.com and others currently use them with out any difficulty Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 27, 2010 Administrators Report Share Posted April 27, 2010 but the odd thing is that i had it working before with 000webhost.com and others currently use them with out any difficulty But you never know, with those hosts, one day might be fine, the next might be screwy. You get what you pay for... Quote Link to comment Share on other sites More sharing options...
AlexS Posted August 18, 2013 Report Share Posted August 18, 2013 It doesn't work for me. http://www.airtranvirtual.net/ I tried the fix, didn't work 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.