Assets not saving

  • Hi


    This has only just started to happen so I'm guessing it's a bug since upgrading to 3.1.4?


    When I try to select an asset, it selects it fine, click save and it hasn't saved it. The default grey upload icon appears in the CMS admin and no image is displayed on the website.


    Looking at the source code I get <img src="""


    Diagnostics:


    Template:

    Code
    1. <perch:shop id="image" type="image" label="Main product image" width="1500" height="1500" crop="true" bucket="products" help="NB: Image will be cropped to 1500 x 1500 pixels" suppress="true" divider-before="Product images" order="300">
    2. <perch:shop id="image" type="image" width="750" height="750" crop="true" suppress="true" order="310">
    3. <perch:shop id="image" type="image" width="1200" height="630" crop="true" suppress="true" order="320">
    4. <perch:if exists="image">
    5. <img src="<perch:shop id="image" type="image">" itemprop="image" alt="<perch:shop id="brand" type="shop_brand"> <perch:shop id="title">">
    6. <perch:else/>
    7. <img src="/cms/resources/products/product-image-coming-soon.png" itemprop="image" alt="<perch:shop id="title">" class="noimg">
    8. </perch:if>


    ...as you will see, I use perch:if to display an image coming soon image, which also is not displaying, so it would seem the system knows the image is there but is not saving it?


    Many thanks


    Glen

  • drewm

    Approved the thread.