Moderators shakamonkey88 Posted April 23, 2020 Moderators Report Share Posted April 23, 2020 You know you can right-click on things in a browser and select "inspect" it'll show you the details including the CSS elements and which file it can be found in. 1 Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted April 26, 2020 Moderators Report Share Posted April 26, 2020 Hello everyone, I'm sure the answer to my Q is somewhere in this long post but somehow I was't able to find it, so please if someone can tell me what's wrong with this skin not coming up correctly assuming I have followed all the installation steps. it gives me the header and footer error and seems the skin is not loading at all! Thanks Quote Link to comment Share on other sites More sharing options...
Moderators shakamonkey88 Posted April 27, 2020 Moderators Report Share Posted April 27, 2020 On 4/26/2020 at 9:22 AM, Parkho said: Hello everyone, I'm sure the answer to my Q is somewhere in this long post but somehow I was't able to find it, so please if someone can tell me what's wrong with this skin not coming up correctly assuming I have followed all the installation steps. it gives me the header and footer error and seems the skin is not loading at all! Thanks Are you using the correct version? https://github.com/web541/CrewCenter Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted April 27, 2020 Moderators Report Share Posted April 27, 2020 23 minutes ago, shakamonkey88 said: Are you using the correct version? https://github.com/web541/CrewCenter Yes. I used that one too Quote Link to comment Share on other sites More sharing options...
djtiger76 Posted April 27, 2020 Report Share Posted April 27, 2020 Hey @Parkho, You have screenshots or error messages you want to share? Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted April 27, 2020 Administrators Report Share Posted April 27, 2020 I am guessing you are using phpVMS 5.5.2..... Did you delete all the tpl files first and then replace with the PHP files? Anything related in the error_log file or issues in the console? Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted April 28, 2020 Moderators Report Share Posted April 28, 2020 Tpl filed were replaced the error is the header and footer is missing. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted April 28, 2020 Administrators Report Share Posted April 28, 2020 The header and footer won't show if not on the login or registration pages. See layout.php starting on line 53 <body> <?php echo $page_htmlreq; ?> <?php // var_dump($_SERVER['REQUEST_URI']); # Hide the header if the page is not the registration or login page # Bit hacky, don't like doing it this way if (!isset($_SERVER['REQUEST_URI']) || ltrim($_SERVER['REQUEST_URI'],'/') !== SITE_URL.'/index.php/login' || ltrim($_SERVER['REQUEST_URI'],'/') !== SITE_URL.'/index.php/registration') { if(Auth::LoggedIn()) { Template::Show('app_top.php'); } } ?> <div id="content"> <?php echo $page_content; ?> </div> <?php # Hide the footer if the page is not the registration or login page # Bit hacky, don't like doing it this way if (!isset($_SERVER['REQUEST_URI']) || ltrim($_SERVER['REQUEST_URI'],'/') !== SITE_URL.'/index.php/login' || ltrim($_SERVER['REQUEST_URI'],'/') !== SITE_URL.'/index.php/registration') { if(Auth::LoggedIn()) { Template::Show('app_bottom.php'); } } ?> Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted April 28, 2020 Moderators Report Share Posted April 28, 2020 5 hours ago, ProAvia said: The header and footer won't show if not on the login or registration pages. See layout.php starting on line 53 <body> <?php echo $page_htmlreq; ?> <?php // var_dump($_SERVER['REQUEST_URI']); # Hide the header if the page is not the registration or login page # Bit hacky, don't like doing it this way if (!isset($_SERVER['REQUEST_URI']) || ltrim($_SERVER['REQUEST_URI'],'/') !== SITE_URL.'/index.php/login' || ltrim($_SERVER['REQUEST_URI'],'/') !== SITE_URL.'/index.php/registration') { if(Auth::LoggedIn()) { Template::Show('app_top.php'); } } ?> <div id="content"> <?php echo $page_content; ?> </div> <?php # Hide the footer if the page is not the registration or login page # Bit hacky, don't like doing it this way if (!isset($_SERVER['REQUEST_URI']) || ltrim($_SERVER['REQUEST_URI'],'/') !== SITE_URL.'/index.php/login' || ltrim($_SERVER['REQUEST_URI'],'/') !== SITE_URL.'/index.php/registration') { if(Auth::LoggedIn()) { Template::Show('app_bottom.php'); } } ?> Okay! I'm not sure I'm following you on this, All the .php files are in the skin folder, layout.php looks okay and proper but don't know what's wrong. error log says header.tpl and footer.tpl are missing in class floder TemplateGet on line 231 which is the very end line of the file. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted April 28, 2020 Administrators Report Share Posted April 28, 2020 No idea why you are getting an error referencing header.tpl and footer.tpl - it shouldn't be calling any tpl files. The skin uses app_top.php for the header and app_bottom.php for the footer. In referende to your error_log - Line 231 of which file? The layout.php file has only 113 lines. Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted April 28, 2020 Moderators Report Share Posted April 28, 2020 20 minutes ago, ProAvia said: No idea why you are getting an error referencing header.tpl and footer.tpl - it shouldn't be calling any tpl files. The skin uses app_top.php for the header and app_bottom.php for the footer. In referende to your error_log - Line 231 of which file? The layout.php file has only 113 lines. Please see attached image. This is what I get when the skin loads. To me, the skins doesn't load at all and seems it's being skipped somehow. Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted April 28, 2020 Administrators Report Share Posted April 28, 2020 Ah - Seeing that pic helps. So the skin isn't loading at all then. If you change back to the default crystal skin, does it display correctly? Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted April 28, 2020 Moderators Report Share Posted April 28, 2020 10 minutes ago, ProAvia said: Ah - Seeing that pic helps. So the skin isn't loading at all then. If you change back to the default crystal skin, does it display correctly? Yes it does. Quote Link to comment Share on other sites More sharing options...
gio1961 Posted April 28, 2020 Report Share Posted April 28, 2020 10 minutes ago, Parkho said: Yes it does. What version of phpvms is installed? if version 5.5 of David is installed try to install the php version skin https://github.com/web541/CrewCenter/tree/master/php_templates Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted April 28, 2020 Moderators Report Share Posted April 28, 2020 8 minutes ago, gio1961 said: What version of phpvms is installed? if version 5.5 of David is installed try to install the php version skin https://github.com/web541/CrewCenter/tree/master/php_templates That's the version I'm using Quote Link to comment Share on other sites More sharing options...
gio1961 Posted April 28, 2020 Report Share Posted April 28, 2020 2 minutes ago, Parkho said: That's the version I'm using I have installed at least 8-10 of Crewcenter skins and never had problems. I also use it on my test site. David phpvms 5.5 version. on the php5.6 server Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted April 28, 2020 Administrators Report Share Posted April 28, 2020 It almost looks like it isn't pulling the css. What directory is phpVMS installed in? Is it /public_html/crewcenter/ ? What directory is crewcenter installed in? Is it /public_html/crewcenter/lib/skins/crewcenter/ ? Quote Link to comment Share on other sites More sharing options...
gio1961 Posted April 29, 2020 Report Share Posted April 29, 2020 See also here if it can be useful https://forum.phpvms.net/topic/21335-header-and-footer-error-solved/ Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted April 29, 2020 Moderators Report Share Posted April 29, 2020 11 hours ago, ProAvia said: It almost looks like it isn't pulling the css. What directory is phpVMS installed in? Is it /public_html/crewcenter/ ? What directory is crewcenter installed in? Is it /public_html/crewcenter/lib/skins/crewcenter/ ? Okay! I don't know what to say but I did a fresh install of 5.5x by David and the skin came up but the css is not loading which I think might be the links issue. Thanks for your help guys I much appreciate it. Cheers Quote Link to comment Share on other sites More sharing options...
viniicmoraes Posted June 3, 2020 Report Share Posted June 3, 2020 Hello, I would like to know if anyone who uses this skin has already managed to change the live map because I can't do it at all? someone please? Quote Link to comment Share on other sites More sharing options...
RedKingOne Posted June 3, 2020 Report Share Posted June 3, 2020 12 minutes ago, viniicmoraes said: Hello, I would like to know if anyone who uses this skin has already managed to change the live map because I can't do it at all? someone please? What are you waiting to change it to? Quote Link to comment Share on other sites More sharing options...
viniicmoraes Posted June 3, 2020 Report Share Posted June 3, 2020 2 minutes ago, Shadesb181 said: O que você está esperando para mudar isso? I've been researching and saw that there are other versions of PHPvms that are already using for example the leaflet as a map base, I tried to do the conversion as there is a post here on the forum but using the crewcenter skin the map is simply all blank, but using the skin crystal works normally! would have any way to help me? Quote Link to comment Share on other sites More sharing options...
Jasong92 Posted January 9, 2021 Report Share Posted January 9, 2021 How do I go about adding other pilots to the phpvms crew centre I can’t figure it out? Quote Link to comment Share on other sites More sharing options...
Administrators ProAvia Posted January 9, 2021 Administrators Report Share Posted January 9, 2021 3 hours ago, Jasong92 said: How do I go about adding other pilots to the phpvms crew centre I can’t figure it out? Pretty sure they apply via the registration page. Once they do that, you approve there membership via the admin panel. Quote Link to comment Share on other sites More sharing options...
Jasong92 Posted January 9, 2021 Report Share Posted January 9, 2021 8 hours ago, ProAvia said: Pretty sure they apply via the registration page. Once they do that, you approve there membership via the admin panel. That’s great thank you 😎✈️ 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.