ModX Evo: Cannot create images folder - modx

I have just installed Evo 1.0.15 but get the following error when I try to add an image or file link in TinyMCE:
Cannot create images folder
This occurs when the file browser window opens.
I have checked and there is an images folder both in my assets and root directories. Both have open permissions (777).
Does anyone know what is causing this and how I can fix it?

Turns out this was because the images directory path was incorrect in the Configurations list

Related

Unable to create 'launch.json' file inside the '.vscode' folder ({0})

I'm on a linux machine running vscode. I am trying to do some debugging but whenever I try to select the environment configuration I get the message, "Unable to create 'launch.json' file inside the '.vscode' folder ({0})."
I suspect it could be a permissions thing but when I try to run vscode as an elevated user I am warned not to. Instead it advises that I can change the user data directory. Will this fix my problem?
After some digging, it turns out that the .vscode directory is created inside the root folder of each project added to vscode. To resolve the problem I had to create the folder manually and give permissions for vscode to write to the directory.

pmcore Asset is not a valid PDF

I have copy a new Pimcore pro on my webserver.
When I drag and drop a PDF Asset in documents it shows the Message "Asset is not a valid PDF. Sorry! Somthing went wrong."
At Assets I can watch the PDF and at the Documents looks that it link is ok = Dependencies works! But I can't see the preview or in frontend.
What could that be?
Check two things:
Is there PDF lib install on web server?
You can install the PDF lib by following this link. You can check all the install library in setting from admin panel.
Is there full permission (0777) on /website/var folder and /pimcore folder?
You can give the permission by using the control panel (If it is provided by server service provider) or by using the command sudo chmod -R 0777 /website/var/* .
Mostly such issues arise due to permission when pimcore try to upload any file on server.

Graphicsmagick file permissions on uploaded files in Linux

I'm having some trouble with Graphicsmagick (GM) not having permissions, on my Ubuntu 12.04 server, to change images uploaded from my node app.
I've changed the folder permissions where it gets uploaded to 777 (drwxrwxrwx) (just as an experiment, for now), but the files that are uploaded gets 664 (-rw-rw-r--).
The image is uploaded to /uploads/temp/, gets moved and resized with GM to /uploads/public/project1/thumbs
The project1 folder is created by the node app and will have 775 (drwxrwxr-x) permissions...
So, clearly not understanding how folder permissions work in Linux I turn to Stack to see if someone can shed some light on the matter.
How can I make GM have the permission to change the images? Can I put GM in a user group with higher permissions or how would I go by this problem?
Thanks!
I just fixed this exact same problem for my project. The uploaded image is allowed to have 664 as the permission. Your problem is likely that your path is wrong. If you can't find what is wrong with the path, try switching the path separators from \ to /
– TFischer
It's embarrassing but you are correct. The path to the file had changed so GM couldn't find it. – mottosson

How to delete .htaccess and .htpasswd and where are these files so I can delete them straight away?

I have got XAMPP Version 1.8.3-4 and I am running this program in Mac. I want to delete this authentication mode but I can't find the .htaccess and .htpasswd files in my folder. Does anyone know where I can find it?
I found out that after deleting these files, there won't show the authentication message box to access localhost/phpmyadmin. There I want to delete these files to get rid of this authentication message box.
The .htacess is stored in the htdocs folder under the root directory of the xampp install directory.
So most likely /.../Xampp/xamppfiles/htdoc/

Modx Revolution can't find its CSS files?

Here's an odd one: I just installed ModX Revolution 2.2.4 and all went well, but in the back end its like the css file is missing - it either loads just some of the page, or the whole page with no CSS.
In my browser console it says it cannot find the css file at all. I checked the files and directories - all are intact and all permissions are correct.
I've tried reinstalling and on two different servers both with the same occurrence.
The only thing that came up is that during the installation it couldnt unzip the file core.transport.zip, so I unzipped it on my PC and re-uploaded it.
Would anyone know whats going on at all?
Thanks
The issue was the zipped files within ModX were not unzipping when I did the install. Either unzip them on your PC, fix or update the PHP on the server, or install an older version (2.1.7 works ok)

Resources