Welcome Guest, Not a member yet? Register   Sign In
FrameworkException::forInvalidFile / CORS Issues
#4

(This post was last modified: 08-15-2020, 10:53 AM by InsiteFX.)

That error line 17 is
SYSTEMPATH/Exceptions/FrameworkException.php at line 17
forEnabledZlibOutputCompression()

Check your php version it has to be 7.2.0+

500 is usually a server error but could be a programming error also.

For CORS errors you can try the below and add it to your htaccess file where index.php is:

Code:
# Add Font Types
AddType application/vnd.ms-fontobject .eot
AddType font/truetype .ttf
AddType font/opentype .otf
AddType font/opentype .woff
AddType font/opentype .woff2
AddType image/svg+xml .svg .svgz

<FilesMatch ".(eot|ttf|otf|woff|woff2|svg|svgz)">
    Header set Access-Control-Allow-Origin "http://www.your_website.com"
</FilesMatch>

Chang this to match your website "http://www.your_website.com"
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: FrameworkException::forInvalidFile / CORS Issues - by InsiteFX - 08-15-2020, 10:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB