Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

January 26, 2021, 08:43:34 PM

Login with username, password and session length
Members
Stats
  • Total Posts: 191747
  • Total Topics: 20940
  • Online Today: 68
  • Online Ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 0
Guests: 55
Total: 55

Author Topic: 8: Undefined index: QUERY_STRING File: Integrate.php Line: 38  (Read 1772 times)

0 Members and 1 Guest are viewing this topic.

Offline thedukeisnotdead

  • Jr. Member
  • **
  • Posts: 6
8: Undefined index: QUERY_STRING File: Integrate.php Line: 38
« on: November 27, 2020, 11:36:20 PM »
Link to my forum: http://www.the-new-lair.com/forum/
SMF version: 2.0.17
TP version: 2.0.0
Default Forum Language: english
Theme name and version: BR Finale 2011 by, Crip
Browser Name and Version: Safari
Mods installed:
TinyPortal   2.0.0,
Simple Audio Video Embedder   5.1.5,
SMF Arcade   2.6.3,
SMF Gallery Pro   9.0beta2a     
Related Error messages:    
Guest
Today at 01:22:32 AM
Type of error: Undefined
http://the-new-lair.com/index.php?
8: Undefined index: QUERY_STRING
File: /hermes/bosnaweb23a/b64/apo.ladyd/forum/TinyPortal/Integrate.php
Line: 38
« Last Edit: November 28, 2020, 12:36:38 AM by @rjen »

Offline @rjen

  • Support Team
  • *
  • Posts: 2730
    • FJR-club Nederland
Re: 8: Undefined index: QUERY_STRING File: Integrate.php Line: 38
« Reply #1 on: November 28, 2020, 12:39:58 AM »
Hi,

thanks for the report. I changed your report a little to make the error log section readable.

I have not seen that error before anywhere, but when I visited the link you posted (http://www.the-new-lair.com/forum/) I am not finding any forum. The forum seems to run fine at http://www.the-new-lair.com.

Did you move the forum from subdomain forum to the root recently? If so was that before or after you got this error?
Running TP2.0.1 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info

Offline tino

  • Developer
  • *
  • Posts: 2213
Re: 8: Undefined index: QUERY_STRING File: Integrate.php Line: 38
« Reply #2 on: November 28, 2020, 04:37:19 AM »
I think they have QUERY_STRING disabled in their security settings for Apache/nginx.

I'll add a check to make sure it's set.

Offline @rjen

  • Support Team
  • *
  • Posts: 2730
    • FJR-club Nederland
Re: 8: Undefined index: QUERY_STRING File: Integrate.php Line: 38
« Reply #3 on: November 28, 2020, 04:55:17 AM »
I think they have QUERY_STRING disabled in their security settings for Apache/nginx.

I'll add a check to make sure it's set.

I would expect that to give more issues then just in TP?
Running TP2.0.1 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info

Offline tino

  • Developer
  • *
  • Posts: 2213
Re: 8: Undefined index: QUERY_STRING File: Integrate.php Line: 38
« Reply #4 on: November 28, 2020, 05:33:50 AM »
I think they have QUERY_STRING disabled in their security settings for Apache/nginx.

I'll add a check to make sure it's set.

I would expect that to give more issues then just in TP?

This is in QueryString.php

Code: [Select]
<?php
    
// Get the correct query string.  It may be in an environment variable...
    
if (!isset($_SERVER['QUERY_STRING']))
        
$_SERVER['QUERY_STRING'] = getenv('QUERY_STRING')

This is after we do our checks as we want to rewrite things before cleanRequest is called. So it's filled in that way.

Offline @rjen

  • Support Team
  • *
  • Posts: 2730
    • FJR-club Nederland
Re: 8: Undefined index: QUERY_STRING File: Integrate.php Line: 38
« Reply #5 on: November 28, 2020, 10:39:07 AM »
So it is fixed for 2.0.1, but it would be nice to get a confirmation from the OP... I cannot reproduce the issue
Running TP2.0.1 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info