Link to home
Start Free TrialLog in
Avatar of Kosta Kondratenko
Kosta Kondratenko

asked on

Missing icons

Icons are not showing up on my website after I have uploaded it from my local.

URL: sydneylocalpainting.com
Screenshot of missing icons: https://screenshots.firefox.com/dmdhWFGEgemoIIOi/www.sydneylocalpainting.com
how it looks on local: https://screenshots.firefox.com/aAgJEGTTDkJ0cZRW/localhost

Anyway I was wondering if anyone can figure out the file that the CSS is pointing to so I can just upload the icon to the relevant file (I have uploaded the icons folder from the local install but they are still not showing for some reason).

Thanks!
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

Undefined offset: 0 in <b>/home/kostaku/public_html/sydneylocalpainting/wp-content/themes/enfold/framework/php/font-management/class-avia-type-fonts.php</b> on line <b>875</b>

Open in new window

As it refers to a font url I am guessing you need to sort that out
Avatar of Kosta Kondratenko
Kosta Kondratenko

ASKER

Yes I know - I have tried to fix this - this error code is referring to trying to get an array variable from a row in wp_options which I have manually moved from my local server to the remote server as so:

Option Name: avia_custom_type_fonts
Old Value (from local server):
a:6:{s:3:"png";a:4:{s:6:"folder";s:25:"avia_fonts/type_fonts/png";s:6:"config";a:1:{s:3:"key";s:3:"png";}s:10:"origin_url";s:61:"http://localhost:8888/sydneylocalpainting/wp-content/uploads/";s:10:"origin_dir";s:65:"/Applications/MAMP/htdocs/sydneylocalpainting/wp-content/uploads/";}s:3:"psd";a:4:{s:6:"folder";s:25:"avia_fonts/type_fonts/psd";s:6:"config";a:1:{s:3:"key";s:3:"psd";}s:10:"origin_url";s:61:"http://localhost:8888/sydneylocalpainting/wp-content/uploads/";s:10:"origin_dir";s:65:"/Applications/MAMP/htdocs/sydneylocalpainting/wp-content/uploads/";}s:3:"eps";a:4:{s:6:"folder";s:25:"avia_fonts/type_fonts/eps";s:6:"config";a:1:{s:3:"key";s:3:"eps";}s:10:"origin_url";s:61:"http://localhost:8888/sydneylocalpainting/wp-content/uploads/";s:10:"origin_dir";s:65:"/Applications/MAMP/htdocs/sydneylocalpainting/wp-content/uploads/";}s:7:"license";a:4:{s:6:"folder";s:29:"avia_fonts/type_fonts/license";s:6:"config";a:1:{s:3:"key";s:7:"license";}s:10:"origin_url";s:61:"http://localhost:8888/sydneylocalpainting/wp-content/uploads/";s:10:"origin_dir";s:65:"/Applications/MAMP/htdocs/sydneylocalpainting/wp-content/uploads/";}s:4:"font";a:4:{s:6:"folder";s:26:"avia_fonts/type_fonts/font";s:6:"config";a:2:{i:0;a:6:{s:4:"name";s:4:"font";s:5:"style";s:6:"normal";s:6:"weight";i:400;s:8:"filename";s:12:"flaticon.ttf";s:9:"full_name";s:4:"font";s:5:"files";a:4:{s:3:"eot";s:12:"flaticon.eot";s:3:"svg";s:12:"flaticon.svg";s:3:"ttf";s:12:"flaticon.ttf";s:4:"woff";s:13:"flaticon.woff";}}s:3:"key";s:4:"font";}s:10:"origin_url";s:61:"http://localhost:8888/sydneylocalpainting/wp-content/uploads/";s:10:"origin_dir";s:65:"/Applications/MAMP/htdocs/sydneylocalpainting/wp-content/uploads/";}s:3:"svg";a:4:{s:6:"folder";s:25:"avia_fonts/type_fonts/svg";s:6:"config";a:4:{i:0;a:6:{s:4:"name";s:3:"svg";s:5:"style";s:6:"normal";s:6:"weight";i:400;s:8:"filename";s:17:"001-wallpaper.svg";s:9:"full_name";s:3:"svg";s:5:"files";a:1:{s:3:"svg";s:17:"001-wallpaper.svg";}}i:1;a:6:{s:4:"name";s:3:"svg";s:5:"style";s:6:"normal";s:6:"weight";i:400;s:8:"filename";s:13:"002-bench.svg";s:9:"full_name";s:3:"svg";s:5:"files";a:1:{s:3:"svg";s:13:"002-bench.svg";}}i:2;a:6:{s:4:"name";s:3:"svg";s:5:"style";s:6:"normal";s:6:"weight";i:400;s:8:"filename";s:19:"003-paint-spray.svg";s:9:"full_name";s:3:"svg";s:5:"files";a:1:{s:3:"svg";s:19:"003-paint-spray.svg";}}s:3:"key";s:3:"svg";}s:10:"origin_url";s:61:"http://localhost:8888/sydneylocalpainting/wp-content/uploads/";s:10:"origin_dir";s:65:"/Applications/MAMP/htdocs/sydneylocalpainting/wp-content/uploads/";}}

Option Name: avia_custom_type_fonts
New Value (did some find and replace to move to remote server):
a:6:{s:3:"png";a:4:{s:6:"folder";s:25:"avia_fonts/type_fonts/png";s:6:"config";a:1:{s:3:"key";s:3:"png";}s:10:"origin_url";s:61:"http://www.sydneylocalpainting.com/wp-content/uploads/";s:10:"origin_dir";s:65:"/home/kostaku/public_html/wp-content/uploads/";}s:3:"psd";a:4:{s:6:"folder";s:25:"avia_fonts/type_fonts/psd";s:6:"config";a:1:{s:3:"key";s:3:"psd";}s:10:"origin_url";s:61:"http://www.sydneylocalpainting.com/wp-content/uploads/";s:10:"origin_dir";s:65:"/home/kostaku/public_html/wp-content/uploads/";}s:3:"eps";a:4:{s:6:"folder";s:25:"avia_fonts/type_fonts/eps";s:6:"config";a:1:{s:3:"key";s:3:"eps";}s:10:"origin_url";s:61:"http://www.sydneylocalpainting.com/wp-content/uploads/";s:10:"origin_dir";s:65:"/home/kostaku/public_html/wp-content/uploads/";}s:7:"license";a:4:{s:6:"folder";s:29:"avia_fonts/type_fonts/license";s:6:"config";a:1:{s:3:"key";s:7:"license";}s:10:"origin_url";s:61:"http://www.sydneylocalpainting.com/wp-content/uploads/";s:10:"origin_dir";s:65:"/home/kostaku/public_html/wp-content/uploads/";}s:4:"font";a:4:{s:6:"folder";s:26:"avia_fonts/type_fonts/font";s:6:"config";a:2:{i:0;a:6:{s:4:"name";s:4:"font";s:5:"style";s:6:"normal";s:6:"weight";i:400;s:8:"filename";s:12:"flaticon.ttf";s:9:"full_name";s:4:"font";s:5:"files";a:4:{s:3:"eot";s:12:"flaticon.eot";s:3:"svg";s:12:"flaticon.svg";s:3:"ttf";s:12:"flaticon.ttf";s:4:"woff";s:13:"flaticon.woff";}}s:3:"key";s:4:"font";}s:10:"origin_url";s:61:"http://www.sydneylocalpainting.com/wp-content/uploads/";s:10:"origin_dir";s:65:"/home/kostaku/public_html/wp-content/uploads/";}s:3:"svg";a:4:{s:6:"folder";s:25:"avia_fonts/type_fonts/svg";s:6:"config";a:4:{i:0;a:6:{s:4:"name";s:3:"svg";s:5:"style";s:6:"normal";s:6:"weight";i:400;s:8:"filename";s:17:"001-wallpaper.svg";s:9:"full_name";s:3:"svg";s:5:"files";a:1:{s:3:"svg";s:17:"001-wallpaper.svg";}}i:1;a:6:{s:4:"name";s:3:"svg";s:5:"style";s:6:"normal";s:6:"weight";i:400;s:8:"filename";s:13:"002-bench.svg";s:9:"full_name";s:3:"svg";s:5:"files";a:1:{s:3:"svg";s:13:"002-bench.svg";}}i:2;a:6:{s:4:"name";s:3:"svg";s:5:"style";s:6:"normal";s:6:"weight";i:400;s:8:"filename";s:19:"003-paint-spray.svg";s:9:"full_name";s:3:"svg";s:5:"files";a:1:{s:3:"svg";s:19:"003-paint-spray.svg";}}s:3:"key";s:3:"svg";}s:10:"origin_url";s:61:"http://www.sydneylocalpainting.com/wp-content/uploads/";s:10:"origin_dir";s:65:"/home/kostaku/public_html/wp-content/uploads/";}}

This error is still coming up I assume - I was just hoping it was possible to look in the header and figure out which files are not available so I could simply place them where they need to be.

Chrs
The data is helpful but I would need to see the code that is generating the error.
I understand - I asked the developers and they're getting back to me so it should be all good. Thank you for your help.
I think its a folder permission issue. Can you please check the image and font paths are accessible thru URL.
Since you mention it, its a manually created.

hope this helps.
I think its a folder permission issue. Can you please check the image and font paths are accessible thru URL.
That does not explain the PHP errors.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.