VTModuleDesigner icon indicating copy to clipboard operation
VTModuleDesigner copied to clipboard

unable to export or install

Open SteveFarnham opened this issue 11 years ago • 7 comments

Hi

I have installed the Module Designer + the Patch, however when I try to create / export new modules i am receiving an error message.

Any thoughts?

Kr Steve

SteveFarnham avatar May 14 '14 13:05 SteveFarnham

Hello,

Module Designer does not work with magic_quote_gpc(). It could be the reason. Else, please look the error into JavaScript console and share with us.

sardoj avatar May 14 '14 14:05 sardoj

Hi

My php.ini file has the following settings:-


; This directive is deprecated. Use variables_order instead. gpc_order = "GPC"

; Magic quotes ;

; Magic quotes for incoming GET/POST/Cookie data. magic_quotes_gpc = Off

; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc. magic_quotes_runtime = Off

; Use Sybase-style magic quotes (escape ' with '' instead of '). magic_quotes_sybase = Off


Where do I find the JavaScript console ???

Kr Steve

SteveFarnham avatar May 15 '14 07:05 SteveFarnham

You can use Web developper extension for Chrome or Firefox to see JS console.

sardoj avatar May 15 '14 11:05 sardoj

Hi this is my report from the chrome console........... (i have replaced the domain name)

Failed to load resource: the server responded with a status of 404 (Not Found) http://www.xxxxxx.com/xxxxxx/modules/Settings/ModuleDesigner/js/CustomScript.js event.returnValue is deprecated. Please use the standard event.preventDefault() instead. Attr.specified is deprecated. Its value is always true. Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://www.xxxxxx.com/xxxxxx/index.php?module=ModuleDesigner&action=MakePackage&parent=Settings Object ModuleDesigner.js?&v=6.0.0:1782 Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://www.xxxxxx.com/xxxxxx/index.php?module=ModuleDesigner&action=MakePackage&parent=Settings Object ModuleDesigner.js?&v=6.0.0:1782 Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://www.xxxxxx.com/xxxxxx/index.php?module=ModuleDesigner&action=MakePackage&parent=Settings Object ModuleDesigner.js?&v=6.0.0:1782

SteveFarnham avatar May 15 '14 11:05 SteveFarnham

I'm sorry but when it becomes a error 500 usually the problem is from server...

Maybe, can you check this still happening to you?

playmono avatar Aug 27 '14 07:08 playmono

I'm using ModuleDesigner_2014-10-10.zip, vtlib_patch.zip, vTigerCRM6 clean install (Godaddy hosting), Chrome v38. Firtst time make, download & install module was successful. Subsequent, load the module, change version, and 'Make & download' will give popup error "And error occurred. Please try again"

JS Console: POST http://crm001.xxxxxxx.com/index.php?module=ModuleDesigner&action=MakePackage&parent=Settings 406 (Not Acceptable) jquery.min.js:4send jquery.min.js:4f.extend.ajax jquery.min.js:4md_makePackage ModuleDesigner.js?&v=6.0.0:1797onclick index.php?module=ModuleDesigner&view=Index&parent=Settings&block=3&fieldid=32:326

Object {readyState: 4, setRequestHeader: function, getAllResponseHeaders: function, getResponseHeader: function, overrideMimeType: function…} abort: function (a){a=a||"abort",p&&p.abort(a),w(0,a);return this} always: function (){return i.done.apply(i,arguments).fail.apply(i,arguments)}complete: function (){if(c){var a=c.length;m(arguments),i?k=c.length:e&&e!==!0&&(j=a,n(e[0],e[1]))}return this} done: function (){if(c){var a=c.length;m(arguments),i?k=c.length:e&&e!==!0&&(j=a,n(e[0],e[1]))}return this} error: function (){if(c){var a=c.length;m(arguments),i?k=c.length:e&&e!==!0&&(j=a,n(e[0],e[1]))}return this} fail: function (){if(c){var a=c.length;m(arguments),i?k=c.length:e&&e!==!0&&(j=a,n(e[0],e[1]))}return this} getAllResponseHeaders: function (){return s===2?n:null} getResponseHeader: function (a){var c;if(s===2){if(!o){o={};while(c=bJ.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c} isRejected: function (){return!!e} isResolved: function (){return!!e}overrideMimeType: function (a){s||(d.mimeType=a);return this} pipe: function (a,b,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c=b[0],e=b[1],g;f.isFunction(c)?ia:ia})}).promise()} progress: function (){if(c){var a=c.length;m(arguments),i?k=c.length:e&&e!==!0&&(j=a,n(e[0],e[1]))}return this} promise: function (a){if(a==null)a=h;else for(var b in h)a[b]=h[b];return a}readyState: 4responseText: "↵

406 Not Acceptable↵↵

Not Acceptable

An appropriate representation of the requested resource /index.php could not be found on this server.

Additionally, a 404 Not Found↵error was encountered while trying to use an ErrorDocument to handle the request.

↵↵" setRequestHeader: function (a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this} state: function (){return e} status: 406 statusCode: function (a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this} statusText: "Not Acceptable" success: function (){if(c){var a=c.length;m(arguments),i?k=c.length:e&&e!==!0&&(j=a,n(e[0],e[1]))}return this} then: function (a,b,c){i.done(a).fail(b).progress(c);return this} proto: Object ModuleDesigner.js?&v=6.0.0:1837

andywapcd avatar Oct 20 '14 21:10 andywapcd

POST http://crm001.xxxxxxxx.com/index.php?module=ModuleDesigner&action=MakePackage&parent=Settings 406 (Not Acceptable) jquery.min.js:4 send jquery.min.js:4 f.extend.ajax jquery.min.js:4 md_makePackage ModuleDesigner.js?&v=6.0.0:1797 onclick index.php?module=ModuleDesigner&view=Index&parent=Settings&block=3&fieldid=32:326

I think the error popup comes from ModuleDesigner.js, line 1827 if (zip_url) { ... } else { alert(app.vtranslate('LBL_ERROR_TRY_AGAIN', MD_QUALIFIED_MODULE_NAME)); // line 1827 }

andywapcd avatar Oct 21 '14 02:10 andywapcd