Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4269
Latest: Gatux
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 43594
Total Topics: 7568
Most Online Today: 128
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 41
Total: 41

Author Topic: Installation error: code not found  (Read 580 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: 16585
    • 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
5146 Views
Last post January 13, 2007, 12:50:35 pm
by Skhilled
1 Replies
6105 Views
Last post May 26, 2007, 11:18:34 pm
by SMFHacks
2 Replies
3975 Views
Last post February 15, 2009, 10:04:09 am
by GKDantas
2 Replies
6226 Views
Last post May 19, 2009, 10:01:04 pm
by william777
1 Replies
527 Views
Last post July 20, 2024, 10:30:19 am
by SMFHacks

+- Recent Topics

December 2024 Sale! by SMFHacks
December 02, 2024, 10:30:38 pm

Denying members some admin settings by rickk
November 17, 2024, 12:02:55 pm

Weird setup by SMFHacks
November 07, 2024, 06:37:41 am

Restoring a deleted photo by Monocero
November 01, 2024, 04:23:56 am

Gallery Pro reinstalation by Lirorobert
October 14, 2024, 01:43:43 am

Move picture from main gallery to user gallery by SMFHacks
October 11, 2024, 09:11:00 pm

quoting part of message by Lirorobert
October 04, 2024, 03:21:40 pm

Does SMF Gallery support by SMFHacks
October 02, 2024, 06:14:26 am

Item count on Gallery Tab shows double by SMFHacks
September 26, 2024, 12:59:20 pm

Forum post missing when image over 4000x pixels is uploaded to gallery by Michel68
September 24, 2024, 01:37:17 pm

Powered by EzPortal