-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Attachments path error #104
Comments
In addition, I can´t delete attachments |
i think is a problem of the configuration path.. can you paste your config.inc.php ? |
Site is hosted in subdomain |
your url is https://domain.com/wikidocs ? or https://subdomain.domain.com/ ? |
ok i will try to fix the bug in this way.. but if you can is better to setup the wiki in https://subdomain.domain.com/ as a workaraound |
Hi, Now when I try to upload pdf file it add path "wiki" 2 times because my wikidocs it's stored on sub-folder Steps to reproduce
|
can you paste also your actual configuration file? |
My config.inc.php file <?php
define('DEBUGGABLE',false);
define('PATH',"/wiki/");
define('LANG',"en");
define('TIMEZONE',"Europe/Lisbon");
define('TITLE',"P|Docs");
define('SUBTITLE',"markdown wiki engine");
define('OWNER',"Paulo");
define('NOTICE',"Copyright © All rights reserved");
define('PRIVACY',null);
define('EDITCODE',"64b2ce1c532c802e7a96");
define('VIEWCODE',"11d92675885d0");
define('COLOR',"#4CAF50");
define('DARK',false);
define('GTAG',null); My instalation is on https://domain.pt/wiki/ |
In my wikidocs tests when i made I don't know if this is related. |
Hi, I try to solve this problem, ... and I don't know if the best way. I will try to explain. I will use this 2 domains:
After some review I identify LINE 209 on classes/Document.class.php After some test i identify that To solve the problem I change LINE 209 on classes/Document.class.php from Please review. |
Hi @Zavy86, Please check my solution #104 (comment) to wikidocs on subfolder and include on new release. Thanks |
Describe your issue
Attachments in pages show a wrong path for open or download. Subdirectory appears twice in url.
Device and settings
WikiDocs-1.0.14
Steps to reproduce
Screenshots (optional)
No response
Extra fields
The text was updated successfully, but these errors were encountered: