Report an issue

Found a bug you'd like to tell us about?
 

 Here’s what to do…Login, Select an ‘Issue Category’ from below and click on the "New Issues” button.

 Please note that support questions will not be handled here. If you need hands on technical support please take out a subscription.

#136 – Can't read Content in Folder Images

Posted in ‘ Ark Media’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Sunday, 24 April 2016 17:57 BST
RamsesCH

ARK MediaManager is not able to read and/or show the content of any folder.

Path to specific folders is changed, they exist and the specific folder is shown in the left column if i choose one of the icons.

But there is not shown any content and i'm not able to create a new folder.

I'm working in the backend of Joomla and logged in as Administrator. All Rights for Access to the folders are valid

Thanks in advance for your support

 

Regards Rainer

 

Custom Fields
Server type
Window
Web server type
IIS
ARK product version
Current Version
Joomla! version
3.5.1.
PHP Version
5.4.45
Web browser
Firefox, IE12
Errors log
 
Steps to replicate the issue
Allways if i start the plugin
Tuesday, 26 April 2016 07:26 BST
paulc

Hi Rainer,

Thank you for your ticket. This sounds like it may be a configuration issue. Has the Ark Media or Ark Editor had their image path updated in their Joomla configuration page? If you provide access to your site we can have a quick look for you. To do this go to 'Client Area' > 'Edit Account Details', then 'Site Details', where you can fill in your site details.

Regards,

Paul

Wednesday, 27 April 2016 22:43 BST
RamsesCH

Hi Paul

Done.

http://www.------

In the meantime i deleted the whole installation of Joomla and installed a new clean Joomla 3.5.1 Installation. The ARK Media Manager is now installed and the same problems appears

Best Regards

Rainer

Thursday, 28 April 2016 07:09 BST
paulc

Hi Rainer,

Thank you for providing site access & for trying a clean installation. We can see the issue you are experiencing. Could you also provide FTP access to your site as well because we would like to (non-invasively) debug a bit further as to why the files aren't being loaded up for you?

Regards,

Paul

Thursday, 28 April 2016 20:59 BST
RamsesCH

Hi Paul

Done

You should have FTP Access

Good luck :-)

best regards

Rainer

Friday, 29 April 2016 09:47 BST
paulc

Hi Rainer,

Thank you for providing FTP access. We've had a look at your system and the directories appear to have incorrect permissions on them which would suggest that there is a server configuration issue which is causing the error. The FTP account we have doesn't have access to change folder permissions so could you either use FTP to change the file permission of the images folder to 755 or allow us to take a backup of your site and to run some tests on our local environments to see if we can replicate the issue there.

Regards,

Paul

Sunday, 01 May 2016 16:55 BST
RamsesCH

Hi Paul

Sorry for delay. Made it easier, i think. Changed permissions on Folder "Image", and all subfolders, to 777.
775 is unknown or not accepted

Anyway, it's a clean installation. Why does the MM not work ?

Regards

Rainer

 

Sunday, 01 May 2016 17:17 BST
RamsesCH

Hi Paul

777 on Folder "files" too :-)

Regards Rainer

Tuesday, 03 May 2016 07:09 BST
paulc

Hi Rainer,

Thanks for trying that.

The folder permission needs to be 755 (technically 0755) not 775, which may explain why you are unable to set the permission from 777 (which not a safe permission to have your folders set to.

Also files need thier permissions set to 644 as opposed to 777. If you are still unable to set you permissions to 755 then your server/hosting environment may not have SuPHP installed on it which you can check by asking your hosting provider or looking (Ctrl+F) in Joomla's configuration breakdown to see if it is installed. If you change the user you created for us to Super Admin we can have a look for you.

Let us know where you get up to so we can help get this issue resolved for you.

Regards,

Paul

Tuesday, 03 May 2016 13:53 BST
paulc

Hi Rainer,

After a serious amount of debugging we have found the issue! One of your core Joomla library files has been modified/hacked. Basically Ark Media uses Joomla's filtering system to make sure that the file paths being loaded are safe. Unfortunately in this instance a crucial piece of code has been removed which prevents Joomla from filtering the path properly; hence why the error is being thrown.

I have left the offending code in place in case you (or your developer) removed it for a specific reason, but restoring it will fix the issue.

The file in question is:

libraries/joomla/filesystem/path.php line215. This line of code has been "commented out" (removed) and will need uncommenting to fix this. To do this simply remove the 2 forward slashes at the start of the line (or we can do this for you with your permission).

You mentioned running a clean installation of Joomla so why this has been modified is a bit of a mystery unless yourself, a developer or someone less savoury has modified the library files which is a Biiiiig no no in Joomla :)

Regards,

Paul

Tuesday, 03 May 2016 19:20 BST
RamsesCH

Hi Paul

Sorry for the last Mail. It works. I took the wrong path.php from an other existing Joomla Installation in the same Web-Site

I did the changes you recommended, and everything works fine :-)

Thanks again for yoru great effort to solve this Problem

Rating the Support ?

7 Stars :-)

Best regards

Rainer

Wednesday, 04 May 2016 08:59 BST
paulc

Hi Rainer,

We're glad we could get the issue resolved for you & we're very happy with the 7 star support rating!

If you found the Ark Media & Ark Editor useful tools in your website's arsenal we'd love to have your support on the JED in the form of a review. If that's something you'd like to do you can take a couple of minutes to visit this page and use the "Write a review" button :)

Regards,

Paul

WebxSolution Ltd is not affiliated with or endorsed by the Joomla! Project or Open Source Matters. The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.

Copyright © 2009 - 2016 WebxSolution Ltd
Powered by JoomlaWired