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

NC18: wrong path for data #120

Closed
ferdiga opened this issue Mar 27, 2020 · 6 comments
Closed

NC18: wrong path for data #120

ferdiga opened this issue Mar 27, 2020 · 6 comments

Comments

@ferdiga
Copy link

ferdiga commented Mar 27, 2020

the datadirectory = /nextcloud_data
the app looks up in the base directory /nextcloud instead of the datadirectory

/nextcloud/index.php/apps/cms_pico/pico/test1/assets-5e7dce72ae2fc/image.png

furthermore the name .../assets-5e7dce72ae2fc/... should probably only be .../asset/.... as assets-5e7dce72ae2fc does not exist in the data directory neither.

@PhrozenByte
Copy link
Collaborator

the app looks up in the base directory /nextcloud instead of the datadirectory

Where does it look up what? What issue are you facing?

furthermore the name .../assets-5e7dce72ae2fc/... should probably only be .../asset/

No. URL paths aren't equal to filesystem paths.

@ferdiga
Copy link
Author

ferdiga commented Mar 27, 2020

lookup of image.png - 3rd line above
the test1 directory is in
/nextcloud**_data**/index.php/apps/cms_pico/pico/test1/assets-5e7dce72ae2fc/image.png

@ferdiga
Copy link
Author

ferdiga commented Mar 27, 2020

{"Exception":"Error","Message":"Call to undefined method ParsedownExtra::textElements()","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/cms_pico/vendor/picocms/pico/lib/Pico.php","line":1662,"function":"text","class":"ParsedownExtra","type":"->","args":["\n## Welcome to Pico\n\nNextcloud Logo\n\nCongratulations

@ferdiga
Copy link
Author

ferdiga commented Mar 27, 2020

Ah interesting - here the link above points to the github URL

https://github.com/nextcloud/index.php/apps/cms_pico/pico/test1/assets-5e7dce72ae2fc/image.png

@PhrozenByte
Copy link
Collaborator

So? As I said, URL paths != filesystem paths. The URL looks just fine.

Regarding the exception: See #97

@stale
Copy link

stale bot commented Apr 3, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two days if no further activity occurs. Thank you for your contributions! 👍

@stale stale bot added the info: Stale label Apr 3, 2020
@stale stale bot closed this as completed Apr 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants