-
AuthorPosts
-
May 8, 2020 at 8:40 am #1210953
Hello,
the website https://www.ruff-bootsreisen.de generates PHP errors messages at a rapid pace. After a few seconds it is 50 MB.
I cancel the error messages via cron job every hour.
Can you help me and fix the problem.Regards
RainerMay 8, 2020 at 9:19 pm #1211215Hey Rainer,
Can you give us FTP access as well?
Best regards,
NikkoMay 8, 2020 at 9:38 pm #1211241… private contect FTP Access
Regards
RainerMay 9, 2020 at 7:20 pm #1211477Hi Ruff-Bootsreisen,
Thanks for giving us ftp access, I have checked it and it seems to be the same case as in this thread, please try the solution also found in the thread provided by our dev: https://kriesi.at/support/topic/dynamic_avia-making-way-too-many-calls/#post-1182734
But first you will need to use a child theme, you can download and find instructions here: https://kriesi.at/documentation/enfold/child-theme/Best regards,
NikkoMay 11, 2020 at 12:06 pm #1211809Hello Nikko,
I added a child theme, added recommended code.
I think the problem is solved.
Can you check it!?
But now the seach icon in the main navigation looks “wrong / terrible /not normal”.
Can you solve the search icon problem?
RainerMay 12, 2020 at 12:47 am #1211927Hi Ruff-Bootsreisen,
We’re glad that it’s fixed.
As for the icon, can you try the solutions recommended in our documentation: https://kriesi.at/documentation/enfold/icon/#icons-are-showing-as-rectangular-boxes-
Hope it helps.Best regards,
NikkoMay 19, 2020 at 1:39 pm #1214333Hello Nikko,
I made a mistake.
I added an CSS code from an other project for an other solution and it works at ruff-bootsreisen.de !?
#####
.single .wp-embed-featured-image {
float: left!important;
max-width: 160px!important;
margin-right: 20px!important;
}
#####
Can you check the code. Do you reccomend my code?
Do you have an better CSS code for my problem?
Because I didin´t want to work with the .htacess file at this case.
######Apache
Look for the .htaccess file at the root of your WordPress installation and add the following to it:
<FilesMatch “.(ttf|otf|woff)$”>
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin “*”
</IfModule>
</FilesMatch>
#####
Regards
RainerMay 20, 2020 at 4:31 pm #1214711Hi Rainer,
There’s nothing wrong with the css code except that I don’t think it will target any element in the single posts.
For your css code, can you point us to the right page and maybe which element your pointing at? is it the featured image?
As for htaccess, it seems the search icon is showing properly now.Best regards,
NikkoMay 20, 2020 at 5:11 pm #1214721Hi Nikko,
I didn´t change htaccess and add your recommended code.
I added css code from the website http://www.immobilien-knipfer.de to ruff-bootsreisen.de
-> There was an error. I was asthonished, it works at the wrong website.
With the css code from the other website the search icon is correct, without my CSS code the icon doesn´t work.
Please delete the css code and you can see the icon is not shown correct.
Add the code and the icon is showing.
Do you recommend my css code for the search icon?
RainerMay 21, 2020 at 3:49 am #1214857Hi Rainer,
I have checked the Quick CSS of ruff-bootsreisen.de and I could not find the code.
Where is it added?
Also if I dissect your CSS code selector:
.single – only applies to posts
.wp-embed-featured-image – I’m not really sure which element it points, most likely a custom class placed in an element.
This code wouldn’t apply to the search icon :(Best regards,
NikkoMay 22, 2020 at 3:51 pm #1215259Hi Nikko,
the css code is added to the customizer
Design -> Customizer -> zusätzliches CSS
– when I delete the css code line 9-13 -> Icon is broken
– with css code -> icon works
#### This code works (writen for another website, not for icon):###
.single .wp-embed-featured-image {
float: left!important;
max-width: 160px!important;
margin-right: 20px!important;
}
Regards
RainerMay 23, 2020 at 7:50 pm #1215566Hi Rainer,
Thanks for pointing it out.
I have checked in Appearance > Customize and found this code:function my_custom_merged_files_unique_id( $uniqid, $file_type, $data, $enqueued, $file_group_name, $conditions ) { return ''; } add_filter( 'avf_merged_files_unique_id', 'my_custom_merged_files_unique_id', 10, 6 );
This should be placed in functions.php of the child theme and not in Appearance > Customize, this is a PHP code and it’s not acceptable there, which I think most likely causing the issue.
Best regards,
NikkoMay 25, 2020 at 11:23 am #1216079Hi Nikko,
thank you for your really good support.
Nobody knows something about the code. I delete the code and hope I get no problem.
The icon works.
Regards
Rainer
PS. do you know what is the funktion from the code?May 25, 2020 at 6:00 pm #1216205Hi Rainer,
I’m very happy to hear that. :)
Regarding the function of the code, it is meant to resolve the issue of rapidly generating new CSS or the error you mentioned.
I have added the code in the functions.php of your child theme.
Hope all is working fine :)Best regards,
NikkoMay 26, 2020 at 4:58 pm #1216542All works fine.
Thank you for your good support.
RainerMay 26, 2020 at 7:32 pm #1216618Hi Rainer,
We’re glad that we could help :)
Thanks for using Enfold and have a great day!Best regards,
Nikko -
AuthorPosts
- The topic ‘website https://www.ruff-bootsreisen.de generates PHP error messages at a rapid’ is closed to new replies.