QUICK NEWS

{NEW} - A new css video is up.

{OLD} - New video courtesy of Skhilled, Thanks for posting it up.

Video of the moment:


Internal Links

SMF Sites

Quick Info

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

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)


Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

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.
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

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 !

Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Bigguy

#5
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]
"It's the American dream....cause ya have to be asleep to believe it." - George Carlin

LandyVlad

Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

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.
Please do not PM me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.