What';s causing this subs.php error please?

Started by LandyVlad, Feb 25, 2019, 05:26 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LandyVlad

Feb 25, 2019, 05:26 AM Last Edit: Feb 25, 2019, 07:17 AM by Bigguy
A whole bunch have cropped up on Feb 22.
I've no idea where to start so any and all help welcome :)

Check all 
 Guest
 Feb 22, 2019, 11:36 am
 41.160.193.193
 057b92833e6e2496c9fab783b817e4d1
 Type of error: General
2: Invalid argument supplied for foreach()
 https://www.droneflightforum.com/index.php?action=help%3Bsa=rules;sslRedirect
 /home/dronefli/public_html/Sources/Subs.php (Line 3803)

 Guest
 Feb 22, 2019, 11:36 am
 41.160.193.193
 057b92833e6e2496c9fab783b817e4d1
 Type of error: General
2: array_reverse() expects parameter 1 to be array, null given
 https://www.droneflightforum.com/index.php?action=help%3Bsa=rules;sslRedirect
 /home/dronefli/public_html/Sources/Subs.php (Line 3803)

 Guest
 Feb 22, 2019, 11:36 am
 41.160.193.193
 057b92833e6e2496c9fab783b817e4d1
 Type of error: Undefined
8: Undefined index: template_layers
 https://www.droneflightforum.com/index.php?action=help%3Bsa=rules;sslRedirect
 /home/dronefli/public_html/Sources/Subs.php (Line 3803)

 Guest
 Feb 22, 2019, 11:36 am
 41.160.193.193
 057b92833e6e2496c9fab783b817e4d1
 Type of error: General
2: Invalid argument supplied for foreach()
 https://www.droneflightforum.com/index.php?action=help%3Bsa=rules;sslRedirect
 /home/dronefli/public_html/Sources/Subs.php (Line 3686)

 Guest
 Feb 22, 2019, 11:36 am
 41.160.193.193
 057b92833e6e2496c9fab783b817e4d1
 Type of error: Undefined
8: Undefined index: template_layers
 https://www.droneflightforum.com/index.php?action=help%3Bsa=rules;sslRedirect
 /home/dronefli/public_html/Sources/Subs.php (Line 3686)

 Guest
 Feb 22, 2019, 11:36 am
 41.160.193.193
 057b92833e6e2496c9fab783b817e4d1
 Type of error: Undefined
8: Undefined index: can_register
 https://www.droneflightforum.com/index.php?action=help%3Bsa=rules;sslRedirect
 /home/dronefli/public_html/Sources/Subs.php (Line 4618)

 Guest
 Feb 22, 2019, 11:36 am
 41.160.193.193
 057b92833e6e2496c9fab783b817e4d1
 Type of error: Undefined
8: Undefined index: id
 https://www.droneflightforum.com/index.php?action=help%3Bsa=rules;sslRedirect
 /home/dronefli/public_html/Sources/Subs.php (Line 4484)

 Guest
 Feb 22, 2019, 11:36 am
 41.160.193.193
 057b92833e6e2496c9fab783b817e4d1
 Type of error: Undefined
8: Undefined index: id
 https://www.droneflightforum.com/index.php?action=help%3Bsa=rules;sslRedirect
 /home/dronefli/public_html/Sources/Subs.php (Line 4475)

 Guest
 Feb 22, 2019, 11:36 am
 41.160.193.193
 057b92833e6e2496c9fab783b817e4d1
 Type of error: Undefined
8: Undefined index: is_guest
 https://www.droneflightforum.com/index.php?action=help%3Bsa=rules;sslRedirect
 /home/dronefli/public_html/Sources/Subs.php (Line 4470)

 Guest
 Feb 22, 2019, 11:36 am
 41.160.193.193
 057b92833e6e2496c9fab783b817e4d1
 Type of error: Undefined
8: Undefined index: can_mod
 https://www.droneflightforum.com/index.php?action=help%3Bsa=rules;sslRedirect
 /home/dronefli/public_html/Sources/Subs.php (Line 4451)

 Guest
 Feb 22, 2019, 11:36 am
 41.160.193.193
 057b92833e6e2496c9fab783b817e4d1
 Type of error: Undefined
8: Undefined index:
 https://www.droneflightforum.com/index.php?action=help%3Bsa=rules;sslRedirect
 /home/dronefli/public_html/Sources/Subs.php (Line 3091)

 Guest
 Feb 22, 2019, 11:36 am
 41.160.193.193
 057b92833e6e2496c9fab783b817e4d1
 Type of error: General
 https://www.droneflightforum.com/index.php?action=help%3Bsa=rules;sslRedirect
 Guest
 Feb 22, 2019, 11:36 am
 41.160.193.193
 057b92833e6e2496c9fab783b817e4d1
 Type of error: Undefined
8: Undefined index: You can only login via HTTPS
 https://www.droneflightforum.com/index.php?action=help%3Bsa=rules;sslRedirect
 /home/dronefli/public_html/Sources/Errors.php (Line 220)


I reject your reality, and substitute my own.

lesmond

If you hover over the help link, it looks like this on DFF

https://www.droneflightforum.com/index.php?PHPSESSID=1b9e08fc6807ab4316724a5abc20e23a&action=help
And here its looks like this..

https://www.smfhelper.com/index.php?action=help

lesmond

Something to do with PHPSESSID and I think thats server side, at the moment I cant remember how its fixed.

The only person who got all his work done by Friday was Robinson Crusoe

lesmond

If you hover over the help link, it looks like this on DFF

https://www.droneflightforum.com/index.php?PHPSESSID=1b9e08fc6807ab4316724a5abc20e23a&action=help
And here its looks like this..

https://www.smfhelper.com/index.php?action=help

The only person who got all his work done by Friday was Robinson Crusoe

Bigguy

Did you set up .htaccess for https at all.

LandyVlad

Umm well I told it to enforce https through the SMF software. Should I be doing something else?

edit - well there's a funny thing. I assume I should be looking in the public_html directory (my forum is installed there).

There is an htaccess file but it's completely empty !

I reject your reality, and substitute my own.

Bigguy

Feb 25, 2019, 06:52 AM #5 Last Edit: Feb 25, 2019, 09:24 AM by Bigguy
You need to set up a redirect there. I'll check mine out hold on. Put this in your htaccess file:

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

LandyVlad

I reject your reality, and substitute my own.

LandyVlad

Done! The issue that @lesmond pointed out is resolved and so it would appear the issue will be too !

Unsure why it just started happening on the 22nd but WGAF if it's fixed :)

Cheers

and thanks all.
I reject your reality, and substitute my own.