Jump to content
Sign in to follow this  
Rickisani

help

Recommended Posts

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 by Rickisani

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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;

	}

 

Share this post


Link to post
Share on other sites

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;

	}

 

Share this post


Link to post
Share on other sites

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 by Rickisani

Share this post


Link to post
Share on other sites
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"

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 by ProAvia
Closing php tag note

Share this post


Link to post
Share on other sites
<?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

 

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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 by Rickisani

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×