Jump to content

Recommended Posts

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

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

Posted

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

Posted

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;

	}

 

Posted

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;

	}

 

Posted (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 by Rickisani
  • Administrators
Posted
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"

Posted

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

  • 2 weeks later...
Posted

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

  • Administrators
Posted (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 by ProAvia
Closing php tag note
Posted
<?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

 

  • Administrators
Posted

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?

Posted (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 by Rickisani
  • Administrators
Posted

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

Posted

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

 

  • Administrators
Posted

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.

  • Administrators
Posted (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 by ProAvia
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...