• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Storage Album Privacy Not Found

Status
Not open for further replies.

choksw

Chevereto Member
Hi Rolf,

there's a bug where if the content privacy mode is switched to "Forced (self)", there's a missing column error in the external storage mode when "HTTPS" or "ACTIVE" is clicked.
 
Hi Rodolfo,

Please see uploaded file! Thanks
 

Attachments

  • Screen Shot 2014-10-17 at 7.44.52 pm.png
    Screen Shot 2014-10-17 at 7.44.52 pm.png
    57.2 KB · Views: 6
It is an error in route.json.php

Change this:
PHP:
                // Inject the system level privacy override
                if($handler::getCond('forced_private_mode')) {
                    $editing[$type == 'album' ? 'privacy' : 'album_privacy'] = CHV\getSetting('website_content_privacy_mode');
                }

To this:
PHP:
                // Inject the system level privacy override
                if($handler::getCond('forced_private_mode') and in_array($type, ['album', 'image'])) {
                    $editing[$type == 'album' ? 'privacy' : 'album_privacy'] = CHV\getSetting('website_content_privacy_mode');
                }

I will add this patch for 3.5.5
 
Hi Rodolfo,

No joy, the error continue to exists.

As long as the content privacy mode is selected to "force self", external storage will be disabled.
 
Hi Rodolfo,

No joy, the error continue to exists.

As long as the content privacy mode is selected to "force self", external storage will be disabled.
Just tested the demo and it works. Did you run /install right? are you sure that you uploaded the needed files?
 
You need to run /install after uploading the update files and you can't skip any single file. With every update you need to replace the needed files and run /install.
 
After editing route.json.php and uploading to localhost, I ran domain/install again, however the error persists.

This happens when content privacy mode is set to "forced private(self)", and clicking on external storage "active" will cause the ajax error to occur. And as a result, new uploaded files are not saved to external storage.
 
Well I suppose that I need to go to your website and do the update for you.
 
Status
Not open for further replies.
Back
Top