Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #612471

    Hello

    When i turn debug on i get the following errors

    Warning: include(/wp-content/uploads/avia_fonts/1802016/charmap.php): failed to open stream: No such file or directory in /wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/font-manager.class.php on line 430
    
    Warning: include(): Failed opening '/wp-content/uploads/avia_fonts/1802016/charmap.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/font-manager.class.php on line 430

    Under my public_html/XXX/wp-content/uploads/avia_fonts folder i only have:

    – accounts
    – megamenu

    Under Import/Export in Enfold options i have three
    – 0
    – megamenu
    – accounts.

    I delete 0, save but then when i come back its there. How can i fix this error?

    Also i only have 2 fontello zips in my media library.

    Please advise. Thanks

    *UPDATE: I removed debug but the errors remain. I also updated to WP 4.5 and Enfold 3.5.2

    • This topic was modified 8 years ago by mike.rav.
    #612855

    Hey george!

    Please make sure that wp-content/uploads folder has correct permissions ( 755 ) – http://codex.wordpress.org/Changing_File_Permissions

    Cheers!
    Yigit

    #612859

    Hey

    Thanks for the response. It has the permissions set correctly.

    #613495

    Hi,

    Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Regards,
    Rikard

    #613618

    added in private content

    #615284

    Hi,

    Could you please try to overwrite the theme files with a fresh copy from your Themeforest account via FTP to see if that helps? http://kriesi.at/documentation/enfold/updating-your-theme-files/

    Thanks,
    Rikard

    #615357

    Hey,

    Already did that with no luck. Please help

    #615373

    Hi!

    Please make sure that the wp-content folder has correct permission and overwrite the files in wp-includes or re-install wordpress from dashboard > update this should fix the issue for you. Before you perform a re-install please make sure you have a backup of all the settings and the theme.

    Regards,
    Vinay

    #616127

    Hello,

    1. All permissions are correct.
    2. Re-installed WordPress 4.5.
    3. Deleted Enfold folder and uploaded new 3.5.3.

    Still the same error. I dont understand why you are telling me to check permissions etc, since the error shows on font-manager.

    What i am guessing is the issue is that a fontello zip i uploaded got corrupted somehow and cant delete it.

    As you can see in the error it tries to find a non-existent folder “18022016”

    If you check source code you can see reference for this

    
    @font-face {font-family: '0'; font-weight: normal; font-style: normal;
    src: url('/wp-content/uploads/avia_fonts/1802016/0.eot');
    src: url('/wp-content/uploads/avia_fonts/1802016/0.eot?#iefix') format('embedded-opentype'), 
    url('/wp-content/uploads/avia_fonts/1802016/0.woff') format('woff'), 
    url('/wp-content/uploads/avia_fonts/1802016/0.ttf') format('truetype'), 
    url('/wp-content/uploads/avia_fonts/1802016/0.svg#0') format('svg');
    } #top .avia-font-0, body .avia-font-0, html body [data-av_iconfont='0']:before{ font-family: '0'; }
    

    Please advise as i really need to fix this, the errors display on frontend.

    UPDATE: Reverted back to WP 4.4.2 and the error is gone, though the code still remains in source.

    • This reply was modified 8 years ago by mike.rav.
    #617484

    Hey!

    please check if you get the same error when using a default WordPress theme and let us know about your results.

    Regards,
    Andy

    #617491

    Like i said, reverting back to WP 4.4.2 has removed the error. Though i am still seeing the font-face code in the source code., and i cant delete the fontello zip from enfold options. How can i remove to avoid the error appearing again when i upgrade to WP 4.5?

    Moreover why would another theme have anything to do with font manager?

    • This reply was modified 8 years ago by mike.rav.
    #619731

    Hey!

    please follow our instructions and check if you get the same error when using a default WordPress theme and let us know about your results. We need to make sure that this error is a theme related issue or a general WP issue.

    Best regards,
    Andy

    #619768

    Hey,

    Have you read my last post at all? #617491

    I said that i dont have the error anymore because i switched back to 4.4.2

    I cant delete the “0” fontello zip though from Enfold options and therefore the code remains in source code.

    How can i remove the font-face code of the wrong fontello zip , to avid the same error appearing on 4.5?

    There is abosultely no reason for a chnage of theme, because a default theme doesnt have fontello zip support.

    #621883

    Hey!

    Please access your file server then go to the wp-content > uploads > avia_fonts folder. Let us know if you see the “0” folder there. If yes, try to delete the folder then go back to the icon fonts manager panel. If it doesn’t work, we may need to delete the entry directly in the database.

    Cheers!
    Ismael

    #621939

    Hey,

    In the first post i described my issue , which contains the information you asked me. From there one, staff replies have been out of context for the most part and generic.

    Anyway its been way to long. Please advise on how to find the entry in the DB

    #623562

    Hey!

    That was the admin or dashboard login details. We can’t access the wp-content folder with that. If you want to delete the entry via database, look for the _options table then search for the “avia_builder_fonts” option_name.

    a:2:{s:3:"entry1";a:3:{s:7:"include";s:14:"avia_fonts/entry1";s:6:"folder";s:14:"avia_fonts/entry1";s:6:"config";s:11:"charmap.php";}s:6:"entry2";a:3:{s:7:"include";s:17:"avia_fonts/entry2";s:6:"folder";s:17:"avia_fonts/entry2";s:6:"config";s:11:"charmap.php";}}
    

    .. We have entry1 and entry2. After removing the “entry2”, the option_value should look like this:

    a:1:{s:3:"entry1";a:3:{s:7:"include";s:14:"avia_fonts/entry1";s:6:"folder";s:14:"avia_fonts/entry1";s:6:"config";s:11:"charmap.php";}}
    

    Cheers!
    Ismael

    #623563

    Hi!

    NOTE: Please be very careful with this because one mistake can break the whole website. Create a backup or a restore point before doing anything to the database.

    Best regards,
    Ismael

    #623565

    Hey,

    This is what i have in my database

    a:3:{i:1802016;a:3:{s:7:"include";s:18:"avia_fonts/1802016";s:6:"folder";s:18:"avia_fonts/1802016";s:6:"config";s:11:"charmap.php";}s:8:"megamenu";a:3:{s:7:"include";s:19:"avia_fonts/megamenu";s:6:"folder";s:19:"avia_fonts/megamenu";s:6:"config";s:11:"charmap.php";}s:8:"accounts";a:3:{s:7:"include";s:19:"avia_fonts/accounts";s:6:"folder";s:19:"avia_fonts/accounts";s:6:"config";s:11:"charmap.php";}}

    What part to remove?

    • This reply was modified 8 years ago by mike.rav.
    #625499

    Hi,

    I see. It is really corrupted. Replace the value with:

    a:2:{s:8:"megamenu";a:3:{s:7:"include";s:19:"avia_fonts/megamenu";s:6:"folder";s:19:"avia_fonts/megamenu";s:6:"config";s:11:"charmap.php";}s:8:"accounts";a:3:{s:7:"include";s:19:"avia_fonts/accounts";s:6:"folder";s:19:"avia_fonts/accounts";s:6:"config";s:11:"charmap.php";}}
    

    NOTE: Again, make sure that you have a restore point or a backup of the database.

    Best regards,
    Ismael

    #626950

    Hey,

    Finally yes, its gone now!

    Thanks for all your help. You can close this now!

    #627612

    Hi,

    Great, glad we could help and sorry for the trouble.

    Regards,
    Rikard

Viewing 21 posts - 1 through 21 (of 21 total)
  • The topic ‘Font Manager error’ is closed to new replies.