-
AuthorPosts
-
June 9, 2016 at 11:40 pm #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.
June 10, 2016 at 12:12 am #645860Hey 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, 5 months ago by Vinay.
June 10, 2016 at 10:42 am #646139Ok I added that line. Still showing server 500 error
June 10, 2016 at 11:23 am #646150This 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
June 10, 2016 at 8:00 pm #646320Can someone help with this? We’re behind schedule with this launch and we are worries activating the child theme will crash our site again.
June 10, 2016 at 9:10 pm #646352Hey!
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!
BasilisJune 10, 2016 at 10:08 pm #646377Hi 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
June 12, 2016 at 9:04 pm #647019Any update on this?
June 13, 2016 at 3:27 pm #647432Still 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.
June 13, 2016 at 4:24 pm #647468Hey!
Could you please post FTP and WP admin logins here privately so we can look further into it?
Best regards,
YigitJune 13, 2016 at 4:38 pm #647486Hi Yigit,
See logins below.
Thanks
June 13, 2016 at 4:45 pm #647492Hey!
This was the issue – http://i.imgur.com/4IJgCHu.png I fixed it. Please review your website now
Regards,
YigitJune 13, 2016 at 4:54 pm #647505Hi 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, 5 months ago by robertscott.
June 13, 2016 at 5:02 pm #647516Hey!
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,
YigitJune 13, 2016 at 5:03 pm #647520Hi Yigit,
Can you tell me the correct to post?
I’ll deactivate all plugins and see if that helps thanks
June 13, 2016 at 5:07 pm #647523Hey!
I already corrected the signs. I was showing you the issue just so you know :)
Cheers!
YigitJune 13, 2016 at 5:08 pm #647525Hi 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.
June 13, 2016 at 5:09 pm #647526I’ve deactivated all plugins and there 2 galleries not showing up. See the 2 blank spaces.
June 13, 2016 at 9:55 pm #647666Yigit I need to have this fixed. The latest update has now set me back a week
June 14, 2016 at 3:22 pm #648045June 15, 2016 at 10:50 am #648523Yigit now one of them is missing after re-creating them
June 15, 2016 at 11:05 am #648531Now both are gone again!
June 15, 2016 at 4:08 pm #648684Hi!
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,
YigitJune 15, 2016 at 4:18 pm #648697Hi 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
June 15, 2016 at 4:27 pm #648706 -
AuthorPosts
- The topic ‘Enfold Child Theme is breaking my site!!!’ is closed to new replies.