Install issues

Hi,

I've installed with installer and login with admin password. It will throw up errors on the page and then it logs me out of admin.

Code:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; timer has a deprecated constructor in /home3/wowblitz/gameserverslist.net/sources/misc/classes.php on line 455

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; skin has a deprecated constructor in /home3/wowblitz/gameserverslist.net/sources/misc/skin.php on line 23

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; main_skin has a deprecated constructor in /home3/wowblitz/gameserverslist.net/sources/misc/skin.php on line 204

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; in has a deprecated constructor in /home3/wowblitz/gameserverslist.net/sources/in.php on line 23

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; admin has a deprecated constructor in /home3/wowblitz/gameserverslist.net/sources/admin.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /home3/wowblitz/gameserverslist.net/sources/misc/classes.php:455) in /home3/wowblitz/gameserverslist.net/sources/admin.php on line 145
 

Mark

Administrator
Staff member
the logout is happening because these warnings are being displayed, if you disable error reporting things should continue to work. You could also roll back to an older version of PHP.

We will make sure to update the methods (likely to use __construct instead) for next release.
 
I've tried 7.1 which I was on. 5.6 and 5.4 php and it still when I log into panel it will log me out when I choose a link to go to. I took care of the errors though.
 

cajkan

Active Member
Hi,

I've installed with installer and login with admin password. It will throw up errors on the page and then it logs me out of admin.

Code:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; timer has a deprecated constructor in /home3/wowblitz/gameserverslist.net/sources/misc/classes.php on line 455

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; skin has a deprecated constructor in /home3/wowblitz/gameserverslist.net/sources/misc/skin.php on line 23

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; main_skin has a deprecated constructor in /home3/wowblitz/gameserverslist.net/sources/misc/skin.php on line 204

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; in has a deprecated constructor in /home3/wowblitz/gameserverslist.net/sources/in.php on line 23

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; admin has a deprecated constructor in /home3/wowblitz/gameserverslist.net/sources/admin.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at /home3/wowblitz/gameserverslist.net/sources/misc/classes.php:455) in /home3/wowblitz/gameserverslist.net/sources/admin.php on line 145
Hello VL isnt stable yet for PHP 7+

Recommended is to use PHP 5.6 for now
 
Here are my settings now and still does the same thing.

Code:
date___timezone

America/Chicago
engine

On
short_open_tag

On
asp_tags

Off
precision

12
y2k_compliance

On
output_buffering

Off
zlib___output_compression

Off
implicit_flush

Off
unserialize_callback_func

serialize_precision

100
safe_mode

Off
safe_mode_gid

Off
safe_mode_include_dir

safe_mode_exec_dir

safe_mode_allowed_env_vars

PHP_
safe_mode_protected_env_vars

LD_LIBRARY_PATH
disable_functions

dl
disable_classes

expose_php

Off
max_execution_time

30
max_input_time

60
memory_limit

256M
error_reporting

Off
display_errors

Off
display_startup_errors

Off
log_errors

On;
ignore_repeated_errors

Off
ignore_repeated_source

Off
report_memleaks

On
track_errors

Off
error_log

error_log;
variables_order

"EGPCS"
register_globals

Off
register_argc_argv

On
post_max_size

64M
gpc_order

"GPC"
magic_quotes_gpc

Off
magic_quotes_runtime

Off
magic_quotes_sybase

Off
auto_prepend_file

auto_append_file

default_mimetype

"text/html"
include_path

".:/opt/php56/lib/php";
doc_root

user_dir

zend_extension

/opt/php56/lib/php/extensions/no-debug-non-zts-20131226/ZendGuardLoader.so
extension_dir

"/opt/php56/lib/php/extensions/no-debug-non-zts-20131226"
enable_dl

Off
file_uploads

On
upload_max_filesize

64M
allow_url_fopen

On
allow_url_include

On
max_file_uploads

20
default_socket_timeout

60
define_syslog_variables

Off
smtp_port

25
sendmail_path

/usr/sbin/sendmail -t -i;
sql___safe_mode

Off
odbc___allow_persistent

Off
odbc___check_persistent

Off
odbc___max_persistent

-1
odbc___max_links

-1
odbc___defaultlrl

4096
odbc___defaultbinmode

1
mysql___allow_persistent

Off
mysql___max_persistent

-1
mysql___max_links

-1
mysql___default_port

mysql___default_socket

mysql___default_host

mysql___default_user

mysql___default_password

mysql___connect_timeout

60
mysql___trace_mode

Off
msql___allow_persistent

Off
msql___max_persistent

-1
msql___max_links

-1
pgsql___allow_persistent

Off
pgsql___auto_reset_persistent

Off
pgsql___max_persistent

-1
pgsql___max_links

-1
pgsql___ignore_notice

0
pgsql___log_notice

0
sybase___allow_persistent

On
sybase___max_persistent

-1
sybase___max_links

-1
sybase___min_error_severity

10
sybase___min_message_severity

10
sybase___compatability_mode

Off
sybct___allow_persistent

On
sybct___max_persistent

-1
sybct___max_links

-1
sybct___min_server_severity

10
sybct___min_client_severity

10
dbx___colnames_case

"unchanged"
bcmath___scale

0
ifx___default_host

ifx___default_user

ifx___default_password

ifx___allow_persistent

On
ifx___max_persistent

-1
ifx___max_links

-1
ifx___textasvarchar

0
ifx___byteasvarchar

0
ifx___charasvarchar

0
ifx___blobinfile

0
ifx___nullformat

0
session___save_handler

files
session___save_path

/tmp
session___use_cookies

1
session___name

PHPSESSID
session___auto_start

0
session___cookie_lifetime

0
session___cookie_path

/
session___cookie_domain

session___serialize_handler

php
session___gc_probability

1
session___gc_divisor

100
session___gc_maxlifetime

1440
session___bug_compat_42

1
session___bug_compat_warn

1
session___referer_check

session___entropy_length

0
session___entropy_file

session___cache_limiter

nocache
session___cache_expire

180
session___use_trans_sid

0
url_rewriter___tags

"a=href,area=href,frame=src,input=src,form=,fieldset="
mssql___allow_persistent

On
mssql___max_persistent

-1
mssql___max_links

-1
mssql___min_error_severity

10
mssql___min_message_severity

10
mssql___compatability_mode

Off
mssql___secure_connection

Off
ingres___allow_persistent

On
ingres___max_persistent

-1
ingres___max_links

-1
ingres___default_database

ingres___default_user

ingres___default_password

pfpro___defaulthost

"test-payflow.verisign.com"
pfpro___defaultport

443
pfpro___defaulttimeout

30
in the official Zend Guard Documentation___ 0 - no obfuscation is enabled

extension

"ixed.5.6.lin"
 

Basti

Administrator
Staff member
Which version of vl are you installing? Prior to 1.4 we had no automatic www or https handling, thus when you logged into admin using www.site.com but admin links are site.com , same with http/https ( admin links use the domain set in admin settings ),
you would be logged out, because the session was for www and does not exist without www
 

Basti

Administrator
Staff member
Can you also confirm that you login for example using www.site.com and the links in admin are the same with www ? To make sure we not face a bug here
 

Basti

Administrator
Staff member
Ok, not debuggable this way anymore. There seems to be a bug or something.

Mind dropping me ftp info and admin password? via PM
 

Basti

Administrator
Staff member
Just to keep it documented:

At some point, index.php ( where settings_sql.php is ) was edited. Something was placed right at the top of the file and when whatever what was there got deleted, a white line ( line break ) was kept at the top.
That is not valid, everything in vl goes through this index.php file and set cookies, and header() calls require to have no output before they are called.

So, because of this white line ( line break ) no cookie was generated and this error wasn't visible until looking directly into error log ( because error display was shut down )
 
Top