"you do not have access to this page!"

Started by layer, July 19, 2022, 09:12:20 AM

Previous topic - Next topic

layer

hello,

"yesterday" all was fine, today I get "you do not have access to this page!"  :o

anyone can help where to look first?

SMF 2.1.2

thank you

Arantor

Well, what page are you trying to visit?

layer


Arantor


layer

Quote from: Arantor on July 20, 2022, 10:00:55 AMI do need a little more detail here.

tell me what you need.
the last thing I have done, was the 2.1.2 update(no errors), I don't touch settings for "years".
i don't have any mod or plugin

Diego Andrés

Perhaps a screenshot
Can you access the admin to check the errors log?

SMF Tricks - Free & Premium Responsive Themes for SMF.

Arantor

Quote from: layer on July 20, 2022, 10:07:39 AM
Quote from: Arantor on July 20, 2022, 10:00:55 AMI do need a little more detail here.

tell me what you need.
the last thing I have done, was the 2.1.2 update(no errors), I don't touch settings for "years".
i don't have any mod or plugin

Like... what page were you trying to go to! The page must have a URL...

layer


Arantor

That message isn't in the code for an unmodified SMF 2.1.2.

If you really have no mods, grab the large upgrade package for 2.1.2, unzip it on your computer then upload all the files over the top of what's on the server.

layer

Quote from: Arantor on July 20, 2022, 10:29:13 AMThat message isn't in the code for an unmodified SMF 2.1.2.

If you really have no mods, grab the large upgrade package for 2.1.2, unzip it on your computer then upload all the files over the top of what's on the server.

now I'm worried... it's working(after the upload)...!

layer

\sources\subs.php

defined('ABSPATH') or die("you do not have access to this page!");

Arantor

That's not stock SMF.

ABSPATH is a WordPress piece of code.

layer


Arantor

Did you put the SMF inside a subdirectory of a WordPress? If so, more likely a bad WP security plugin.

layer

Quote from: Arantor on July 20, 2022, 01:29:13 PMDid you put the SMF inside a subdirectory of a WordPress? If so, more likely a bad WP security plugin.

no, it's a sub but of a HTML page

Arantor

What you mean "it's a sub"? A subfolder? Subdomain? Something else?

Seriously, though, ABSPATH is the hallmark of WordPress or a WordPress plugin gone rogue.

layer

Quote from: Arantor on July 20, 2022, 04:37:20 PMWhat you mean "it's a sub"? A subfolder? Subdomain? Something else?

Seriously, though, ABSPATH is the hallmark of WordPress or a WordPress plugin gone rogue.

subdirectory.

There is no other script in this cpanel account.

Arantor

And there's nothing in the parent folder?

The reason for my skepticism is that people have a curious habit of going 'oh, actually there is this thing...' when they've been adamant there wasn't anything.

I'm just suspicious that an SMF with no mods suddenly got code hijacked into it from WordPress on an account that apparently has no WordPress (when I've *absolutely* seen WordPress plugins do this)

layer

Quote from: Arantor on July 20, 2022, 04:51:47 PMAnd there's nothing in the parent folder?

The reason for my skepticism is that people have a curious habit of going 'oh, actually there is this thing...' when they've been adamant there wasn't anything.

I'm just suspicious that an SMF with no mods suddenly got code hijacked into it from WordPress on an account that apparently has no WordPress (when I've *absolutely* seen WordPress plugins do this)

i'm sure that there is no other script, just this https://html5up.net/aerial

live627

How did you install SMF? Softaculous? The code that you posted assumes that SMF and WordPress are working together.

Oldiesmann

Softaculous just installs a regular copy of SMF - it doesn't modify the code at all.
Michael Eshom
Christian Metal Fans

Steve

Please do not PM me for support.

layer

Quote from: Steve on August 16, 2022, 05:08:46 AM@layer - where do you stand on this?

like I said, I reuploaded complete package and that's all.

Steve

Meaning what? Are you still having this problem?
Please do not PM me for support.

layer

Quote from: Steve on August 18, 2022, 07:24:00 AMMeaning what? Are you still having this problem?

the rewrite fixed the problem.

Steve

Please do not PM me for support.

Advertisement: