help

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

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

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

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

#footer {background: url(../images/footer-bg.jpg) no-repeat 50% 0px}

 

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; }

 

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; }

 

I replaced the code but no effect

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.

the code was in it, but it was up to me on the browser cache

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

 

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”

no that does not work, in the respective lines there is no “function”

What are the respective lines?

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

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

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).

\<?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

 

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?

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