Support

Admin Tools

#16666 Cannot load/see pictures that are not in public_html directory

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by user71441 on Wednesday, 03 July 2013 08:37 CDT

user71441
Hi Nicholas,

I already asked about this problems with Moodle, and all those problems were solved:

https://www.akeebabackup.com/support/admin-tools/15152-moodle-doesnt-load-csstemplate-non-www-to-www.html
https://www.akeebabackup.com/support/admin-tools/15013-fixed-permissioins-but-moodle-doesnt-load-csstemplate.html

but I now found another problem, and I'm not sure if it has to do with Admin Tools Professional...

Description of the problem:

There is a directory named moodledata, where there are, for example, the images that can be inserted using Moodle editor (something like JCE for Joomla!). Using that editor, when you want to insert image - you just click on one litle icon (button for inserting pictures) - and browse the picture... The problem is that you can only browse inside moodledata directory AND moodledata directory is outside public_html - they are on the same level, "brothers".

So, when I try to browse image that I want to insert - when I select it:

Forbidden


You don't have permission to access /portal/lib/editor/htmlarea/popups/preview.php on this server.


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

Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.0-fips mod_bwlimited/1.4 Server at www.ceo.edu.rs Port 80


Also, when picture is selected - it URL is:

http://www.ceo.edu.rs/portal/file.php/7/srpski/srp314.jpg

I really do not know how to solve this... Is it possible that it has something to do with Admin Tools Professional (.htaccess maker, file permisions... )?

Thanks in advance!
Filip

user71441

user71441
OK, I just added portal/lib/editor/htmlarea/popups/preview.php in exceptions, and it seems that is working well now...

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!