Administrators Nabeel Posted April 28, 2011 Administrators Report Share Posted April 28, 2011 Changed Files: m core/version m install/hashlist m install/sql/structure.xml m install/update.php m unittest/Tests/UserTest.php fixed update script for proper groups View complete changes Download from here Link to comment Share on other sites More sharing options...
TAV1702 Posted April 28, 2011 Report Share Posted April 28, 2011 Hi Nabeel. I am currently way behind yet again. I am currently on Version 2.1.v2.1.934-75-g25792f4 . If I was to try to update to day to this version, would I need to revamp my template? I see many updates since I upgraded last and I fear template issues galore if I blindly try now. Ray Link to comment Share on other sites More sharing options...
Moderators Kyle Posted April 28, 2011 Moderators Report Share Posted April 28, 2011 Nabeel, Found one error when populating tables.... Writing Tables... Populating Initial Data... Writing to "" table... You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Writing to "" table... You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Writing to "" table... You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 And then after creating a Admin Account... On Top... You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 2You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 2 and on top of the admin info fields... www\phpvms_revs\1146\install\includes\Installer.class.php 279 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 2 Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 28, 2011 Author Administrators Report Share Posted April 28, 2011 Hi Nabeel. I am currently way behind yet again. I am currently on Version 2.1.v2.1.934-75-g25792f4 . If I was to try to update to day to this version, would I need to revamp my template? I see many updates since I upgraded last and I fear template issues galore if I blindly try now. Ray No you don't have to revamp templates, though the stock templates are revamped - only variables are renamed. See this: https://github.com/nshahzad/phpVMS/issues/38 Thanks Vansers, I will take a look. That's weird since it seemed like the install had worked from my end. Did the install work, though? Link to comment Share on other sites More sharing options...
Moderators Kyle Posted April 28, 2011 Moderators Report Share Posted April 28, 2011 Yeah I think it worked. But I have no Admin Access. Link to comment Share on other sites More sharing options...
Moderators Kyle Posted April 28, 2011 Moderators Report Share Posted April 28, 2011 And also, when I go to the sechdules. I got the error... ( ! ) Warning: Invalid argument supplied for foreach() in www\phpvms_revs\1146\core\modules\Schedules\Schedules.php on line 228 Link to comment Share on other sites More sharing options...
Moderators Kyle Posted April 28, 2011 Moderators Report Share Posted April 28, 2011 And again.... when I go to file PIREP, I got the error as well ( ! ) Warning: Invalid argument supplied for foreach() in www\phpvms_revs\1146\core\modules\PIREPS\PIREPS.php on line 374 Link to comment Share on other sites More sharing options...
Moderators joeri Posted April 29, 2011 Moderators Report Share Posted April 29, 2011 no errors from my side Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 29, 2011 Author Administrators Report Share Posted April 29, 2011 Those seem like errors mainly on a clean install - I will check those out, thanks! Link to comment Share on other sites More sharing options...
Moderators Kyle Posted April 29, 2011 Moderators Report Share Posted April 29, 2011 Those seem like errors mainly on a clean install - I will check those out, thanks! Yeah they were clean install. Link to comment Share on other sites More sharing options...
Moderators joeri Posted April 30, 2011 Moderators Report Share Posted April 30, 2011 found one bug total flights count is off Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 30, 2011 Author Administrators Report Share Posted April 30, 2011 found one bug total flights count is off By how much? Link to comment Share on other sites More sharing options...
Moderators joeri Posted April 30, 2011 Moderators Report Share Posted April 30, 2011 don't know exactly but its not this Total Flights: 74744188 so i think somewhere its going wrong Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted April 30, 2011 Author Administrators Report Share Posted April 30, 2011 delete everything in the core/cache folder and then accept a pirep see if that works Link to comment Share on other sites More sharing options...
Moderators mark1million Posted April 30, 2011 Moderators Report Share Posted April 30, 2011 I am having the following problem when it runs the update.php. Fixing settings for Mark Grant Warning: Invalid argument supplied for foreach() in install/update.php on line 116 Warning: Invalid argument supplied for foreach() in /install/update.php on line 120 Link to comment Share on other sites More sharing options...
Moderators joeri Posted April 30, 2011 Moderators Report Share Posted April 30, 2011 now its even more crazy just done a pirep and now look at the value 75025713 something is going crazy Link to comment Share on other sites More sharing options...
Moderators mark1million Posted April 30, 2011 Moderators Report Share Posted April 30, 2011 I have more groups than defined, i think thats what has caused the problem. Link to comment Share on other sites More sharing options...
Moderators mark1million Posted April 30, 2011 Moderators Report Share Posted April 30, 2011 Plus the template email_registrationaccepted.tpl is coming from the core/templates not the active skin templates. Link to comment Share on other sites More sharing options...
Moderators mark1million Posted April 30, 2011 Moderators Report Share Posted April 30, 2011 Also running the maintenance.php i get the following, Notice: Undefined index: autoretire in /core/common/PilotData.class.php on line 753 Notice: Undefined index: autoretire in /core/common/PilotData.class.php on line 753 Notice: Undefined index: autoretire in /core/common/PilotData.class.php on line 753 Notice: Undefined index: autoretire in /core/common/PilotData.class.php on line 753 Notice: Undefined index: group_add in /core/common/PilotData.class.php on line 359 Notice: Undefined index: group_remove in /core/common/PilotData.class.php on line 365 Notice: Undefined index: group_add in /core/common/PilotData.class.php on line 359 Notice: Undefined index: group_remove /core/common/PilotData.class.php on line 365 Link to comment Share on other sites More sharing options...
Moderators mark1million Posted April 30, 2011 Moderators Report Share Posted April 30, 2011 EDIT:- Nabeel Sorry about that, i forgot that i copied from the app.config.php to local when the release was originally done, I just deleted from the local.config.php and ran the updater again and all is well Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 1, 2011 Author Administrators Report Share Posted May 1, 2011 EDIT:- Nabeel Sorry about that, i forgot that i copied from the app.config.php to local when the release was originally done, I just deleted from the local.config.php and ran the updater again and all is well So which issues remain? Link to comment Share on other sites More sharing options...
Moderators mark1million Posted May 1, 2011 Moderators Report Share Posted May 1, 2011 The only real issue i have come across is the pilot pay in the finances, previous months are 0. Link to comment Share on other sites More sharing options...
Moderators joeri Posted May 1, 2011 Moderators Report Share Posted May 1, 2011 The only real issue i have come across is the pilot pay in the finances, previous months are 0. thats one off it yeah i forgot to mention mark can you look at the total flights off your airline Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 1, 2011 Author Administrators Report Share Posted May 1, 2011 What about the current month? Link to comment Share on other sites More sharing options...
Moderators joeri Posted May 1, 2011 Moderators Report Share Posted May 1, 2011 thats going ok one more thing i found but unsure problem started this rev registration email accepted is now send out off the normal core/templates but i have one in my lib/skins folder its now taking the one out off the core and not annymore from the skins folder gr joeri Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 1, 2011 Author Administrators Report Share Posted May 1, 2011 thats going ok one more thing i found but unsure problem started this rev registration email accepted is now send out off the normal core/templates but i have one in my lib/skins folder its now taking the one out off the core and not annymore from the skins folder gr joeri Can you add a bug for that, so I don't forget? Thanks Link to comment Share on other sites More sharing options...
Moderators mark1million Posted May 1, 2011 Moderators Report Share Posted May 1, 2011 Current month is good. Not sure about some of the stats though. Total Flights: 1654676, i think thats a bit high Link to comment Share on other sites More sharing options...
Moderators mark1million Posted May 2, 2011 Moderators Report Share Posted May 2, 2011 Nabeel, How do you add another group, is it just a case of adding to the config file or is there somewhere else it has to be created? Link to comment Share on other sites More sharing options...
Moderators mark1million Posted May 2, 2011 Moderators Report Share Posted May 2, 2011 Ah dont worry, just answered my own question thats pretty good, just add to the array and presto it appears Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted May 2, 2011 Author Administrators Report Share Posted May 2, 2011 Ah dont worry, just answered my own question thats pretty good, just add to the array and presto it appears Magic! Link to comment Share on other sites More sharing options...
Recommended Posts