Skip to content

[2.1]: pg "No direct access" error retrieving SMF Files #8980

@sbulen

Description

@sbulen

Basic Information

Attempting to retrieve SMF FIles, pg issues a "No direct access" error.

Long history here, but the original issue is back.

See also:

Steps to reproduce

  1. Install pg from current GH
  2. Attempt to retrieve SMF files

Expected result

Fresh SMF files

Actual result

No Direct Access error

Version/Git revision

2.1 - current

Database Engine

All

Database Version

pg 14

PHP Version

8.4.5

Logs

https://localhost/pgvan2021/index.php?step=5
D:/wamp64/www/pgvan2021/Sources/ScheduledTasks.php (Line 1164)
Backtrace information

Type of error: Critical

No direct access...

            UPDATE smf_admin_info_files
            SET data = SUBSTRING('
window.smfAnnouncements = [
    {
        subject: ''SMF 2.1.6 has been released'',
        href: ''https://www.simplemachines.org/community/index.php?topic=592074.0'',
        time: ''Jun 26, 2025, 03:39 PM'',
        author: ''Sesquipedalian'',
        message: ''SMF 2.1.6 contains fixes for a few minor (but annoying) bugs that were introduced in 2.1.5. We recommend updating as soon as possible.''
    },
    {
        subject: ''SMF 2.1.5 has been released'',
        href: ''https://www.simplemachines.org/community/index.php?topic=592035.0'',
        time: ''Jun 24, 2025, 04:42 PM'',

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions