[docs] BBCode no longer working

Discuss issues and requests related with the forum software
JoeWinograd
Posts: 922
Joined: 10 Feb 2014, 20:00

[docs] BBCode no longer working

04 Mar 2018, 12:54

The [docs] BBCode is no longer working. It gives this error:

Sorry, an error occurred. Please let us know via the forums.

For example, this used to work:

FileRead

That was created with the opening and closing docs BBCode tags, using the docs button on the formatting toolbar. Now it gives the error message shown above. Regards, Joe
User avatar
derz00
Posts: 478
Joined: 02 Feb 2016, 17:54
GitHub: derz00
Location: Middle of the round cube

Re: [docs] BBCode no longer working

05 Mar 2018, 09:25

If you'd look at the recent topics in forum issues you'll see this has been reported already. There is a problem with the docs server in redirecting quick links such as http://www.autohotkey.com/docs/MsgBox redirecting to http://www.autohotkey.com/docs/commands/MsgBox.htm
try it and see
...
JoeWinograd
Posts: 922
Joined: 10 Feb 2014, 20:00

Re: [docs] BBCode no longer working

05 Mar 2018, 14:18

Got it...thanks! Will use the full URL until the bug is fixed. Regards, Joe
User avatar
tank
Posts: 2272
Joined: 28 Sep 2013, 22:15
Facebook: charlie.simmons.7334
Google: ttnnkkrr
GitHub: ttnnkkrr
Location: Louisville KY
Contact:

Re: [docs] BBCode no longer working

08 Mar 2018, 11:20

Can someone's test these
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
https://www.facebook.com/ahkscript.org
If you have forum suggestions please submit a pull request
User avatar
nnnik
Posts: 2791
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: [docs] BBCode no longer working

08 Mar 2018, 11:26

They still are not working
Recommends AHK Studio
guest3456
Posts: 2302
Joined: 09 Oct 2013, 10:31

Re: [docs] BBCode no longer working

08 Mar 2018, 12:28

tank wrote:Can someone's test these

nnnik wrote:They still are not working



most are working now but some are not:



it looks like the old redirects (such as http://www.autohotkey.com/docs/MsgBox ) are still failing. i guess the codeboxes no longer are using the redirects

[docs] tags still use the old redirects:
MsgBox

tank, are you SURE there was no previous .htaccess rewrite rules that made this work?

User avatar
tank
Posts: 2272
Joined: 28 Sep 2013, 22:15
Facebook: charlie.simmons.7334
Google: ttnnkkrr
GitHub: ttnnkkrr
Location: Louisville KY
Contact:

Re: [docs] BBCode no longer working

08 Mar 2018, 19:53

Not unless lexikos changed something. Cause I have not
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
https://www.facebook.com/ahkscript.org
If you have forum suggestions please submit a pull request
User avatar
gregster
Posts: 1061
Joined: 30 Sep 2013, 06:48

Re: [docs] BBCode no longer working

30 Mar 2018, 05:18

Unfortunately, many links in the code boxes are still broken, the same with the [docs] tags - for all commands that share their help page with another command. It used to forward the link to the correct one. Examples:

Code: [Select all] [Download] GeSHi © Codebox Plus

Clipboard		; shares help page with ClipboardAll
Run ; shares help page with RunWait - correction: this actually works, but
RunWait ; does not

Run, Clipboard

This used to work super-well. And I really use these links a lot.
I would be really thankful if someone could figure this out and fix it! Many thanks in advance.

Edited
Edit 2: Might be separate issues with the forwarding of links - it doesn't seem to be all about the shared help pages. Click, for example, doesn't work as a [docs] link, but in a code box
User avatar
joedf
Posts: 6240
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada, Quebec
Contact:

Re: [docs] BBCode no longer working

30 Mar 2018, 13:08

Thanks for reporting this. We found this issue the same day as the looping issue. tank he will look into it when he finds the time.
Also, if you're reading this could pull the latest docs from the github repo. thanks :+1:
User avatar
derz00
Posts: 478
Joined: 02 Feb 2016, 17:54
GitHub: derz00
Location: Middle of the round cube

Re: [docs] BBCode no longer working

10 Apr 2018, 16:22

guest3456 wrote:most are working now but some are not:



it looks like the old redirects (such as http://www.autohotkey.com/docs/MsgBox ) are still failing. i guess the codeboxes no longer are using the redirects

[docs] tags still use the old redirects:
MsgBox
That's right. Redirects do not work as they used to--for example, https://autohotkey.com/docs/MsgBox would redirect to https://autohotkey.com/docs/commands/MsgBox.htm. Some links in the code boxes do not work because the links are incorrect. I.e. the link for if is https://autohotkey.com/docs/commands/If.htm but it should be https://autohotkey.com/docs/commands/IfEqual.htm. And a couple of the others are not working because they are missing the ".htm" extension... So it seems like something isn't configured correctly--are these links programmed to the keywords or are they automatically figured out?
try it and see
...
User avatar
tank
Posts: 2272
Joined: 28 Sep 2013, 22:15
Facebook: charlie.simmons.7334
Google: ttnnkkrr
GitHub: ttnnkkrr
Location: Louisville KY
Contact:

Re: [docs] BBCode no longer working

10 Apr 2018, 21:54

We are going to need ragnar to undo the changes to the docs that broke this. I can't fix this in the codeboxes
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
https://www.facebook.com/ahkscript.org
If you have forum suggestions please submit a pull request
User avatar
Ragnar
Posts: 170
Joined: 30 Sep 2013, 15:25

Re: [docs] BBCode no longer working

11 Apr 2018, 03:23

More information would be helpful if we are supposed to help. What exactly is the problem? How exactly does this redirection work? .htaccess, PHP? Show us the part from this file that is responsible for this redirection. If necessary, you can also send me a PM if any "sensitive" data is contained.
User avatar
tank
Posts: 2272
Joined: 28 Sep 2013, 22:15
Facebook: charlie.simmons.7334
Google: ttnnkkrr
GitHub: ttnnkkrr
Location: Louisville KY
Contact:

Re: [docs] BBCode no longer working

11 Apr 2018, 07:50

There was never any PHP in these directories. All I know is that this broke after one of your updates. I actually don't know and never did know how the redirects worked. Lexikos is the only one that would have affected a change to .htaccess. I stay away from the docs directory. I know Lexikos has a push set up when GitHub is updated because I built the PHP and cron job for that. I think I always assumed there was some fancy JS interpreting going on where there are now error pages.I can post the specifics of the cron and PHP if you like but essentially it calls a bash file that executes git commands to update the docs when GitHub is updated.
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
https://www.facebook.com/ahkscript.org
If you have forum suggestions please submit a pull request
User avatar
tank
Posts: 2272
Joined: 28 Sep 2013, 22:15
Facebook: charlie.simmons.7334
Google: ttnnkkrr
GitHub: ttnnkkrr
Location: Louisville KY
Contact:

Re: [docs] BBCode no longer working

11 Apr 2018, 08:06

OK poking around in this directory for the first time ever yields a redirect.php and the following .htaccess

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

redirect.php

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

data_index.js

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

I am at work right now but let's apply the hivemind of this forum to the problem and see if a real solution can be proposed
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
https://www.facebook.com/ahkscript.org
If you have forum suggestions please submit a pull request
User avatar
Ragnar
Posts: 170
Joined: 30 Sep 2013, 15:25

Re: [docs] BBCode no longer working

11 Apr 2018, 08:24

Thanks, looks promising. I'll look into it.
User avatar
Ragnar
Posts: 170
Joined: 30 Sep 2013, 15:25

Re: [docs] BBCode no longer working

11 Apr 2018, 10:44

redirect.php does not like the comment block in data_index.js. Replace the content of redirect.php with the following, then it should work again (I changed line 8):

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

User avatar
tank
Posts: 2272
Joined: 28 Sep 2013, 22:15
Facebook: charlie.simmons.7334
Google: ttnnkkrr
GitHub: ttnnkkrr
Location: Louisville KY
Contact:

Re: [docs] BBCode no longer working

11 Apr 2018, 15:43

I just removed the comments.
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
https://www.facebook.com/ahkscript.org
If you have forum suggestions please submit a pull request
User avatar
tank
Posts: 2272
Joined: 28 Sep 2013, 22:15
Facebook: charlie.simmons.7334
Google: ttnnkkrr
GitHub: ttnnkkrr
Location: Louisville KY
Contact:

Re: [docs] BBCode no longer working

11 Apr 2018, 15:46

this wasnt the right way to do this using a JS file anyhow. At some point on my todo list will be to fix this correctly but i am unsure at this point who or how these files are being maintained. Github?
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
https://www.facebook.com/ahkscript.org
If you have forum suggestions please submit a pull request
User avatar
gregster
Posts: 1061
Joined: 30 Sep 2013, 06:48

Re: [docs] BBCode no longer working

11 Apr 2018, 15:51

Awesome, it seems to be working again! Many thanks!
User avatar
derz00
Posts: 478
Joined: 02 Feb 2016, 17:54
GitHub: derz00
Location: Middle of the round cube

Re: [docs] BBCode no longer working

11 Apr 2018, 16:11

Yes thanks!
try it and see
...

Return to “Forum Issues”

Who is online

Users browsing this forum: No registered users and 2 guests