CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #38292

Cannot save Projects

Added by Gabriel Kaufmann / Typoworx NewMedia 12 months ago. Updated 12 months ago.

Status:Resolved Start date:2012-06-22
Priority:Should have Due date:
Assignee:- % Done:

100%

Category:Backend Interface
Target version:-
Votes: 0

Description

Hello,

I cannot save Extension-Builder Projects anymore. Extension-Builder throws the following error-popup:

Error while saving: Server responded with Status-Code: 0
Statustext: communication failure

Firebug contains the following JS-Error:

> POST http://intern.typoworx.de/tx_dev/typo3/mod.php?M=tools_ExtensionBuilderExtensionbuilder&tx_extensionbuilder_tools_extensionbuilderextensionbuilder[controller]=BuilderModule&tx_extensionbuilder_tools_extensionbuilderextensionbuilder[action]=dispatchRpc  merged-b037966ee3a3726ceebd76c6ebc53bb0.js:2975
> Object
status: 0
statusText: "communication failure" 
tId: 16
> __proto__: Object

The Developer-Log contains this log, that may fit:

The singleton "Tx_ExtensionBuilder_Service_CodeGenerator" needs a prototype in "injectTemplateParser". This is often a bad code smell; often you rather want to inject a singleton.    Container.php, line 239

I've tried the latest TER-Version (1.4.4) and the latest GIT-Trunk Version in TYPO3 Ver. 4.6.9. Any idea how to fix it?

TX-Extbase_DEV__TYPO3_4.7.1_.png (66.5 kB) Gabriel Kaufmann / Typoworx NewMedia, 2012-06-24 00:43


Related issues

related to Extension Builder - Bug #14025: "SAVE" is not working when TYPO3-Installation is in subfo... Closed 2011-03-24

History

Updated by Gabriel Kaufmann / Typoworx NewMedia 12 months ago

Here is another Back-Trace I've taken with Chrome/FireBug Console (Network/Scripts Communication Tab)

> Request URL:http://intern.typoworx.de/tx_extbase_dev/typo3/mod.php?M=tools_ExtensionBuilderExtensionbuilder&tx_extensionbuilder_tools_extensionbuilderextensionbuilder[controller]=BuilderModule&tx_extensionbuilder_tools_extensionbuilderextensionbuilder[action]=generateCode

> Request Headersview source
Content-Type:application/x-www-form-urlencoded; charset=UTF-8

> Origin:http://intern.typoworx.de
> Referer:http://intern.typoworx.de/tx_extbase_dev/typo3/mod.php?M=tools_ExtensionBuilderExtensionbuilder
> User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/11.10 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19
> X-Requested-With:XMLHttpRequest

> Query String Parametersview URL encoded
M:tools_ExtensionBuilderExtensionbuilder
tx_extensionbuilder_tools_extensionbuilderextensionbuilder[controller]:BuilderModule
tx_extensionbuilder_tools_extensionbuilderextensionbuilder[action]:generateCode
Form Dataview URL encoded
{"id":8,"method":"saveWiring","params":{"language":"extbaseModeling","name":"testa","working":"{\"modules\":[],\"properties\":{\"backendModules\":[],\"description\":\"testa\",\"emConf\":{\"category\":\"plugin\",\"custom_category\":\"\",\"dependsOn\":\"extbase :> 1.3.0\\nfluid 

I hope this may help finding the issue.

Updated by Gabriel Kaufmann / Typoworx NewMedia 12 months ago

Update: This Bug may be a Duplicate of http://forge.typo3.org/issues/14025 I just found in hope to find a solution in here.

I also use TYPO3 in a Sub-Folder (Doc-Root != TYPO3-Docroot). Anything else works for me using TYPO3 under a sub-directory of main-docroot. I am using this scheme often for development cases.

Updated by Gabriel Kaufmann / Typoworx NewMedia 12 months ago

Here is a Screenshot to make clear where the problem is

Updated by Gabriel Kaufmann / Typoworx NewMedia 12 months ago

I've got it working!

I upgraded my Server to the latest PHP 5.3 and Apache Release and then it worked out of the box. I can't say where exactly the problem was as the Apache/Error Logs didn't gave me a useful hint.

Just to note it here in case other users have a similar issue:
I am using Ubuntu Natty / 11.04 and used Ubuntu OneIric Repos to fetch Apache/PHP in the current version of that release. Ubuntu Natty seems to have some bugs with Apache/PHP (even with latest Patches/Updates available there).
This link gave me some hints for doing that on Ubuntu: http://thinkinginsoftware.blogspot.de/2011/10/upgrade-ubuntu-apache-to-latest-version.html

Updated by Gabriel Kaufmann / Typoworx NewMedia 12 months ago

  • % Done changed from 0 to 100

Updated by Nico de Haen 12 months ago

  • Status changed from New to Resolved

Also available in: Atom PDF