Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure run.php can be executed w/o a manager session #19

Open
Mark-H opened this issue May 29, 2015 · 4 comments
Open

Make sure run.php can be executed w/o a manager session #19

Mark-H opened this issue May 29, 2015 · 4 comments

Comments

@Mark-H
Copy link
Member

Mark-H commented May 29, 2015

Currently throws a 401 unauthorised when accessing the file directly via a browser. http://rtfm.modx.com/revolution/2.x/developing-in-modx/other-development-resources/loading-modx-externally


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@christianseel
Copy link

Yeah, thats my current issue...

@haeki1
Copy link

haeki1 commented Sep 3, 2019

I had the same issue and Mark told me to append ?ctx=web to run.php. Now it's using the right context and everything is working fine. Thanks Mark!

@travisbotello
Copy link

Ran in the same issue today. That additional information should be in the docs.

@Mark-H
Copy link
Member Author

Mark-H commented Sep 15, 2022

I've added a note about this to the docs. It only happens when using the browser or an external cron job.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants