Skip to content

[Bug]: Missing Link - Or at least part of one after changing sign-in types/ Member-Only, or Not. #5783

Description

@BillyBoy0823

e107 version

2.37

PHP version

8.1.34

What happened?

Not totally sure But the end result was part of my link was missing SiteLink/ Missing Part / phpfile.php

So, an example is I was accessing a file in my plugin, and I could see the filename and the site address, but not this bit;

e107_plugins/myPluginName/

so it's like;

mysite. com/myFile.php

instead of

mysite. com/e107_plugins/myPluginName/myFile.php

Other interesting things;

I have Sitelinks set up and these worked;

/news
contact.php

THIS, along with links to MY plugin files I had added to sitelinks did not work ;
/user

BUT, I also have the same links in a menu for my plugin and those work fine.

I had been moving right along testing my site for HOURS, That's when I found the issue I explain at the end of #5335 posted by @Jimmi08

Once I found that I had the Registration set to Disabled and Site to Members only, I changed it to the Registration & Login choice, and I was able to get to the site without the error "ERR_TOO_MANY_REDIRECTS". BUT, it was sending me now to login.php. Better than the error

"User registration system" and "Restrict website to members only" Somehow did things and not sure how I can help some more to help solve this.

Steps to reproduce

Not too sure, I can't come up with anything to point a finger at. I think another issue is Cache might be letting things work longer an stay broke longer when one or the other happens.

I DO know for the last few nights I'd work but when I tried to get on in another browser I'd get the error mentioned. But yet, I was still logged in as Admin and functioning.

I changed the "User registration system" and "Restrict website to members only" to different settings and got past the error, but it only let me go to a login, until I changeed the Restrict website to members only. Then I could see the front page, but Sitelinks messed up.

I'm confused....

Expected behavior

NO Errors from some type of loop when in a restricted user configuration.
Not directed towards Login when putting in the site, or site/index.php
being able to use site links with path to plugins not missing.

Additional context

Somehow it all seems related. Let me know if you want me to do anything special. I'd even let you use my site if you think it would help. They are online but not really live. I had a target of July 1st, but not life threatening. OK, Maybe mine. Kidding. My ole 1.04 is still holding up well. But my NEW design is like that, but on steroids thanks you all of you :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Triage Status

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions