Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
botton upoload file in upload.php
#11
lucamusolesi Wrote:In the upload section I got this error in js:
Code:
Uncaught SyntaxError: Unexpected token D    jquery.min.js:2
An error inside jquery.min.js should pretty much break all JavaScript used by the admin panel. I’m surprised uploading is your only problem. Does the HTML editor work for pages?

What you could try is to go in to your gsconfig.php file. At the bottom you will find a GSNOCDN constant, like so:
Code:
#define("GSNOCDN",true);
Remove the # to set this:
Code:
define("GSNOCDN",true);
After this jQuery should be loaded from your own server, out of the admin directory. Hopefully this will fix things as you will no longer rely on an external jQuery version. (This will also enable you to manually update the jQuery file if further problems pop-up.)
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply


Messages In This Thread
botton upoload file in upload.php - by neroenriko - 2012-03-10, 00:47:30
botton upoload file in upload.php - by Connie - 2012-03-10, 00:55:46
botton upoload file in upload.php - by neroenriko - 2012-03-10, 01:07:21
botton upoload file in upload.php - by Connie - 2012-03-10, 01:24:49
botton upoload file in upload.php - by neroenriko - 2012-03-10, 01:48:26
botton upoload file in upload.php - by Zegnåt - 2012-03-20, 05:49:18



Users browsing this thread: 1 Guest(s)