Viewing 25 posts - 1 through 25 (of 25 total)
  • Author
    Posts
  • #645845

    Hi Guys,

    I’ve been building a new client site on a test domain. 4 days ago we encountered an error 500 and lost the site for 4 days before my hosting company would help. I managed to get the site restored on the main enfold theme. A soon as I tried to activate the child theme we lost the site again.

    See: http://scotwebtesting.co.uk/

    What is going on here? Is there a problem with the child theme? I’ve now lost the site again and we are due to launch the site tomorrow.

    #645860

    Hey robertscott,

    Increasing the memory limit on wordpress and on the hosting server should resolve the issue, please access wp-config.php file and add the below line right after @package wordpress http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    define('WP_MEMORY_LIMIT', '256M');
    
    

    Or you can contact your hosting service provider and they can do it for you.

    Best regards,
    Vinay

    • This reply was modified 8 years, 6 months ago by Vinay.
    #646139

    Ok I added that line. Still showing server 500 error

    #646150

    This is not the issue here. We just lost the site again when activating the child theme,

    This is the error

    Parse error: syntax error, unexpected ‘?’ in /home/lawsnotm/public_html/wp-content/themes/enfold-child/functions.php on line 28

    #646320

    Can someone help with this? We’re behind schedule with this launch and we are worries activating the child theme will crash our site again.

    #646352

    Hey!

    Please paste the content of the file functions.php to a service like pastebin, so we can review it.
    We would appreciate your patience, while we try solve the issue for you.

    Cheers!
    Basilis

    #646377

    Hi Basilis,

    We havewnt even activated the child theme for fear we lose the site again. But al our custmisations are done using the child theme.

    Please see private content of pastebin

    #647019

    Any update on this?

    #647432

    Still no help on this? Recent update has crashed our site several times now. And we cant activate the child theme without issues. Our site isnt complete without the child theme as our edits are done on there.

    #647468

    Hey!

    Could you please post FTP and WP admin logins here privately so we can look further into it?

    Best regards,
    Yigit

    #647486

    Hi Yigit,

    See logins below.

    Thanks

    #647492

    Hey!

    This was the issue – http://i.imgur.com/4IJgCHu.png I fixed it. Please review your website now

    Regards,
    Yigit

    #647505

    Hi Yigit

    Now we are missing 2 galleries from this page: http://scotwebtesting.co.uk/composite-doors/

    And that code was given by your support team (https://kriesi.at/support/topic/set-image-to-open-up-lightbox-gallery/). We want to remove the feature image from the galleries. So the them image that is clicked to activate the lightbox we want to be removed.

    • This reply was modified 8 years, 6 months ago by robertscott.
    #647516

    Hey!

    Code is fine but you should always copy codes from our support forum and not from the email. Signs were converted as you can see the screenshot i posted.

    For gallery issue, can you please try de-activating all active plugins and check if that helps ?

    Regards,
    Yigit

    #647520

    Hi Yigit,

    Can you tell me the correct to post?

    I’ll deactivate all plugins and see if that helps thanks

    #647523

    Hey!

    I already corrected the signs. I was showing you the issue just so you know :)

    Cheers!
    Yigit

    #647525

    Hi Yigit,

    Check the page galleries here: http://scotwebtesting.co.uk/composite-doors/

    When you click on the feature image to activate the lightbox, the first image is the feature image, I dont want to see this only the doors.

    #647526

    I’ve deactivated all plugins and there 2 galleries not showing up. See the 2 blank spaces.

    #647666

    Yigit I need to have this fixed. The latest update has now set me back a week

    #648045

    Hi,

    Can you please try re-creating these two galleries?

    Best regards,
    Yigit

    #648523

    Yigit now one of them is missing after re-creating them

    #648531

    Now both are gone again!

    #648684

    Hi!

    It is because following code

    function remove_firstImg_inLightBox(){
    ?>
    <script>
    jQuery(document).ready(function(){
            jQuery(".avia-gallery-thumb").each(function(){
            jQuery("a.lightbox").eq(0).remove();
            });
    });
    </script>
    <?php
    }
    add_action("wp_head", "remove_firstImg_inLightBox");

    I removed it and now they show up fine.

    Best regards,
    Yigit

    #648697

    Hi Yigit,

    That code was given by someone on your support team.

    We still need the code to remove the first image from the gallery. We dont want to see the feature image (the clickable image that activates the gallery lightbox)

    Thanks

    #648706

    Hi!

    I found the thread where it was recommended. I am closing this one and will reply in that one so we can continue there :)

    Cheers!
    Yigit

Viewing 25 posts - 1 through 25 (of 25 total)
  • The topic ‘Enfold Child Theme is breaking my site!!!’ is closed to new replies.