Jump to content

t_bergman

Members
  • Posts

    246
  • Joined

  • Last visited

Everything posted by t_bergman

  1. Im pretty sure it was the right one, I've got a free day and hopefully I can get this tracked down. Its really weird that is only happens on the schedule details page. I've been exploring my entire sight and it doesn't seem to do it anywhere else.
  2. I found the extra div, now that I took that out and cleared my browsers cache it is still not populating properly. Any Ideas? Thanks
  3. have you updated the kacars module on the server side?
  4. Wait, your advertising a web hosting service that directly competes with fivedev which is owned by nabeel? The creator of the wonderful free system called phpVMS.
  5. Right content and left content are side by side, then there are divs within them. Here's my code, Im not quite sure which div's are not closed properly. <div id="pageContent"> <div id="leftColumn"> <div id="navMenu"> <p style="text-align:center; font-family:Impact, Haettenschweiler, Arial Narrow Bold, sans-serif; color:#02335C; font-size:large; line-height: 0px;">Navigation</p> <?php Template::Show('core_navigation.tpl'); ?> <hr /> <?php MainController::Run('Pages', '__call', 'navigation', ''); ?> </div> </div> <div id="rightColumn"> <div id="leftContent"> <div id="mail"> <?php MainController::Run('Mail', 'checkmail'); ?> </div> <div id="contentFrame"> <?php echo $page_content; ?> </div> </div> <div id="rightContent"> <p style="text-align:center; font-family:Impact, Haettenschweiler, Arial Narrow Bold, sans-serif; color:#02335C; font-size:large; line-height:0px;">VATSIM Info</p> <div id="fllAreaATC"> <p style="text-align:left; font-family:Impact, Haettenschweiler, Arial Narrow Bold, sans-serif; color:#0078C0; font-size:medium; line-height:0px;">FLL Area ATC</p> <?php MainController::Run('Vatsim', 'create_vatsim_data', '!CLIENTS:', 'ATC', array('KFLL', 'MIA')); ?> </div> <div id="hphFlights"> <p style="text-align:left; font-family:Impact, Haettenschweiler, Arial Narrow Bold, sans-serif; color:#0078C0; font-size:medium; line-height:0px;">HPH Flights</p> <?php MainController::Run('Vatsim', 'create_vatsim_data', '!CLIENTS:', 'PILOT', 'HPH'); ?> </div> <p style="text-align:center; font-family:Impact, Haettenschweiler, Arial Narrow Bold, sans-serif; color:#02335C; font-size:large; line-height:0px;">PIREPS/Members</p> <div id="recentPIREPS"> <p style="text-align:left; font-family:Impact, Haettenschweiler, Arial Narrow Bold, sans-serif; color:#0078C0; font-size:medium; font-weight:100;">Recent PIREPS</p> <?php MainController::Run('PIREPS', 'RecentFrontPage', 5); ?> </div> <div id="newMembers"></div> <p style="text-align:left; font-family:Impact, Haettenschweiler, Arial Narrow Bold, sans-serif; color:#0078C0; font-size:medium; font-weight:100;">New Members</p> <?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?> </div> <?php // <p style="text-align:left; font-family:Impact, Haettenschweiler, Arial Narrow Bold, sans-serif; color:#0078C0; font-size:medium; font-weight:100;">Users Online</p> // <?php count($usersonline = StatsData::UsersOnline()); ?> </div> </div> </div> Thanks for taking the time to look at this.
  6. I'm not sure what is up with my css but its acting weird and maybe someone might know whats going on. When I access most of my website everything acts normal like it should. When I access certain pages like the details of a flight (http://ams.hphvirtua...dules/details/1) the right content pane ends up at the bottom of the page, while when I access the homepage (http://ams.hphvirtual.com/index.php/) everything works as normal. I am not sure which css style sheet the schedule detail is feeding from, I have tried editing the table width in the .tpl file to no avail. Thanks,
  7. You do not have to overwrite the profile_main template, simply place it in a custom skin directory and it will work. icons still need to be placed in the images folder.
  8. Not if you follow the update instructions. Remeber to always have a backup incase you need to revert back.
  9. Thanks simpilot, I'll try this tonight and report back.
  10. Ken, After error reporting (php) was turned on, you may have to dig through the local config file for phpvms, I was able to see the errors which were associated with manually filing a PIREP. After I attempted to file a pirep you will be redirected to your pireps page and should see an error. The kacars errors were found by turning on ACARS debugging and in the acars log files, make sure IIS has the correct permissions to write to the files. Hope this helps.
  11. Depends on your policies, I can't speak for the VA central rating but I would remove pilots who are not contributing to the overall mission of your virtual airline.
  12. I'm only posting to give you perspective and not to sway your decision, but you could always still operate vUS Air as a legacy virtual airline. Good luck with your endeavor.
  13. Otherwise if there's a way to output only the page name, I've tried <?php echo $pagename;?> but that hasn't gotten me anywhere. Thanks for the help.
  14. Its custom. I am looking to remove it from the browser tab, my ultimate goal is to put a static title in <title> section in the <head> section of the layout.tpl file. and then use the dynamic page title on other parts of the skin.
  15. Right, but I am only looking to remove the site name and not the page title. So if im looking at my profile the title is "Profile - Hemisphere Virtual Airlines". I am wonder how do I get it to only say "Profile"?
  16. Does anyone know how to remove the site name in the page title? Thanks
  17. Guide to phpVMS on Windows (IIS) Servers First let me thank Nabeel for all of his hard work on phpVMS, it truly is a wonderful system. This guide is for those of us who need to be hosting in a Windows environment; just like Linux, Windows environments vary and this is simply a guide to getting phpVMS up and running and not a tutorial. This guide is divided into a few different sections: first why I decided to write this guide, myhosting environment, installation and modification on the phpVMS files and databases, modifications made to the hosting environment, other known solutions to hosting phpVMS in a Windows based environment, and food for thought. I decided to write this guide as there must be someone besides me who wishes to host phpVMS in a Windows environment. phpVMS is such wonderful system that I don’t think people should be turned off to the system when it doesn’t work when installed under IIS without modification. Before we get into the technical stuff let me say that phpVMS was designed and should be run under Linux, if you’re hosting it under windows please do so for a good reason. This guide is also simply here as information and does not guarantee a successful installation under Windows. I am hosting phpVMS under Windows Server 2008 R2 Datacenter edition, using PHP v5.3.19 and MySQL v5.6. Both PHP and MySQL are installed using the Microsoft Web Platform Installer. Both are without modification when starting the phpVMS installation, automatic updates are turned on. Start off with running the phpVMS install script in a folder of your choice, my preference is to put all applications under the wwwroot folder to avoid any permissions complications. Create a MySQL database with the appropriate user permissions and install phpVMS per install/install.php. Once phpVMS is installed there are two quirks to the system, you cannot file manual or automatic PIREPS and data isn’t being transmitted to acarsdata database. After some thinking and a lot of coffee this seems to be an issue with how PHP under IIS’s fastcgi module is processing the phpVMS code, somewhere there must be an error. To get started tracking down the error, set up an aircraft along with a flight for you to test your installation with. After trying different php.ini settings, after setting mysql.trace_mode to on I was able to see the errors which were occurring. Make sure you restart your website after changings php.ini values. Before trying to auto file a PIREP I was only trying to manually file one. After going through all of the errors, I was able to get the manual filing system working by providing NULL as a default value to the price, gross, pilot pay, expenses, and revenue fields in the PIREPS table. The next challenge was how to get ACARS information onto the moving map and file PIREPS automatically. To find the errors for auto PIREP filing open the local.config.php file, this can be done in notepad but I prefer using Notepad++, change the ACARS_DEBUG and DEBUG_MODE to true. In theory by doing this all errors should be logged in the logs section. ./core/logs. These are where your logs are located and will provide you (assuming the phpVMS has the correct permissions to write the logs) the error which arise. While invoking errors you will need to start kACARS or another program several times as only one error comes up at a time. After correcting the errors within the database, these deal with a value not having a default value for me and all I had to do was add NULL to the record, phpVMS should be operating as if it were on Linux. The final step for me was to get the SMTP mail function working. To do this I added the appropriate fields to my php.ini file, the local.config.php, and the class.phpmailer.php, appropriate fields being my SMTP settings of my email host for the no-reply account. Another known solution is to install MySQL in strict mode, this was tested and confirmed by another forum member, I have also had luck while using the WAMP web server along with a local install of MySQL. Some food for thought: I have not tested phpVMS which is hosted on a different server as the MySQL server is located, this may hurt or help the issue of running phpVMS under windows. Hopefully you have found this guide helpful in getting your phpVMS install squared away on Windows. If I ever do another install from scratch I plan on updating this post with pictures to make it more of a tutorial.
  18. I suggest you contact your hosting providers support line, they will be able to help you with all cpanel issues.
  19. If you turn the logs on, do you see any error messages?
  20. I need ASP for a few of the other applications hosted on the server. IIS is the issue but once you can get it to work, it works just as well as on linux. Plus im not a linux guru so...
  21. Yes, it is the correct type of database. I asked because my installation (on a windows server) wasn't cooperating. I have gotten both the phpvms system working and now the checkdb.php file is working. Weird. I will post something tonight for the good of the community of how to install phpvms under IIS 7.5. Thanks Tom for the reply, it seems to be working now.
  22. I am having issues filing pireps with a new installation of phpVMS, after running the dbtest.php I encounter this error. I seem to be missing a file? After looking through and downloading phpvms again I cannot find the file, even on github. What else can I do to solve this error. Thanks.
  23. I have manual PIREP entry working and am trouble shooting ACARS. I have had to edit the tables a lot but it is working. Is this normal for a windows installation using IIS?
×
×
  • Create New...