Jump to content

CPC900

Members
  • Posts

    621
  • Joined

  • Last visited

Everything posted by CPC900

  1. Bump I know this is prbably an easy one, but obviously not for me at this time
  2. Sorry, but I am having trouble(again) with my frontpage/css/header. If you look at my site: http://www.canadianclassicairlines.com/CPC/ There is a large gap from the bottom of the dropdown menu to the top of the news there. I need to seal that gap I have been playing with everything from the .css file to the header.tpl/frontpage_main.tpl and am having no luck. I feel I am overthinking this. Any help would be appreciated.
  3. CPC900

    Importing Schedules

    I have a fall schedule and a spring schedule, like the real CP Air did. So what I do is, replace the one with the other when daylight savings happens. But when I do this, some schedules will not get picked up properly in the pilots data, I believe...because they temporarily don't exist. So my quesation is......is there a way to have ALL the scedules in the database at all times, but only show the spring ones in the spring and the fall ones in the fall?! Hope I am making sense
  4. CPC900

    Signatures

    Ok, I finally fixed it, after reading over and over again what you all told me Sorry, but sometimes, I am a total MORON apparently. It is good now. The folder permissions were fine, but I made the .png files all 777 in the signatures folder and all is fine. The individual .png files were 644 or something. Not sure why that was.
  5. CPC900

    Signatures

    Sorry Dave, but I need to know exactly where the code goes, and what the correct line of code actually is
  6. CPC900

    Signatures

    Dave, sorry to come back to this after so long, but I never did get it fixed As for what you said above, where EXACTLY did you mean, when you said:
  7. CPC900

    Error

    Oops, I should have done a better search Thanks Dave, much appreciated.
  8. CPC900

    Error

    Tried to approve a pirep, and it seemed like it did it fine, but with this one user, I got this error twice?! : Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 71 bytes) in /home/woodsdom/public_html/CPC/core/common/StatsData.class.php on line 162
  9. The website looks very good. Good luck with your VA.
  10. Well, this is a trustworthy user, so I can only assume he still has his KAcars running and hasn't clued in yet. I emailed him already, so I will wait for now
  11. On our Acars map, there is a flight that won't clear off the map. The user must have had a FS computer crash, because it's position is the the coast of africa; equator/prime meridian. I have cleared the cache and reset the acars table, but the flight keeps popping back up?! How/why is that happening?
  12. CPC900

    Signatures

    I can't remember now, is there a list for PHPVMS of what folder and file permissions, SHOULD be set to?! Sorry, if that seems like an obvious question, but I am at a loss right now
  13. CPC900

    Signatures

    Correction. It did not fix it. I don't get the error pop up, but it does NOT change the signature with updated hours, nor will it change the sig pic from the pilot profile. So something, somewhere, I must have broken
  14. CPC900

    Signatures

    Thanks Dave, that fixed it Bruce
  15. CPC900

    Signatures

    Ok, I will look into it. I have had NO time to fix it since I last posted. Thanks for the input Dave, I will take a look! It's weird though, why would it have changed?! Oh well. Probably something I did
  16. CPC900

    Signatures

    I will review the code when I get home later. As for the "/", I did remove that just to see, but no luck. I will copy and paste your code here to see. But I was wondering if I would have changed the PilotData.class.php code for some reason?! I sure don't remember why, if I did. Thanks, will keep u posted.
  17. CPC900

    Signatures

    Yeah, it is set to 777, thanks. But I was asking why there were double slash's in the address. I think therein lies the problem. I just don't know why that would have changed?!
  18. Ok, I have read the forum, but don't think the answer is there?! I get this error now, and not sure why or what I might have done to get it: Warning: imagepng() [function.imagepng]: Unable to open '/home/########/public_html/CPC//lib/signaturesCPC0001.png' for writing: Permission denied in /home/########/public_html/CPC/core/common/PilotData.class.php on line 1001 Now I noticed a double "//" above in the "/home/########/public_html/CPC//lib/signaturesCPC0001.png" part and was wondering if that is the problem? If it is, I have no idea why there are 2 slashes there?!? Line 1001 in my PilotData.class.php is: imagepng($img, SITE_ROOT . SIGNATURE_PATH . '/' . $pilotcode . '.png', 1);
  19. Yeah, thanks Jeff I used it on mine as well. http://canadianclassicairlines.com/CPC/
  20. On that note, how can you show the pilot roster with the status of "On Leave"?? I could not find it in a search, but I remember it being on the forum a long time ago, on how to display that.
  21. I deleted the vatsim files and reinstalled fresh, and now the error I get is: Notice: The template file "/home/woodsdom/public_html/CPC//core/templates/vatsim.tpl" doesn't exist in /home/woodsdom/public_html/CPC/core/classes/TemplateSet.class.php on line 248 What the heck am I missing?! After it gave me that error, I copied the vatsim.tpl file into the /core/templates/ directory, just to check(because it installs to the /core/templates/vatsim directory by default, and it came up on the page with the log data for AAL (because I was just testing the default AAL ) and I got this on the screen: row_info 0 callsign-> = AAL109 row_info 1 cid-> = 1089801 row_info 2 realname-> = Benjimann Law VHHH row_info 3 clienttype-> = PILOT row_info 4 frequency-> = row_info 5 latitude-> = 42.29617 row_info 6 longitude-> = -70.83425 row_info 7 altitude-> = 2699 row_info 8 groundspeed-> = 287 row_info 9 planned_aircraft-> = T/B752/F row_info 10 planned_tascruise-> = 500 row_info 11 planned_depairport:-> = EGLL row_info 12 planned_altitude:-> = 37000 row_info 13 planned_destairport:-> = KBOS row_info 14 server:-> = USA-N row_info 15 protrevision:-> = 100 row_info 16 rating:-> = 1 row_info 17 transponder:-> = 2200 row_info 18 facilitytype:-> = row_info 19 visualrange:-> = row_info 20 planned_revision:-> = 2 row_info 21 planned_flighttype:-> = I row_info 22 planned_deptime:-> = 0 row_info 23 planned_actdeptime:-> = 712 row_info 24 planned_hrsenroute:-> = 0 row_info 25 planned_minenroute:-> = 0 row_info 26 planned_hrsfuel:-> = 0 row_info 27 planned_minfuel:-> = 0 row_info 28 planned_altairport:-> = KJFK row_info 29 planned_remarks:-> = row_info 30 planned_route:-> = CPT UL9 KENET UN14 BAKUR DCT RESNO 56N200W 56N300W 56N400W 55N500W OYSTR STEAM N220B TOPPS SCUPP row_info 31 planned_depairport_lat:-> = 0 row_info 32 planned_depairport_lon:-> = 0 row_info 33 planned_destairport_lat:-> = 0 row_info 34 planned_destairport_lon:-> = 0 row_info 35 atis_message:-> = row_info 36 time_last_atis_received:-> = row_info 37 time_logon:-> = 20111031060131 row_info 38 heading:-> = 309 row_info 39 QNH_iHg:-> = 30.398 row_info 40 QNH_Mb:-> = 1029 ------- So, I assume that should have gone into the "vatsimdata.txt" file. Man, I am getting frustrated. Things that should be easy seem to be made hard by my lack of intellect
  22. Here's mine with a "real" ticket background: http://www.canadianclassicairlines.com/CPC/index.php/schedules/boardingpass/15189
  23. I get: Warning: fopen(vatsimdata.txt) [function.fopen]: failed to open stream: Permission denied in /home/woodsdom/public_html/CPC/core/modules/Vatsim/Vatsim.php on line 31 Warning: fwrite(): supplied argument is not a valid stream resource in /home/woodsdom/public_html/CPC/core/modules/Vatsim/Vatsim.php on line 32 Warning: fclose(): supplied argument is not a valid stream resource in /home/woodsdom/public_html/CPC/core/modules/Vatsim/Vatsim.php on line 33 Warning: file(vatsimdata.txt) [function.file]: failed to open stream: No such file or directory in /home/woodsdom/public_html/CPC/core/modules/Vatsim/Vatsim.php on line 36 Warning: Invalid argument supplied for foreach() in /home/woodsdom/public_html/CPC/core/modules/Vatsim/Vatsim.php on line 39 I am guessing it is a permission thing, or no?!
×
×
  • Create New...