Filippo Tasca
Forum Replies Created
-
I have tested it with chrome and seems to work (as in firefox). I’m working on a Mac OSX, so I can’t test IE!
Now it works: enqueue your own copy of jquery-ui and plupload in functions.php. You maybe also need to comment out this line of code:
$('input.nextgen_settings_field_colorpicker').wpColorPicker();
from
wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_admin/static/nextgen_admin_page.js::line-65
Maybe the problem is related to the php DOCUMET_ROOT variable. On my machine (unix) everything works, on the online server (windows) it throws the error
Notice: Undefined index: DOCUMENT_ROOT in ********\wp-content\plugins\nextgen-gallery\products\photocrati_nextgen\modules\fs\class.fs.php on line 36
I’ve edited that function and the error is not displaying anymore. Now my function initialize() is this one:
function initialize() { parent::initialize(); // let's make sure the $_SERVER['DOCUMENT_ROOT'] variable is set if(!isset($_SERVER['DOCUMENT_ROOT'])){ if(isset($_SERVER['SCRIPT_FILENAME'])){ $_SERVER['DOCUMENT_ROOT'] = str_replace( '\\', '/', substr($_SERVER['SCRIPT_FILENAME'], 0, 0-strlen($_SERVER['PHP_SELF']))); }; }; if(!isset($_SERVER['DOCUMENT_ROOT'])){ if(isset($_SERVER['PATH_TRANSLATED'])){ $_SERVER['DOCUMENT_ROOT'] = str_replace( '\\', '/', substr(str_replace('\\\\', '\\', $_SERVER['PATH_TRANSLATED']), 0, 0-strlen($_SERVER['PHP_SELF']))); }; }; $this->_document_root = $this->set_document_root($_SERVER['DOCUMENT_ROOT']); <code></code>}
It seems that some scripts are not loaded, like plupload. I can’t understand why in localhost everything works and when i put my theme online some scripts are not loaded. I’ve tried forcing my theme to load plupload plugin enqueuing the script in the functions.php of my theme, and something seems to work better: now i can see the graphic interface correctly, but the error message “You browser doesn’t have Flash, Silverlight, HTML5, or HTML4 support” still remains.
No, I’ve found no solution. I think it’s an issue related to a problem with the Plupload plugin, but I can’t solve it.