Jump to content

KenG

Members
  • Posts

    69
  • Joined

  • Last visited

Everything posted by KenG

  1. Thank you, I looked at the error log and there is nothing regarding maintenance.php. All of my phpvms cron jobs are failing on trying to authenticate as user 0. Is there a simple test cronjob I can run that would not try to authenticate with phpvms? OK, I found a simple cronjob to test (checks if the website is up or down) and it worked fine. It seems phpvms that is throwing the errors, i.e. no user 0 and not my host. Could my .htaccess file be causing problems with cron? I can get back with my host. They are a VA based hosting so they generally understand phpvms, but I don't think they realize that simpilot's 5.5.2 is coded for php 5.6. Thank you, -Ken
  2. phpvms 5.5.2 on php 5.5: I am getting the following errors trying to run maintenance.php as a cronjob. Warning: Creating default object from empty value in /home/flyelite/public_html/admin/maintenance.php on line 26 Unauthorized access - Invalid Permissions. Return to Homepage Line 26 is: Auth::$userinfo->pilotid = 0; When I run maintenance.php while logged on from my admin user account, it runs without problems. When I ask my host provider about it, they say phpvms is not compatible with php 5.5 and to downgrade to php 5.3. However, this makes no difference yet frags my forums. Is there a way I can tell cron to log on as my admin account or another way to make maintenance.php compatible with php 5.5? Thank you, -Ken
  3. Looks completely random to me. Where can I change the class of a module?
  4. Is there a way to list the addons in the Admin folder in alphabetical order?
  5. Thank you, I can change php version in cpanel, however I need at least version 5.5 for my fourms.
  6. Thank you, I did that and the Cron Job ran last night with the same error.
  7. Parkho, Thank you, so you recommend I add the following code to the end of local.conflig.php? if(defined('ADMIN_PANEL') && ADMIN_PANEL === true) { Template::SetTemplatePath(SITE_ROOT.'/admin/templates'); define('CODON_MODULES_PATH', SITE_ROOT.'/admin/modules'); define('CODON_DEFAULT_MODULE', 'Dashboard'); } else { Template::SetTemplatePath(Config::Get('BASE_TEMPLATE_PATH')); define('CODON_MODULES_PATH', SITE_ROOT.'/core/modules'); define('CODON_DEFAULT_MODULE', 'Frontpage'); }
  8. For some reason, this line is causing my cronjobs to fail. There is no pilotid = 0 so I am not sure where it is supposed to get its permissions from but I am getting the following errors when it autoruns: Unauthorized access - Invalid Permissions Should there be a pilotid of 0 in my database? This happened after the update to phpvms 5.5.2 and change to php version 5.5. I can run any of these jobs manually while I am logged onto the site. I am thinking a possible admin privilege issue??? Thank you for any help, -Ken
  9. Interesting, I have SMF 2.0.12 and phpvms 5.5.2 running under php 5.5 and it is not working. I was wondering if maybe a different version of php or if I can get this running with a manual call.
  10. Update, deleting the test database did not change anything.
  11. Got some of it sorted out but two cron jobs still posting errors. Seems in both cases it is a problem with authentication of user 0. I had a test database and I deleted it today so I will see if I am still getting user 0 errors. I can run both scripts manually and they do just fine.
  12. Anyway to run this manually such as part of the registration_complete.php? Seems the automated listener is not working correctly.
  13. Thank you, that seems to have worked.
  14. OK, thank you. I am using 5.5.2 so that must be the reason I am unable to get it to work correctly and the line numbers that Web541 gave do not seem to match up. -Ken
  15. I hate to narcopost, but can you tell me which lines you ended up putting this into. I tried this myself as I am having the same problem in phpvms 5.5.2 and would like to get this to properly pay crew by the hour.
  16. This one seems to have cleaned up the errors. I'll see if when it runs tonight any additional errors show up.
  17. Yes, it was working prior yo updating to 5.5.2. I'll try the changes you recommended. Thank you, -Ken
  18. After upgrading to phpvms 5.5.2 I am now getting the following errors when the Cron Job for maintenance.php is run. <b>Notice</b>: A non well formed numeric value encountered in <b>/home/flyelite/public_html/core/common/StatsData.class.php</b> on line <b>171</b><br /> <div id="codon_crit_error" style="font-family: 'Lucida Sans',Verdana;border:#999 1px solid;background-color:#fff;padding:20px 20px 12px 20px;"> <h1 style="font-family: verdana; font-weight:16px;font-size:18px;color:#6B001B;margin:0 0 4px 0;">An Error Was Encountered</h1> <p style="font-size: 16px; color: #001B6B">Unauthorized access - Invalid Permissions.</p> Line 171 computes the months since a date, not sure where the error is occurring. Any help would be appreciated.
  19. Thank you, it was the rank images had to be disabled from the signatures.
  20. I can't seem to find this anywhere else in the forums, I upgraded to phpvms 5.5.2 and when I accept a PIREP I am getting the following error. Any ideas?
  21. For ranks with multiple aircraft is there a way to add a comma and space between each aircraft. else { foreach($rankai as $ran) {echo $ran->icao; } } ?></td> Fairly certain I need to modify this area, but I am not sure how to place a ", " between each call of the foreach command.
  22. I found it. Somehow the phpvmsadmin.js and template.cvs in the admin/lib folder were deleted from the site. Once I restored those two files everything is working perfect again.
  23. Thank you, I tried refreshing the browser. I even tried opening in a different browser and I am getting the same thing.
  24. No errors on the admin page at all.
×
×
  • Create New...