Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #1185222

    Hi:
    I have several websites with Enfold and in all of them I have the problem that the dynamic_avia folder increases its size until the space in the hosting is completed.

    I have read several of your threads in which you talk about the solutions, but in my case the problem is not solved. I tried emptying the server cache, activating and deactivating “delete old CSS and JS files” and nothing happens, delelting all files in dynamic_avia folder …

    So I always have to go back to version 4.6.3.1, which works well.
    Any idea?

    Best Regards,
    Jose Ramon

    #1185516

    Hey Jose,

    Sorry for the problem. Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply. We might FTP login details as well, so please provide login details for that as well.

    Best regards,
    Rikard

    #1185618

    Thank you Rikard.
    Here you are.

    Best regards,
    Jose Ramon

    #1186035

    Hi Jose,

    Thanks for that, but I’m getting a 500 internal server error on the login page:

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

    Is this related to the theme problem you are having maybe?

    Best regards,
    Rikard

    #1186084

    Hi Rikard:
    No, that no was the problem I’m having.
    I’ve tried to login with your user and password and I’ve logged in to the WordPress admin panel without any difficulty.
    I’ve recorded a vídeo for you.

    Could it be that from my server access is being blocked from your country?
    If you tell me the country from which you connect, I can look and unlock it.

    Best Regards,
    Jose Ramon

    • This reply was modified 4 years, 9 months ago by Jose Ramon. Reason: Add some question
    #1187229

    Hi,

    Thank you for the update.

    Could it be that from my server access is being blocked from your country?

    Yes, that is probably it. You will find our locations in the site’s About page. Please check the link below.

    // https://kriesi.at/about

    Please update us once the site is accessible.

    Best regards,
    Ismael

    #1187348

    Hi Ismael:
    Ready, please check now.

    Best Regards,
    Jose Ramon

    #1188344

    Hi,

    We can now access the dashboard, but not the file server. The login info is incorrect. Please check the FTP user account above. For the meantime, you can add the following filter in the functions.php file to remove the timestamps of the merged files.

    // https://kriesi.at/support/topic/dynamic_avia-making-way-too-many-calls/#post-1182734

    This should help prevent the theme from generating multiple copies of the compressed files.

    Thank you for your patience.

    Best regards,
    Ismael

    #1188417

    Hi Ismael:
    Thanks for your help.

    I have to tell you that I have tested the ftp configuration data and it works correctly for me, I attached a video about it.

    I also installed the filter in my functions.php file in the child folder, and then I updated Enfold, but the problem has happened again and I had to go back to version 4.6.3.1

    Best Regards,
    Jose Ramon

    #1188812

    Hi,

    This is what we get whenever we attempt to access the file server.

    Screenshot: https://imgur.com/a/xOjgzhF

    It tries to connect but it doesn’t go through. Maybe the access is restricted to certain countries?

    Please update the theme to version 4.7.3, then disable the Enfold > Performance > File Compression settings temporarily. This will prevent the theme from generating the merged files in the dynamic_avia folder. Temporarily, you can use plugins like Autoptimize or BWP Minify to compress the scripts and stylesheets.

    // https://wordpress.org/plugins/autoptimize/

    Best regards,
    Ismael

    #1188955

    Dear Ismael:
    Sorry for the inconvenience. My hosting has many security measures for access from non-Hispanic countries. I have already given access from other countries through ftp. Please, try again.

    Following your instructions, I have updated to version 4.7.3, and then disabled File Compression.
    As I mentioned before, this website does not have much traffic, so for now I prefer not to install plugins such as Autoptimize or BWP Minify. Now I only have three files in the dynamic_avia folder (I attached images of all of the above).

    I hope you can connect via ftp and give me a definitive solution.

    Best Regards,
    Jose Ramon

    • This reply was modified 4 years, 8 months ago by Jose Ramon. Reason: complete the information
    #1189321

    Hi,

    Thank you for the update.

    We are now able to access the file server and to fix the issue or keep the theme from generating the merged files redundantly, we added the avf_merged_files_unique_id filter in the functions.php file.

    function avf_custom_merged_files_unique_id( $uniqid, $file_type, $data, $enqueued, $file_group_name, $conditions )
    {
         return '';
    }
    
    add_filter( 'avf_merged_files_unique_id', 'avf_custom_merged_files_unique_id', 10, 6 );
    

    We don’t see any duplicates of the merged files in the dynamic_avia folder anymore.

    Best regards,
    Ismael

    #1189542

    Dear Ismael:
    it is true, after inserting the code in functions.php you no longer see duplicates of the combined files in the dynamic_avia folder, but the web fails to change from one page to another. I attach the error image.
    So I deleted the code and returned to version 4.6.3.1 that works fine. I think I’m going to leave that version until you finally solve the problem.

    Thanks for your help.

    Best Regards,
    Jose Ramon

    #1189964

    Hi,

    but the web fails to change from one page to another.

    We actually had to reload the pages or go to another because that’s the only way to regenerate the compressed files and to test if they will still be duplicated. We didn’t encounter that issue. The filter should not affect the site in any way aside from removing the timestamp in the merged files.

    Please revert back to v4.7.3 so that we can test it again.

    Best regards,
    Ismael

    #1190206

    Ok. Done. Now it’s in error

    #1190338

    Hi,

    Thank you for the update.

    We are able reproduce to the issue, which seems to be intermittent, but it does happen when the compression is enabled. We disabled the option for now and installed the Autoptimize plugin instead. This is the same as having the theme’s file compression enabled with additional options.

    Best regards,
    Ismael

    #1190643

    Hi,
    Thanks Ismael. The web works fine.
    I think you can close this thread.

    Just tell me if there will be a solution in future versions.

    Best Regards,
    Jose Ramon

    #1191405

    Hi,

    You’re welcome. We’ll close the thread now. Please don’t hesitate to open a new one if you need anything else.

    Thank you for your patience. Have a nice day.

    Best regards,
    Ismael

Viewing 18 posts - 1 through 18 (of 18 total)
  • The topic ‘Dynamic_avia folder too big’ is closed to new replies.