Rickisani Posted February 17, 2019 Report Share Posted February 17, 2019 (edited) I called my VA back to life and put it back on phpvms 5. I put my old skin and the old Modules back in place but somehow on the side some bug reports and I do not know how to get them away. Also I can not add airports via look up Maybe someone can help me. http://www.fly-freedomair.com Edited February 17, 2019 by Rickisani Quote Link to comment Share on other sites More sharing options...
Rickisani Posted February 18, 2019 Author Report Share Posted February 18, 2019 I have completely rebuilt my VA on the phpvms5.5, so far very good. Have taken my old skin, the layout.tpl changed to php, but somehow he does not display the data in the frontpage_main.tpl. I use the skin: brilliancev1 Can somebody help me with it Quote Link to comment Share on other sites More sharing options...
Heritage1 Posted February 20, 2019 Report Share Posted February 20, 2019 First and fore most, what exactly is your Server setup, meaning, is it a Free Hosting company or is it a REAL hosting plan?? This matters in a Major way. Second, What is your PHP Version you are running on your Server? I did look at your site, and for you to use ANY OLD modules, your php version MUST be 5.3.xx, Anything else as far as some older modules will not work. Some do, and some do not. Jim Quote Link to comment Share on other sites More sharing options...
Rickisani Posted February 20, 2019 Author Report Share Posted February 20, 2019 I have a pay-server, which I have for this site and there are also PHP version 5.3.xx. I've been able to repair a lot myself, but I have a little problem with the footer, how do I get it down the middle? http://www.fly-freedomair.com Quote Link to comment Share on other sites More sharing options...
PaintSplasher Posted February 20, 2019 Report Share Posted February 20, 2019 #footer {background: url(../images/footer-bg.jpg) no-repeat 50% 0px} Quote Link to comment Share on other sites More sharing options...
Rickisani Posted February 21, 2019 Author Report Share Posted February 21, 2019 the css line is: #footer{ background:url(../images/footer-bg.jpg) no-repeat; height:80px; overflow:hidden; color:#939393; padding:0 20px; line-height:44px; font-size:10px; } Quote Link to comment Share on other sites More sharing options...
PaintSplasher Posted February 21, 2019 Report Share Posted February 21, 2019 Old: #footer{ background:url(../images/footer-bg.jpg) no-repeat; height:80px; overflow:hidden; color:#939393; padding:0 20px; line-height:44px; font-size:10px; } New: #footer{ background:url(../images/footer-bg.jpg) no-repeat 50% 0px; height:80px; overflow:hidden; color:#939393; padding:0 20px; line-height:44px; font-size:10px; } Quote Link to comment Share on other sites More sharing options...
Rickisani Posted February 22, 2019 Author Report Share Posted February 22, 2019 I replaced the code but no effect Quote Link to comment Share on other sites More sharing options...
Moderators shakamonkey88 Posted February 22, 2019 Moderators Report Share Posted February 22, 2019 2 hours ago, Rickisani said: I replaced the code but no effect You haven't replaced the code. Look at the following images - PaintSplasher's code works fine. Quote Link to comment Share on other sites More sharing options...
Rickisani Posted February 22, 2019 Author Report Share Posted February 22, 2019 the code was in it, but it was up to me on the browser cache Quote Link to comment Share on other sites More sharing options...
Rickisani Posted February 23, 2019 Author Report Share Posted February 23, 2019 (edited) I still have a small problem with the VAForum2, after the re-setup and alignment are still error messages Quote Forum Index Deprecated: Non-static method ForumData::is_moderator() should not be called statically, assuming $this from incompatible context in /var/www/web144317/html/core/templates/forum_index.php on line 7 Deprecated: Non-static method ForumData::get_cats() should not be called statically, assuming $this from incompatible context in /var/www/web144317/html/core/templates/forum_index.php on line 8 Help Desk Deprecated: Non-static method ForumData::is_admin() should not be called statically, assuming $this from incompatible context in /var/www/web144317/html/core/templates/forum_index.php on line 39 Edit Category Deprecated: Non-static method ForumData::get_forums_cat() should not be called statically, assuming $this from incompatible context in /var/www/web144317/html/core/templates/forum_index.php on line 43 Deprecated: Non-static method ForumData::get_topic_count() should not be called statically, assuming $this from incompatible context in /var/www/web144317/html/core/templates/forum_index.php on line 52 Deprecated: Non-static method ForumData::get_post_count() should not be called statically, assuming $this from incompatible context in /var/www/web144317/html/core/templates/forum_index.php on line 52 Deprecated: Non-static method ForumData::get_topic_count() should not be called statically, assuming $this from incompatible context in /var/www/web144317/html/core/templates/forum_index.php on line 52 Deprecated: Non-static method ForumData::get_post_count() should not be called statically, assuming $this from incompatible context in /var/www/web144317/html/core/templates/forum_index.php on line 52 Freedom-Air ForumWelcome to Freedom-Air VATopics: Posts:3 10Edit Screenshot/VideosScreenshot/VideosTopics: Posts:1 2Edit News Deprecated: Non-static method ForumData::is_admin() should not be called statically, assuming $this from incompatible context in /var/www/web144317/html/core/templates/forum_index.php on line 39 Edit Category Deprecated: Non-static method ForumData::get_forums_cat() should not be called statically, assuming $this from incompatible context in /var/www/web144317/html/core/templates/forum_index.php on line 43 Deprecated: Non-static method ForumData::get_topic_count() should not be called statically, assuming $this from incompatible context in /var/www/web144317/html/core/templates/forum_index.php on line 52 Deprecated: Non-static method ForumData::get_post_count() should not be called statically, assuming $this from incompatible context in /var/www/web144317/html/core/templates/forum_index.php on line 52 New Aircraft presentednew aircraft are presented hereTopics: Posts:1 1Edit Deprecated: Non-static method ForumData::is_admin() should not be called statically, assuming $this from incompatible context in /var/www/web144317/html/core/templates/forum_index.php on line 66 AdministrationCreate new Category | Create New Board | User Management Edited February 23, 2019 by Rickisani Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted February 23, 2019 Administrators Report Share Posted February 23, 2019 27 minutes ago, Rickisani said: I still have a small problem with the VAForum2, after the re-setup and alignment are still error messages Go to each line listed and change "function" to "static function" Quote Link to comment Share on other sites More sharing options...
Rickisani Posted February 23, 2019 Author Report Share Posted February 23, 2019 no that does not work, in the respective lines there is no "function" 1 Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted February 24, 2019 Administrators Report Share Posted February 24, 2019 What are the respective lines? Quote Link to comment Share on other sites More sharing options...
Heritage1 Posted February 25, 2019 Report Share Posted February 25, 2019 Not to interupt, but your running a newer version of php.ini file, which more then likely is newer then 5.3.xx, more then likely your version of php on your server is at least 5.5.xx, vaForums will NOT work with any version of php over 5.3.xx, period, many older modules do not work with the newer versions of php either. There is a fix for this, but its a hassle to say the least. If you can change your php version down to 5.3.xx this would solve all of your problems. Your other option is to enter in the Modules, (advanced) in some cases, this; public function to , public static function..........this is a hit or miss on this. Some work, some do not. Hope this helps you. Jim Quote Link to comment Share on other sites More sharing options...
Rickisani Posted March 12, 2019 Author Report Share Posted March 12, 2019 after integrating the recaptcha v2 I have the following warning at the top of the header area: Warning: Cannot modify header information - headers already sent by (output started at /var/www/web144317/html/core/app.config.php:1) in /var/www/web144317/html/index.php on line 74 Warning: Cannot modify header information - headers already sent by (output started at /var/www/web144317/html/core/app.config.php:1) in /var/www/web144317/html/index.php on line 76 Warning: Cannot modify header information - headers already sent by (output started at /var/www/web144317/html/core/app.config.php:1) in /var/www/web144317/html/index.php on line 78 in the reference to the index.php, the following can be found: 73: // http://blogs.msdn.com/b/ieinternals/archive/2010/03/30/combating-clickjacking-with-x-frame-options.aspx?Redirected=true 74: header('X-Frame-Options: SAMEORIGIN'); 75: // http://blogs.msdn.com/b/ieinternals/archive/2011/01/31/controlling-the-internet-explorer-xss-filter-with-the-x-xss-protection-http-header.aspx 76: header('X-XSS-Protection: 1'); 77: // http://msdn.microsoft.com/en-us/library/ie/gg622941(v=vs.85).aspx 78: header('X-Content-Type-Options: nosniff'); how do I get this message / warnings away Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted March 12, 2019 Administrators Report Share Posted March 12, 2019 (edited) The file causing the error is "app.config.php", the one listed between the ( ). There is a problem in the first file listed that is causing the second file not to function properly. Is there a blank line before the opening "<?php" line? Is there a blank line after the closing "?>" line? Or after the last line of the file? If so, remove the blank line. Also make sure there are no spaces before or after the opening/closing php tags. EDIT: do NOT add a closing php tag if there isn't one present. Having no closing php tag pregents blank lines or whitespace in the output -- at least in this particular file (app.config.php). Edited March 12, 2019 by ProAvia Closing php tag note Quote Link to comment Share on other sites More sharing options...
Rickisani Posted March 12, 2019 Author Report Share Posted March 12, 2019 <?php /** * phpVMS - Virtual Airline Administration Software * Copyright (c) 2008 Nabeel Shahzad * For more information, visit www.phpvms.net * Forums: http://www.phpvms.net/forum * Documentation: http://www.phpvms.net/docs * * phpVMS is licenced under the following license: * Creative Commons Attribution Non-commercial Share Alike (by-nc-sa) * View license.txt in the root, or visit http://creativecommons.org/licenses/by-nc-sa/3.0/ * * @author Nabeel Shahzad * @copyright Copyright (c) 2008, Nabeel Shahzad * @link http://www.phpvms.net * @license http://creativecommons.org/licenses/by-nc-sa/3.0/ */ /** * DO NOT MODIFY THESE SETTINGS HERE!! * They will get over-ridden in an update. These are just defaults * To change, copy-paste and change the line/option/setting into your * local.config.php file * * Most of these are in your local.config.php already * * View the docs for details about these settings */ . . . that's the part, and there are no blank spaces in it Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted March 12, 2019 Administrators Report Share Posted March 12, 2019 That is not the entire file contents. If there is a blank line at the end of the file, remove it. As with many errors, Google is your friend. Put this in a Google search and look at a few of the results for a possible solution: Warning: Cannot modify header information - headers already sent by (output started at Are you also getting this error with a default install of 5.5.2 - or with your modded version? Quote Link to comment Share on other sites More sharing options...
Rickisani Posted March 12, 2019 Author Report Share Posted March 12, 2019 (edited) I have the version of Simpilot GroupCurrent 5.5.2 and before I had recaptcha v2 on it, everything was fine, only then came the top message. I looked at the "app.config.php" and also was not an empty line Edited March 12, 2019 by Rickisani Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted March 13, 2019 Administrators Report Share Posted March 13, 2019 I thought Simpilot's phpVMS 5.5.2 already had ReCaptcha v2. All you would need to do then is acquire your own set of ReCaptcha keys from Google and place them in the appropriate places in the local.config file. If that is so, this post - https://forum.phpvms.net/topic/25571-upgrading-recaptcha-to-v2/ - is for upgrading phpVMS 2.x to ReCaptcha v2 Maybe someone else can verify this??? Quote Link to comment Share on other sites More sharing options...
thunder175 Posted March 13, 2019 Report Share Posted March 13, 2019 A fresh installation after downloading from GitHub of 5.5.2 will need upgrading to v2. Follow the instructions in the link ProAvia provided. Quote Link to comment Share on other sites More sharing options...
Rickisani Posted March 13, 2019 Author Report Share Posted March 13, 2019 So far so good, I have updated the version of Simpilot's phpVMS 5.5.2 with the Recaptcha v2. Before I used the Recaptcha v2, there was no message on the header, only then, even my log in comes a warning message: Warning: Cannot modify header information - headers already sent by (output started at /var/www/web144317/html/core/app.config.php:1) in /var/www/web144317/html/core/modules/Login/Login.php on line 128 Warning: Cannot modify header information - headers already sent by (output started at /var/www/web144317/html/core/app.config.php:1) in /var/www/web144317/html/core/modules/Login/Login.php on line 136 Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted March 13, 2019 Administrators Report Share Posted March 13, 2019 As a test - do a fresh install of version 5.5.2. Don't do the update to recaptcha v2, just put the recaptcha keys in local.config.php. then test to see if it works. Quote Link to comment Share on other sites More sharing options...
Rickisani Posted March 20, 2019 Author Report Share Posted March 20, 2019 (edited) fresh install of version 5.5.2 from gifthub, no update to recaptcha v2, recaptcha v2 keys in local.config.php and see: http://www.fly-freedomair.com/free/index.php/registration Edited March 20, 2019 by Rickisani Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted March 20, 2019 Administrators Report Share Posted March 20, 2019 (edited) For clarification - did you or did you not add Recaptcha v2 keys to local.config.php? No idea why you are getting the Warning at the top of the page. What is the path from the root directory to the phpvms install (where you uploaded the phpVMS files to on your server)? Mine is 'root/public_html/airline_name/phpvms'. I have installed phpVMS 5.5.2 several times in the past few days while working on a project. I added Recaptcha keys to local.config.php after installation and recaptcha works fine - without any need to update to Recaptcha v2. What is the link to the Github repository you used to download phpVMS 5.5.2? Edited March 20, 2019 by ProAvia Quote Link to comment Share on other sites More sharing options...
Rickisani Posted March 20, 2019 Author Report Share Posted March 20, 2019 this is the Link: I have uploaded it to a subdirectory and have given the database an additional character, without recaptcha the site worked without problems you could not register because of missing recaptcha Quote Link to comment Share on other sites More sharing options...
thunder175 Posted March 20, 2019 Report Share Posted March 20, 2019 This is not 5.5.2 and could be a good cause for the confusion. Try with a fresh install of the latest v2 following the link from the thread you posted above. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted March 20, 2019 Administrators Report Share Posted March 20, 2019 (edited) If you want phpVMS 5.5.2 by Simpilot, get it here: https://github.com/DavidJClark/phpvms_5.5.x The version 5 by Nabeel is version 2.x (classic) updated to work with PHP version 7.0 . It doesn't seem to work correctly with PHP version 7.2 though.... ask me how I know. Edited March 21, 2019 by ProAvia Quote Link to comment Share on other sites More sharing options...
Rickisani Posted March 21, 2019 Author Report Share Posted March 21, 2019 (edited) So can I use the version in the link with recaptcha v2? edit: okay, I have overwritten the old files and now it is with recaptcha v2. thanks again http://www.fly-freedomair.com/index.php But it can be that there are still problems with the exam center? Edited March 21, 2019 by Rickisani Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.