Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4263
Latest: Cekky
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 43455
Total Topics: 7557
Most Online Today: 28
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 32
Total: 32

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

0 Members and 1 Guest are viewing this topic.

Offline live627

  • 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: 16524
    • 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
5086 Views
Last post January 13, 2007, 12:50:35 pm
by Skhilled
1 Replies
6090 Views
Last post May 26, 2007, 11:18:34 pm
by SMFHacks
2 Replies
3968 Views
Last post February 15, 2009, 10:04:09 am
by GKDantas
2 Replies
6220 Views
Last post May 19, 2009, 10:01:04 pm
by william777
1 Replies
506 Views
Last post July 20, 2024, 10:30:19 am
by SMFHacks

+- Recent Topics

[Mod]Tenor Posting Animated Gifs by SMFHacks
August 30, 2024, 04:04:26 pm

List of other errors after installing and trying to use by SMFHacks
August 27, 2024, 02:15:52 pm

Subject Error by SMFHacks
August 27, 2024, 02:15:46 pm

Store Not Logging Transactions or Sending Emails for Paid Items, Free Items Work by SMFHacks
August 27, 2024, 05:26:52 am

Don't Know How to Unhide Previously Hidden Items in Latest SMF Store 5.0 by Michael Vail
August 26, 2024, 11:38:33 pm

Undefined array key "session_var" and Undefined array key "session_id" Errors by SMFHacks
August 26, 2024, 11:10:54 pm

SMF Links Error by yamiacaveman
August 22, 2024, 06:21:53 pm

HTTP Error 500 by SMFHacks
August 20, 2024, 12:28:53 pm

Site upgrade to 2.1 by live627
August 18, 2024, 02:47:33 am

Uninstall issue and new licence no email by landyvlad
August 16, 2024, 08:05:48 am

Powered by EzPortal