2x 403 errors are generated at the demo and with shipped code

As you can see with the default demo store of jm_crafts (http://magento-themes.joomlart.com/jm_crafts/) there are 2 403 errors being generated in the shipped code. Which are:

Failed to load resource: the server responded with a status of 403 (Forbidden) http://magento-themes.joomlart.com/j…orange/images/
Failed to load resource: the server responded with a status of 403 (Forbidden) http://magento-themes.joomlart.com/j…orange/images/

Can this be fixed in the next update? Thanks!

4 answers

Profile photo of Sherlock 0.00 $tone November 28, 2013
Public

Hi mate,

This is a permission issue, i think you can try to set execute permission for those folders (change the chmod value to 755)
I hope that helps !

#1
Profile photo of Sherlock 0.00 $tone December 2, 2013
Public

Could you test this yourself on the demo store (same error there too) first before I mess with any permissions?

okay tristanvanbokkem, to get rid of this you can open the file of skin\frontend\default\jm_crafts\wavethemes\jmbaset heme\profiles\orange\orange.css.php there you would see these css rules

PHP Code:

 #ja-header {
    background-image:url("images/<?php echo $baseconfig["headerimage"]; ?>");
    background-color: <?php echo $baseconfig["headerolor"?>;
}

#ja-botsl,
#ja-footer{
    background-image:url("images/<?php echo $baseconfig["footerimage"]; ?>");
    background-color: <?php echo $baseconfig["footerolor"?>;
}

you can change it to

PHP Code:

   #ja-header {
 <?php if(isset($baseconfig["headerimage"]) && $baseconfig["headerimage"]){ ?>
    background-image:url("images/<?php echo $baseconfig["headerimage"]; ?>");
    <?php ?>
    background-color: <?php echo $baseconfig["headerolor"?>;
}

#ja-botsl,
#ja-footer{
    <?php if(isset($baseconfig["footerimage"]) && $baseconfig["headerimage"]){ ?>
    background-image:url("images/<?php echo $baseconfig["footerimage"]; ?>");
    <?php ?>
    background-color: <?php echo $baseconfig["footerolor"?>;
}

you can implement this change to all .css.php of all profiles under skin\frontend\default\jm_crafts\wavethemes\jmbaset heme\profiles.
Let me know if this helps !

#3

This question is now closed

Written By

Comments