-
AuthorPosts
-
April 13, 2016 at 7:45 am #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
– megamenuUnder 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, 6 months ago by mike.rav.
April 13, 2016 at 3:56 pm #612855Hey george!
Please make sure that wp-content/uploads folder has correct permissions ( 755 ) – http://codex.wordpress.org/Changing_File_Permissions
Cheers!
YigitApril 13, 2016 at 3:58 pm #612859Hey
Thanks for the response. It has the permissions set correctly.
April 14, 2016 at 6:17 am #613495Hi,
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,
RikardApril 14, 2016 at 9:26 am #613618added in private content
April 16, 2016 at 4:38 am #615284Hi,
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,
RikardApril 16, 2016 at 8:17 am #615357Hey,
Already did that with no luck. Please help
April 16, 2016 at 9:14 am #615373Hi!
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,
VinayApril 18, 2016 at 7:36 am #616127Hello,
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, 6 months ago by mike.rav.
April 19, 2016 at 3:49 pm #617484Hey!
please check if you get the same error when using a default WordPress theme and let us know about your results.
Regards,
AndyApril 19, 2016 at 3:53 pm #617491Like 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, 6 months ago by mike.rav.
April 22, 2016 at 10:52 am #619731Hey!
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,
AndyApril 22, 2016 at 11:29 am #619768Hey,
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.
April 26, 2016 at 5:44 am #621883Hey!
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!
IsmaelApril 26, 2016 at 7:11 am #621939Hey,
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
April 28, 2016 at 9:37 am #623562Hey!
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!
IsmaelApril 28, 2016 at 9:38 am #623563Hi!
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,
IsmaelApril 28, 2016 at 9:44 am #623565Hey,
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, 6 months ago by mike.rav.
May 2, 2016 at 7:48 am #625499Hi,
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,
IsmaelMay 4, 2016 at 7:37 am #626950Hey,
Finally yes, its gone now!
Thanks for all your help. You can close this now!
May 5, 2016 at 5:55 am #627612 -
AuthorPosts
- The topic ‘Font Manager error’ is closed to new replies.