Hello all!
I installed and have this wonderful plugin working for Wordpress and phpBB3 and embedded in the Iframe. I have so far almost everything working flawless except when I attempt to enter my ACP via either link on the phpBB forum, I get a "The requested page could not be found." error inside of my phpBB forum.
If I get in my browser and disable Java, I can get right in to the ACP with no errors. If I use this plugin standalone ( no Iframe ) I can also enter the ACP with no errors. Also when I click the link for my ACP it opens a new tab in my browser. When I use the plugin stand alone, the new tab does not happen My ACP opens right up.
I am not new to phpBB. I have been using it since the day the very first version was released and am a developer on a major mod that had almost 1 million downloads (a complete CMS system for phpBB 2 series). So I am sure I have a typo or something simple going on that I am overlooking and the old developer in me is just looking way to deep and not seeing the obvious simple issue.
I appreciate any thoughts anyone might have. I wish you all a fantastic day/evening and I hope everyone is healthy and well!
https://prnt.sc/u3x4rn
ACP Link Is out Of Order
- DjPorkchop73
- User www
- Posts: 80
- Joined: Thu Aug 20, 2020 6:45 pm
- Location: Egyptian Valley of Illinois
ACP Link Is out Of Order
If I could I would. If I don't, it's because I am lazy!
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: ACP Link Is out Of Order
Hello!
The problem, i assume, is the same i find out last day into an installation. But in my case was leading to reload/redirect to the index, and until js not disabled, was impossible to access the acp.
The unique code that interfere with this, is this javascript line, which you added into overall_header:
may should be:
The problem, i assume, is the same i find out last day into an installation. But in my case was leading to reload/redirect to the index, and until js not disabled, was impossible to access the acp.
The unique code that interfere with this, is this javascript line, which you added into overall_header:
Code: Select all
if(/adm\//ig.exec(window.location.href) === null || /install\//ig.exec(window.location.href) === null){ // avoid x ACP and install
Code: Select all
if(/adm\//ig.exec(window.location.href) === null ){ // avoid x ACP
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: ACP Link Is out Of Order
the online snippet will be updated now about this.
It remain that in case of phpBB update install, you'll need to disable the overall_header code:
set phpBB recompile stale template to yes,
and comment out this line:
change into
then you can call any direct phpBB url without having the js redirect/reload of the browser, allowing you to execute the update/install into the real phpBB url/page, and without disabling javascript.
It remain that in case of phpBB update install, you'll need to disable the overall_header code:
set phpBB recompile stale template to yes,
and comment out this line:
Code: Select all
document.location.replace(href0);
Code: Select all
//document.location.replace(href0);
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: ACP Link Is out Of Order
the online overall_header.html js snippet has been updated to fix this:
https://www.axew3.com/w3/2020/01/phpbb- ... iframe-v5/
but it can be better done, to avoid the execution without recurring to the step of the recompile or js disable on browser, in case of installation/update
Cheers!
https://www.axew3.com/w3/2020/01/phpbb- ... iframe-v5/
but it can be better done, to avoid the execution without recurring to the step of the recompile or js disable on browser, in case of installation/update
Cheers!
- DjPorkchop73
- User www
- Posts: 80
- Joined: Thu Aug 20, 2020 6:45 pm
- Location: Egyptian Valley of Illinois
Re: ACP Link Is out Of Order
Thank you so very much! I owe you a great cup of coffee! That was the problem after all. We can mark this one as solved. I really appreciate your time today.
If I could I would. If I don't, it's because I am lazy!
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: ACP Link Is out Of Order
... so with the new 2.4.0 release i will deserve coffee supply for lifetime!
WP_w3all phpBB Wordpress 2.4.0 by email is coming. A test release available soon!
Will be easier, faster, and clean-up all the (or to better say, what i will be able to) mess code
viewtopic.php?f=2&t=1566
WP_w3all phpBB Wordpress 2.4.0 by email is coming. A test release available soon!
Will be easier, faster, and clean-up all the (or to better say, what i will be able to) mess code
viewtopic.php?f=2&t=1566