Facebook 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4287
Latest: ArromGomwef
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43770
Total Topics: 7598
Most Online Today: 96
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 57
Total: 57

Author Topic: Installation error: code not found  (Read 690 times)

0 Members and 1 Guest are viewing this topic.

Offline live627

  • SMF Hacks Staff
  • Member
  • *****
  • Posts: 5
    • View Profile
Installation error: code not found
« on: July 20, 2024, 05:07:58 am »
The following code no longer  exists in 2.1:

Code: [Select]
// Remember this URL in case someone doesn't like sending HTTP_REFERER.
if (strpos($_SERVER['REQUEST_URL'], 'action=dlattach') === false && strpos($_SERVER['REQUEST_URL'], 'action=viewsmfile') === false)
$_SESSION['old_url'] = $_SERVER['REQUEST_URL'];
It is n ow

Code: [Select]
// Remember this URL in case someone doesn't like sending HTTP_REFERER.
if ($should_log)
$_SESSION['old_url'] = $_SERVER['REQUEST_URL'];

and should be populated via integrate_pre_log_stats example usage at https://github.com/envision-mods/portal/blob/312391fcc576cd70bb9a7882214cabd933ac6253/ep_source/EnvisionPortal/Integration.php#L103-L110
Like Like x 1 View List

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16664
    • View Profile
Re: Installation error: code not found
« Reply #1 on: July 20, 2024, 10:30:33 am »
Will take a look! Thanks.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
5292 Views
Last post January 13, 2007, 12:50:35 pm
by Skhilled
1 Replies
6215 Views
Last post May 26, 2007, 11:18:34 pm
by SMFHacks
2 Replies
4037 Views
Last post February 15, 2009, 10:04:09 am
by GKDantas
2 Replies
6309 Views
Last post May 19, 2009, 10:01:04 pm
by william777
1 Replies
628 Views
Last post July 20, 2024, 10:30:19 am
by SMFHacks

+- Recent Topics

Search results items per page? by SMFHacks
April 18, 2025, 04:12:23 pm

Trying to access array offset on null by SMFHacks
April 09, 2025, 07:39:10 am

Suggestions and request by Senkusha
April 03, 2025, 02:30:43 pm

How does a member add a Classified Listing? by SMFHacks
March 28, 2025, 08:05:50 pm

Auto converting to webp or AVIF by [chrisB]
March 28, 2025, 01:46:00 pm

Thumbnail creation settings by SMFHacks
March 28, 2025, 12:42:51 pm

Cookie consent banner? by SMFHacks
March 26, 2025, 02:19:49 pm

Bulk Upload Frozen by SMFHacks
March 26, 2025, 07:58:13 am

Community suite buying question by SMFHacks
March 25, 2025, 11:26:20 am

Downloading with Zero Credits? by SMFHacks
March 23, 2025, 01:40:50 pm

Powered by EzPortal