Jump to content

Daniboi

Members
  • Posts

    35
  • Joined

  • Last visited

Everything posted by Daniboi

  1. Thanks for the answers! I did a backup, and the actual result was it will recalculate the Count so if a pilot would have a wrong count it would be corrected. Sometimes, I need to just fiddle around to learn about the admin section 😅
  2. Hello! Just a quick question, what does the Reset Pilot PIREP count actually mean? Does it mean to update it to 0 (zero) or just readjust them to be right?
  3. Hello @CarlosEduardo2409 when someone tries to update their profile from the edit profile Page. They Get the error: The email address cannot be blank. That always happen. I also Get this error when I aprrove a flight or someting similar Warning: imagecreatefromstring(): Empty string or invalid image in /home/vol8_3/epizy.com/epiz_24713782/norwegianairvirtualcc.rf.gd/htdocs/core/common/PilotData.class.php on line 1016 Thanks
  4. Okay, Thank you! I don’t have, or want to spend money for now on hosting, but why does free hosting has some limitations?
  5. I am attempting to add a bid from schedules view. I am using Free hosting I will contact and hear. What file is the view call in?
  6. I Get the same errors with the Default skin. Phpvms version is 5.5.x Php version is 5.6 The Mysql version is not stated. I am mainly using Elaskin as my skin
  7. Hello, When I Click on Bid flight, I Get this error: Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘Schedules’ does not have a method ‘viewaction.php’ in /home/vol8_3/epizy********/norwegianairvirtualcc.rf.gd/htdocs/core/classes/MainController.class.php on line 218. Thanks:
  8. Where can I download the JS and CSS files @Parkho?
  9. I got them, but Thank you for helping đŸ‘đŸ»
  10. I didn’t Get the template files in the zip file I downloaded
  11. It’s perfect, as what you saw if you clicked on the Picture link, you can see what I did with your help, Thank you!
  12. Thank you @PikoSim! this is what I did with what you helped me with, I am into php, but the phpvms is diffrent from what I am used to. Picture And @ProAvia, it wasn’t pilot Information site I would like to reach, I have already it and I just wanted to show the latest flights from that pilot.
  13. And this is the code I use to try to display the reports, but it only gives an empty Array: <?php echo PIREPData::getLastReports($pilot->pilotid, 5, PIREP_ACCEPTED); ?>
  14. This is the code in PIREPData.class.php: public static function getLastReports($pilotid, $count = 1, $status = '') { if($pilotid == '') { return false; } $sql = 'SELECT * FROM ' . TABLE_PREFIX . 'pireps WHERE pilotid=' . intval($pilotid); # Check it via the status if ($status != '') { $sql .= ' AND accepted=' . intval($status); } $sql .= ' ORDER BY submitdate DESC LIMIT ' . intval($count); if ($count == 1) return DB::get_row($sql); else return DB::get_results($sql); }
  15. It shows all stuff for the pilot in the database, but it still have a empty Array.
  16. That code made it show everything for the pilot, but not the thing I wanted?
  17. Am I going to add that in the pilot_public_profile.php file?
  18. Hello once again! Today, I got a problem because I want to view 5 most recent flights for a pilot in the pilot_public_profile.php file. this is what I tried to add, but didn’t work, I just got a emty Array of the flights: <?php echo PIREPData::getLastReports($pilot->pilotid, 5, PIREP_ACCEPTED); The $pilot variable is the variable that is Main used in the file.
  19. No, I haven’t changed, the Mark Swan skin works with the map. So I don’t know what to do.
  20. Okay, does someone have Issues with the map on paid hosting? I have tried to Get my Maps I have been working on there.
  21. Does someone know How to fix the issue of the map? @CarlosEduardo2409
  22. Yes it’s a free hosting, that hosting is pretty good, but that might be the problem?
  23. Yes, the error is: Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'Schedules' does not have a method 'viewaction.php' in /home/vol8_3/epizy.com/epiz_**private**/**mydomain.com**/htdocs/core/classes/MainController.class.php on line 218
  24. This is my error: https://drive.google.com/file/d/1vI3a0frCAw13CzNPyuO6BApkLrV22WCD/view?usp=drivesdk
×
×
  • Create New...