Forum
Add Asset button missing
I've done a new install of Perch 2.5.3 and I'm not seeing the Add Asset button in the Assets panel. I see Use Selected but no Add Asset button. I see the button on the Assets page but not in the panel.
Assets (images) can be uploaded from the Assets page and these then appear in the Assets panel for selection. But, no Add Asset button in the panel.
I don't see any error with
define('PERCH_DEBUG', true);
and my Diagnostics report appears to be OK.
Not really sure why the button is missing.
Was just about to open a new thread on the same subject! Exactly the same thing's happening to me with a site I've just upgraded.
here's the template code I'm using:
Here's a screenshot: https://www.dropbox.com/s/0m5goi9rqz6dusm/Screen%20Shot%202014-07-15%20at%2011.38.17%20am.png
Strangely, I upgraded a site I put live last week to 2.5.3 to see if it did the same thing locally. The template code there looks like this:
And the Add Assets button is there. I copied the site where it wasn't working and it worked! So I then took just the image code (that's in the perch:if tags) and it didn't work. Very strange…
I've downgraded the new site to 2.5.2, as I had a copy in my trash from last week, and it works again.
I'm working on it.
Great– thanks :)
I'm still having an issue with this. Well, not me: my clients are. The fix in 2.5.4 worked for me but it's still breaking on the client's end. I got them to clear cookies in case it was something to do with their cache, but no luck. I then asked them to log in outside of the network they were on with a different machine but still no button.
It's working fine for me. I've even tried it on 3G on my phone and (although the interface is a bit broken at mobile) the '+ Add Asset' button appears ok. Bit of a weird one…
They're getting really frustrated and I'm getting a bit embarrassed. Am I able to downgrade to 2.4.9 without any consequences?
Perch: 2.5.4, PHP: 5.4.29, MySQL: 5.5.38, with PDO Server OS: Linux, cgi-fcgi Installed apps: content (2.5.4), assets (2.5.4), perch_blog (4.1), perch_events (1.9), perch_gallery (2.8.5), perch_backup (1.2) App runtimes: <?php include(PERCH_PATH.'/core/apps/content/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_blog/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_gallery/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_events/runtime.php'); ?> PERCH_LOGINPATH: /cms PERCH_PATH: /var/www/vhosts/skeltonnewbyhall.n-yorks.sch.uk/httpdocs/cms PERCH_CORE: /var/www/vhosts/skeltonnewbyhall.n-yorks.sch.uk/httpdocs/cms/core PERCH_RESFILEPATH: /var/www/vhosts/skeltonnewbyhall.n-yorks.sch.uk/httpdocs/cms/resources Image manipulation: GD PHP limits: Max upload 128M, Max POST 8M, Memory: 128M, Total max file upload: 8M Resource folder writeable: Yes SCRIPT_NAME: /cms/core/settings/diagnostics/index.php REQUEST_URI: /cms/core/settings/diagnostics/ DOCUMENT_ROOT: /var/www/vhosts/skeltonnewbyhall.n-yorks.sch.uk/httpdocs HTTP_HOST: www.skeltonnewbyhall.n-yorks.sch.uk
Have you tried allowing your client admin rights?