SocialEngine 4: Scaffold issue with absolute URLs

Andrew - SocialEngine

Do you often find that certain images or text don’t load correctly on your site theme? Well it is common for SocialEngine’s Scaffold system to cause such issues.

Scaffold tries to find the absolute path within the local directories.

To produce the issue add the following to application/themes/default/theme.css to confirm the problem does match yours:

@font-face {
font-family: ‘Chewy’;
src: local(‘Chewy’), url(‘‘) format(‘woff2’);

application/libraries/Scaffold/modules/Absolute_Urls/Absolute_Urls.php ( Line 72 )

The problem :

if( substr($url, 0, 5) == "data:" ) { // Definitely skip this

Replace With

if( substr($url, 0, 5) == "data:" || substr($url, 0, 7) == "http://" ) { // Definitely skip this

This fix is for Version 4.8.9 and below. SE Claim to have added the fix into the next version to be released.

Looking for quality SocialEngine Hosting? Look no further than Arvixe Web Hosting

Tags: , , , , , | Posted under SocialEngine | RSS 2.0

Author Spotlight

Andrew Cross

Hi, I'm Andrew. A am a 26, ICT Administrator which offers support to company's around the South Wales Area. I have created a few social sites for myself and other company's. So far 2 out of 3 have been successful using the powerful SocialEngine Script. I continue to try and help the community of SocialEngine by giving Support and Technical Help where possible.

Leave a Reply

Your email address will not be published. Required fields are marked *