Loading...
 
Skip to main content

Features / Usability


Get error on wiki page containing "/opt/"

posts: 6

I am a user of the VortexBox wiki at http://info.vortexbox.org, which is using TikiWiki 6.3.

We have come across a strange bug: a wiki page containing the string "/opt/" gets an error when you try to Preview or Save the page:

Forbidden

You don't have permission to access /tiki-editpage.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

"/opt" is OK.
"/opt /" is OK.
"/op/" is OK.
"/ops/" is OK.

But "/opt/" gets the above error.

You can replicate this bug as follows:

1. Create a TikiWiki page containing the string "/opt /".
2. Save the page.
3. Edit the page, and change "/opt /" to "/opt/".
4. Preview or Save the page.
5. The above error message appears.

Anyone know what's going on or how to fix this?

Thanks for your help!

Here is a screen capture showing the error:

Image

posts: 6
Ron Olsen wrote:

I created a TestBug page on the VortexBox wiki if anyone wants to see the bug:

http://info.vortexbox.org/tiki-index.php?page=TestBug


Further investigation shows that TikiWiki does not like other Linux directory names:

/bin/
/boot/
/dev/
/etc/
/opt/
/proc/
/root/
/sbin/
/sys/
/tmp
/usr/

None of these can appear on a wiki page without getting an error when you try to save the page.

Is anyone reading this forum? Are there any Admins here? Hello? Hello?

It would be great if someone would respond.


posts: 42 United Kingdom

Very strange!

This does not happen on my 6.3 test server, but I can confirm when I registered and logged into yours the error did occur.

My guess is some strange parsing is selected as a preference or the install is corrupted - have you tried this on another install? Also what profiles if any are you using?

posts: 6
Brian Merritt wrote:

Very strange!

This does not happen on my 6.3 test server, but I can confirm when I registered and logged into yours the error did occur.

My guess is some strange parsing is selected as a preference or the install is corrupted - have you tried this on another install? Also what profiles if any are you using?


I'm not the admin for the site — just a user. This is a recent 6.3 install; I saw the issue on the previous install and asked the admin to upgrade to 6.3 to see if it cured the problem — it didn't.

I think this is a vanilla install, using the standard defaults. The admin is away on vacation for a week. What should I tell him to do when he gets back? Any way to turn on debug logging to figure out what's going on?

Thanks for checking into this. The problem severely impacts wiki users documenting code installation procedures that use Linux pathnames.


posts: 3665 United States
Ron Olsen wrote:

Forbidden

You don't have permission to access /tiki-editpage.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Permission issues are usually caused by a misconfigured htaccess file or mod_security server settings that are in conflict with the parser.

You should check these two items first.


HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Now Available: Tiki Essentials, the #1 (and only) book for Tiki! Learn more...
Coming Spring, 2011: Tiki for Dummies Smarties, the best (and only) Tiki beginner's guide! Learn more...


Need more help? Try Tiki for Dummies Smarties: A beginner's guide and Tiki Essentials: What all Smarties need to know about Tiki Wiki CMS Groupware.

posts: 6
Ron Olsen wrote:
Ron Olsen wrote:

Forbidden

You don't have permission to access /tiki-editpage.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Permission issues are usually caused by a misconfigured htaccess file or mod_security server settings that are in conflict with the parser.

You should check these two items first.


HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Now Available: Tiki Essentials, the #1 (and only) book for Tiki! Learn more...
Coming Spring, 2011: Tiki for Dummies Smarties, the best (and only) Tiki beginner's guide! Learn more...


Need more help? Try Tiki for Dummies Smarties: A beginner's guide and Tiki Essentials: What all Smarties need to know about Tiki Wiki CMS Groupware.


Thanks. I'll pass this info along to the site admin when he gets back. Is there a way to reset these config files and settings to the installation defaults?

posts: 3665 United States
Ron Olsen wrote:
Thanks. I'll pass this info along to the site admin when he gets back. Is there a way to reset these config files and settings to the installation defaults?


There is a default _htaccess that is included with Tiki that you can use.

The mod_security settings are controlled on your server — not Tiki.

HTH,

- Rick | My Tiki Blog | My Tiki UserPage

Now Available: Tiki Essentials, the #1 (and only) book for Tiki! Learn more...
Coming Spring, 2011: Tiki for Dummies Smarties, the best (and only) Tiki beginner's guide! Learn more...


Need more help? Try Tiki for Dummies Smarties: A beginner's guide and Tiki Essentials: What all Smarties need to know about Tiki Wiki CMS Groupware.

posts: 6
Ron Olsen wrote:
Ron Olsen wrote:
Thanks. I'll pass this info along to the site admin when he gets back. Is there a way to reset these config files and settings to the installation defaults?


There is a default _htaccess that is included with Tiki that you can use.

The mod_security settings are controlled on your server — not Tiki.

-


The VortexBox site admin has looked at this thread, and hasn't been able to fix the problem yet. He's tried using the default _htaccess file, and removing this file, and no luck.

Can you tell me how the admin should check the mod_security settings? I don't think he has done that, and I'm not sure he knows how.

Can you tell me exactly where in the TIkiWiki source code this error message is being generated? Looking at the source code may provide a clue as to what's going on.