<![CDATA[ Paths Question - My Forums]]> https://forums.modx.com/thread/?thread=99069 <![CDATA[Paths Question]]> https://forums.modx.com/thread/99069/paths-question#dis-post-535702
Anyway, everything works well, except that we now get a Page Not Found error in a popup window when trying to insert images.


The paths to File Manager and File Browser must somehow be wrong?

What is confusing me is that the directory tree is set up as

public_html
modx
uploads

and all the images, etc are in uploads/files and uploads/images.

All the directories in uploads have permissions of 0755

The individual Manager User paths are blank.

_SERVER["DOCUMENT_ROOT"] is /home/masv/public_html
PHP Version 5.5.30
_SERVER["SERVER_SOFTWARE"] Apache

What should I set the main paths to? And do I use Tools->Configuration->FileManager and Tools->Configuration->FileBrowser for that?

]]>
vince_masv Dec 10, 2015, 06:26 PM https://forums.modx.com/thread/99069/paths-question#dis-post-535702
<![CDATA[Re: Paths Question]]> https://forums.modx.com/thread/99069/paths-question#dis-post-554441
1. If there is any .htaccess file at the root of your site, check that it is correctly set.
Redirection issues may come from here.

2. In MODx Evolution > Tools > Configuration > File Manager (Tab),
check that the File manager button is set to [(base_path)]
and click the "Empty" button if it is not.

3. In MODx Evolution > Tools > Configuration > File Browser (Tab),
check that the path to the files directory is set to : [(base_path)]assets/
and click the "Empty" button if it is not.

4. Make "Site > Clear cache".
Reading the message returned, check that cached files were not only found but actually deleted.

5. If necessary, locally or in FTP, go in the "asset/cache" directory and delete the cache files, which ends with ".idx.php" (MODx will recreate them automatically).

7. If you're using Mozilla Firefox, there seem being sometimes some kind of session cache that is reluctant to deletion. Close the MODx tabs, clear the MODx cache, close Firefox and restart it.

8. If this does not suffice, test with another browser, like Internet Explorer.
This will help knowing if the problem is browser-related or not.

9. As for the frontend of your website, also check that in your templates the <base href="http://something.../" /> tag is set correctly.]]>
Jul Oct 11, 2017, 08:26 AM https://forums.modx.com/thread/99069/paths-question#dis-post-554441
<![CDATA[Re: Paths Question]]> https://forums.modx.com/thread/99069/paths-question#dis-post-544954
JEff SMall
[email protected]]]>
linux25 Sep 13, 2016, 08:55 PM https://forums.modx.com/thread/99069/paths-question#dis-post-544954
<![CDATA[Re: Paths Question]]> https://forums.modx.com/thread/99069/paths-question#dis-post-544953 Quote from: vince_masv at Dec 11, 2015, 11:32 AM
Well... thanks all the same.

Anybody else have any ideas?

I am working on the same issue with a 1.0.15 site. The configuration says the File Browser path is [(base_path)]assets/ , but when the browser picks up an image from the directory, it puts /images/filename.jpg as the path to the image instead of /assets/images/filename.jpg. Uploading the file puts the image in the correct directory, i.e. /assets/images, but the browser puts the wrong path in.

I am pretty familiar with ModX.

Jeff Small
[email protected]]]>
linux25 Sep 13, 2016, 08:53 PM https://forums.modx.com/thread/99069/paths-question#dis-post-544953
<![CDATA[Re: Paths Question]]> https://forums.modx.com/thread/99069/paths-question#dis-post-535747
Anybody else have any ideas?]]>
vince_masv Dec 11, 2015, 11:32 AM https://forums.modx.com/thread/99069/paths-question#dis-post-535747
<![CDATA[Re: Paths Question]]> https://forums.modx.com/thread/99069/paths-question#dis-post-535728 sottwell Dec 11, 2015, 03:54 AM https://forums.modx.com/thread/99069/paths-question#dis-post-535728 <![CDATA[Re: Paths Question]]> https://forums.modx.com/thread/99069/paths-question#dis-post-535711 Quote from: sottwell at Dec 11, 2015, 01:15 AM
If I recall correctly, the Configuration should have buttons to correct these paths if necessary.

It does, but they set the paths to [(base_path)] and that doesn't work.

I wonder if it's because everything in is an uploads folder and not under ModX/assets? Or doesn't it matter?

Quote from: sottwell at Dec 11, 2015, 01:15 AM

Do make sure that your browser cookies and cache are cleared so that it's not trying to use old JS and other files.

Good idea, and I have done it, but if I am telling it which path to use as a setting, shouldn't it ignore the user's own cache? Anyway, it makes no difference.

I know there's a button that seems to be for flushing the site cache, but that seems to be the only thing keeping the site's images in place so I'm not keen to click it.

Quote from: sottwell at Dec 11, 2015, 01:15 AM

Also check your user's settings to make sure that they are using the correct paths, or the system default.

No, their settings are blank. I would expect that to tell ModX to use the system defaults. That IS correct, right?]]>
vince_masv Dec 10, 2015, 08:46 PM https://forums.modx.com/thread/99069/paths-question#dis-post-535711
<![CDATA[Re: Paths Question]]> https://forums.modx.com/thread/99069/paths-question#dis-post-535706
Also check your user's settings to make sure that they are using the correct paths, or the system default.]]>
sottwell Dec 10, 2015, 07:15 PM https://forums.modx.com/thread/99069/paths-question#dis-post-535706