Error with Swap Image – Featured Products

This topic has 8 replies, 2 voices, and was last updated 7 years, 11 months ago ago by Eva Kemp

  • Avatar: santiarango
    santiarango
    Participant
    December 12, 2016 at 16:06

    Hi! we are trying to enable second image Hover on Featured Products, we set Swap at Theme Options – Product Page, when we test it goes to white when hover over product image, is there any thing wrong with this option?

    This is happening even after adding the second image in the Product configuration down at the Upload image for hover effect, it doesn´t work.

    7 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    December 12, 2016 at 20:42

    Hello,

    Please show a product page where you added hover image and provide FTP credentials.

    Regards,
    Eva Kemp.

    Avatar: santiarango
    santiarango
    Participant
    December 12, 2016 at 21:52

    This is the site: http://www.urbanrock.com.co/

    In this image you can see the second Featured product at Home page shows the white i`m telling you instead of secondary image:

    http://www.urbanrock.com.co/wp-content/uploads/2016/12/swap-image.jpg

    In private there is the access to admin.

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    December 13, 2016 at 19:55

    Hello,

    We also need FTP login data.
    Please provide it as well.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: santiarango
    santiarango
    Participant
    December 15, 2016 at 15:08

    Sure in private i write the access via FTP.

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    December 15, 2016 at 19:56

    Hello,

    The problem was caused by your hosting settings.
    Image is loaded from the path that is defined in “DOCUMENT_ROOT” variable. On a server where your site is located the path for DOCUMENT_ROOT is written:
    _SERVER[“DOCUMENT_ROOT”] /var/chroot/home/content/13/9948413/html
    but your site is located in /var/chroot/home/content/13/9948413/html/urbanrock1 and this path is written for variable “REAL_DOCUMENT_ROOT”.
    So to fix the issue I’ve changed the code $file_path = $_SERVER['DOCUMENT_ROOT'] . $file_path['path']; to $file_path = $_SERVER['REAL_DOCUMENT_ROOT'] . $file_path['path']; on line 124 in the file wp-content/themes/royal/framework/images.php.
    Please check image now.

    Regards,
    Eva Kemp.

    Avatar: santiarango
    santiarango
    Participant
    December 22, 2016 at 02:58

    Geat!
    Eva thank you so much for this solution.

    Regards.

    Avatar: Eva
    Eva Kemp
    Support staff
    December 22, 2016 at 13:26

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 8 results - 1 through 8 (of 8 total)

The issue related to '‘Error with Swap Image – Featured Products’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.