I've spent two days on this and I can't seem to get anywhere.
I have SS 3.1.0 running on my local MAMP server with no issues. I upload the site to Godaddy, Linux, and the site works. I log in to the admin and everything loads but TinyMCE. When I look at the inspector in Chrome it reads:
Uncaught SyntaxError: Unexpected token )
/framework/thirdparty/tinymce/tiny_mce_gzip.php?m=1380638072&js=1&plugins=c…creen,inlinepopups&themes=advanced&languages=en&diskcache=true&src=false:1
I have tried the following: dev/build, flush=all, flush-1, in Godaddy turning off system processes to reset php.ini, changing the php.ini file to php5.ini to fix the godaddy magic_quotes issue, uploaded a clean install of SS 3.1.0 and installed it on the hosted server, performed 50+ google searches, cried a little inside...
My php5.ini file:
magic_quotes_gpc = Off;
magic_quotes_runtime = Off;
magic_quotes_sybase = Off;
my .htaccess file:
### SILVERSTRIPE START ###
<Files *.ss>
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Files>
<Files web.config>
Order deny,allow
Deny from all
</Files>
# This denies access to all yml files, since developers might include sensitive
# information in them. See the docs for work-arounds to serve some yaml files
<Files *.yml>
Order allow,deny
Deny from all
</Files>
ErrorDocument 404 /assets/error-404.html
ErrorDocument 500 /assets/error-500.html
<IfModule mod_alias.c>
RedirectMatch 403 /silverstripe-cache(/|$)
RedirectMatch 403 /vendor(/|$)
RedirectMatch 403 /composer\.(json|lock)
</IfModule>
<IfModule mod_rewrite.c>
SetEnv HTTP_MOD_REWRITE On
RewriteEngine On
RewriteBase '/'
RewriteRule ^vendor(/|$) - [F,L,NC]
RewriteRule silverstripe-cache(/|$) - [F,L,NC]
RewriteRule composer\.(json|lock) - [F,L,NC]
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !\.php$
RewriteRule .* framework/main.php?url=%1&%{QUERY_STRING} [L]
</IfModule>
### SILVERSTRIPE END ###