http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692011-12-04T11:38:31ZTYPO3 ForgeTYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=957772011-12-04T11:38:31ZBoris Senker
<ul></ul><p>Firebug output:</p>
<pre>
JSON
action
"ExtDirect"
data
[Object {}, "20b4b5c84ed2652bfc4b540a90f4ba2b1f32e2cf"]
0
Object {}
1
"20b4b5c84ed2652bfc4b540a90f4ba2b1f32e2cf"
method
"saveExtensionConfiguration"
tid
4
type
"rpc"
Source
{"action":"ExtDirect","method":"saveExtensionConfiguration","data":[{},"20b4b5c84ed2652bfc4b540a90f4ba2b1f32e2cf"],"type":"rpc","tid":4}
</pre> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=958082011-12-05T02:19:21ZMichael Stuckimichael.stucki@typo3.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li></ul><p>Can you reproduce this with a fresh dummy site?<br />If not then please clean any passwords from your localconf.php and post it here...</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=959632011-12-06T19:39:14ZBoris Senker
<ul><li><strong>File</strong> <a href="/attachments/19569">4.6.0-cleaninstall.gif</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/19569/4.6.0-cleaninstall.gif">4.6.0-cleaninstall.gif</a> added</li></ul><p>Hi Michael,</p>
<p>since I have installed the 4.6.0 source + dummy on the site I have reported this for, I did the same, clean 4.6.0 install, and have reproduced it.</p>
<p>The attached screenshot is the one of the extension settings save, and it's hanging in circles without ever finishing or saving data.</p>
<p>Localconf.php:</p>
<pre><?php
if (!defined ('TYPO3_MODE')) {
die ('Access denied.');
}
$TYPO3_CONF_VARS['SYS']['sitename'] = 'New TYPO3 site';
// Default password is "joh316" :
$TYPO3_CONF_VARS['BE']['installToolPassword'] = 'HIDDEN';
$TYPO3_CONF_VARS['EXT']['extList'] = 'info,perm,func,filelist,about,version,tsconfig_help,context_help,extra_page_cm_options,impexp,sys_note,tstemplate,tstemplate_ceditor,tstemplate_info,tstemplate_objbrowser,tstemplate_analyzer,func_wizards,wizard_crpages,wizard_sortpages,lowlevel,install,belog,beuser,aboutmodules,setup,taskcenter,info_pagetsconfig,viewpage,rtehtmlarea,css_styled_content,t3skin,t3editor,reports,felogin,form';
$typo_db_extTableDef_script = 'extTables.php';
## INSTALL SCRIPT EDIT POINT TOKEN - all lines after this points may be changed by the install script!
$TYPO3_CONF_VARS['EXT']['extList'] = 'extbase,css_styled_content,info,perm,func,filelist,about,version,tsconfig_help,context_help,extra_page_cm_options,impexp,sys_note,tstemplate,tstemplate_ceditor,tstemplate_info,tstemplate_objbrowser,tstemplate_analyzer,func_wizards,wizard_crpages,wizard_sortpages,lowlevel,install,belog,beuser,aboutmodules,setup,taskcenter,info_pagetsconfig,viewpage,rtehtmlarea,t3skin,t3editor,reports,felogin,form,adodb,dbal,cshmanual,feedit,opendocs,recycler,scheduler,fluid,workspaces'; // Modified or inserted by TYPO3 Extension Manager. Modified or inserted by TYPO3 Core Update Manager.
// Updated by TYPO3 Core Update Manager 06-12-11 19:03:52
$TYPO3_CONF_VARS['BE']['installToolPassword'] = '19790801c00abe1156b59ea3ab434e10'; // Modified or inserted by TYPO3 Install Tool.
$typo_db_username = 'HIDDEN'; // Modified or inserted by TYPO3 Install Tool.
$typo_db_password = 'HIDDEN'; // Modified or inserted by TYPO3 Install Tool.
$typo_db = 'HIDDEN';
$typo_db_host = 'localhost'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['sitename'] = 'HIDDEN'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['encryptionKey'] = '28180b71efe40d58061ce813acd40333cc54fbde7a8a47dc93bf04caa5bb9033dc07108a978f3ab507fde6083c7303bd'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['BE']['disable_exec_function'] = '0'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['gdlib_png'] = '0'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['im_combine_filename'] = 'composite'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['jpg_quality'] = '75'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['cookieDomain'] = 'HIDDEN'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['doNotCheckReferer'] = '1'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['curlUse'] = '1'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['t3lib_cs_convMethod'] = 'iconv'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['t3lib_cs_utils'] = 'iconv'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['UTF8filesystem'] = '1'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['BE']['unzip_path'] = 'unzip'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['BE']['cookieDomain'] = 'HIDDEN'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['BE']['versionNumberInFilename'] = '0'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['FE']['noPHPscriptInclude'] = '1'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = '1'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['FE']['cookieDomain'] = 'HIDDEN'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['MAIL']['transport'] = 'smtp'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['MAIL']['transport_smtp_server'] = 'localhost:587'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['MAIL']['transport_smtp_username'] = 'HIDDEN'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['MAIL']['transport_smtp_password'] = 'HIDDEN'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['MAIL']['defaultMailFromAddress'] = 'HIDDEN'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['MAIL']['defaultMailFromName'] = 'HIDDEN'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['setDBinit'] = ''; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['BE']['forceCharset'] = ''; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['compat_version'] = '4.6'; // Modified or inserted by TYPO3 Install Tool.
// Updated by TYPO3 Install Tool 06-12-11 19:17:30
$TYPO3_CONF_VARS['EXT']['extList_FE'] = 'extbase,css_styled_content,version,install,rtehtmlarea,t3skin,felogin,form,adodb,dbal,feedit,fluid,workspaces'; // Modified or inserted by TYPO3 Extension Manager.
// Updated by TYPO3 Extension Manager 06-12-11 19:17:41
$TYPO3_CONF_VARS['INSTALL']['wizardDone']['tx_coreupdates_installsysexts'] = '1'; // Modified or inserted by TYPO3 Upgrade Wizard.
// Updated by TYPO3 Upgrade Wizard 06-12-11 19:17:41
// Updated by TYPO3 Extension Manager 06-12-11 19:17:45
$TYPO3_CONF_VARS['INSTALL']['wizardDone']['tx_coreupdates_installnewsysexts'] = '1'; // Modified or inserted by TYPO3 Upgrade Wizard.
// Updated by TYPO3 Upgrade Wizard 06-12-11 19:17:45
// Updated by TYPO3 Extension Manager 06-12-11 19:17:49@
</pre>
<p>The fresh test installation from 4.6.1 will follow shortly, and I will update here as soon it's done.</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=959642011-12-06T19:56:33ZBoris Senker
<ul><li><strong>File</strong> <a href="/attachments/19570">4.6.1-cleaninstall.gif</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/19570/4.6.1-cleaninstall.gif">4.6.1-cleaninstall.gif</a> added</li></ul><p>4.6.1 same thing, identical. I was really hoping it wouldn't be.</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=959722011-12-06T21:26:34ZSteffen Gebertsteffen.gebert@typo3.org
<ul><li><strong>Priority</strong> changed from <i>Must have</i> to <i>Should have</i></li></ul><p>Is this the same problem as <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: EM won't save Configuration: Cannot use object of type stdClass as array (Closed)" href="http://forge.typo3.org/issues/25900">#25900</a>?</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=959732011-12-06T21:27:33ZSteffen Gebertsteffen.gebert@typo3.org
<ul><li><strong>Subject</strong> changed from <i>class.tx_em_connection_extdirectserver.php on line 297</i> to <i>Fatal Error in EM: use stdClass as array</i></li></ul> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=959782011-12-06T23:02:47ZBoris Senker
<ul></ul><p>Hi Steffen,</p>
<p>yes it seems to be:</p>
<pre>[Tue Dec 06 19:54:23 2011] [warn] [client HIDDEN] mod_fcgid: stderr: PHP Fatal error: Cannot use object of type stdClass as array in /home/HIDDEN/typo3_src-4.6.1/typo3/sysext/em/classes/connection/class.tx_em_connection_extdirectserver.php on line 297, referer: http://www.HIDDEN/typo3/mod.php?M=tools_em</pre>
<p>Trying to update any extension's settings leads to this.</p>
<p>Thanks much,</p>
<p>B.</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=973912011-12-18T21:20:56ZBoris Senker
<ul></ul><p>Upgraded to 4.6.2, still the same.</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=981622011-12-27T19:12:23ZBoris Senker
<ul></ul><p>Upgraded to 4.6.3, still the same.</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=982852011-12-27T23:22:37ZSteffen Gebertsteffen.gebert@typo3.org
<ul></ul><p>Okay.. I found some duplicates of this issue, but all related to the Extension Manager - and I think to Ext.Direct.</p>
<p>Who can give me access to a test installation?</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=983152011-12-28T19:57:50ZBoris Senker
<ul></ul><p>Steffen,</p>
<p>I can if you need.</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=983372011-12-28T23:44:54ZSteffen Gebertsteffen.gebert@typo3.org
<ul></ul><p>Fine. SSH would be nice, in doubt FTP access. Please mail me to steffen.gebert@t3o. Thanks! Would be nice, if you could send me also your skype user name.</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=984452011-12-31T09:04:50ZBoris Senker
<ul></ul><p>Hi Steffen,</p>
<p>mail sent.</p>
<p>Thanks :)</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=985362012-01-02T22:29:44ZSteffen Gebertsteffen.gebert@typo3.org
<ul></ul><p>Okay, so <strong>who if you is using eAccelerator</strong>?</p>
<p>Please all check your <em>Reports</em> module, whether it complains about the "PHP Doc Comments" for Extbase and that you should recompile it with <code>--with-eaccelerator-doc-comment-inclusion</code>. The Ext.Direct API generator also uses PHP Doc "reflection" to generate the API. So this is a very good idea, which Tim Riemenschneider <a href="http://lists.typo3.org/pipermail/typo3-dev/2012-January/044864.html" class="external">brought up today</a> in the dev-List.</p>
<p>Boris, for you this <em>is</em> the case!</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=985382012-01-02T22:41:17ZSteffen Gebertsteffen.gebert@typo3.org
<ul></ul><p>BTW who added Kasper as watcher? :D</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=985682012-01-03T14:34:04ZJan Simberaxcidar@seznam.cz
<ul></ul><p>I can confirm, that disabling the eaccelerator solves the problem for me. On typo 4.5.10.</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=985952012-01-03T19:07:34ZBoris Senker
<ul></ul><p>Confirmed here as well, disabling eAccelerator fixes it.</p>
<p>Jan, which eAccelerator version were you using? I have been using eAccelerator with T3 for quite some time, and I have never seen such issue until 4.6.0 OR the version 0.9.6 OR 0.9.6.1, that's why I wasn't suspecting it as it wasn't creating such issues for me before. Just for the testing sake, I will try putting 0.9.5 branch just to see if it reproduces, and will try a couple of alternate opcode cachers like xCache or APC and see what happens with them.</p>
<blockquote><blockquote>
<p>Please all check your Reports module, whether it complains about the "PHP Doc Comments" for Extbase and that you should recompile it with --with-eaccelerator-doc-comment-inclusion. The Ext.Direct API generator also uses PHP Doc "reflection" to generate the API. So this is a very good idea, which Tim Riemenschneider brought up today in the dev-List.</p>
</blockquote></blockquote>
<p>I always had EA compiled without --with-eaccelerator-doc-comment-inclusion as I have noticed PHP segfaulting it when eAccelerator was compiled --with-eaccelerator-doc-comment-inclusion on more than one occassion, so I was always compiling it without it anyway.</p>
<p>Steffen, thanks a LOT :)</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=985962012-01-03T19:10:09ZSteffen Gebertsteffen.gebert@typo3.org
<ul></ul><p>I'm also relieved that the root cause is finally found!</p>
<p>I would say that this problem would also affect you in 4.5, if you use either Extbase or the new Extension Manager.</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=986652012-01-04T16:24:46ZBasti Baumanndonillo@gmail.com
<ul></ul><p>Deactivating eaccelerator doesn´t work for me... :-( Can´t upload a extension to TER. I see only the "Please wait..." notice and this error: Fatal error: Cannot use object of type stdClass as array in /usr/www/users/vde/_sources/typo3_src-4.6.3/typo3/sysext/em/classes/connection/class.tx_em_connection_extdirectserver.php on line 657</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=986782012-01-04T18:43:50ZSteffen Gebertsteffen.gebert@typo3.org
<ul></ul><p>The Ext.Direct API gets cached.. I don't know, if a new cache entry is automatically created or whether you have to clear the cache.</p>
<p>Could you check in Network tab of your browser's developer tool, what sent AJAX request is.</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=988282012-01-05T09:06:47ZBasti Baumanndonillo@gmail.com
<ul></ul><p>Yes I can do this, but how? I´m using FF with web developer extension.</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=988292012-01-05T09:23:59ZSteffen Gebertsteffen.gebert@typo3.org
<ul></ul><p>Please install Firebug then. There's a <em>Net</em> tab. Have you really cleared the cache?</p>
<p>Maybe you could even try to delete typo3temp/(<strong>/)</strong>.js to make sure that the faulty API definition is gone.</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=988302012-01-05T09:36:49ZBasti Baumanndonillo@gmail.com
<ul></ul><p>Yes I cleared the cache several times. <br />If I want to upload a new extension this request appears:<br /><a class="external" href="http://v2.domain.de/typo3/ajax.php?ajaxID=ExtDirect::route&namespace=TYPO3.EM">http://v2.domain.de/typo3/ajax.php?ajaxID=ExtDirect::route&namespace=TYPO3.EM</a><br /><pre>
Date Thu, 05 Jan 2012 08:33:24 GMT
Server Apache
X-Powered-By PHP/5.3.8
Expires 0
Cache-Control no-cache, must-revalidate
Pragma no-cache
Last-Modified Thu, 05 Jan 2012 08:33:25 GMT
Keep-Alive timeout=15, max=100
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html
Host v2.domain.de
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding gzip, deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection keep-alive
Content-Type application/json; charset=UTF-8
X-Requested-With XMLHttpRequest
Referer http://v2.domain.de/typo3/mod.php?M=tools_em
Content-Length 125
Cookie _pk_id.1.5055=d34ee0e63f270e6f.1318232454.85.1325750555.1325691405.; _pk_id.5.5055=85f468d0cd7d1c4b.1318337402.1.1318337402.1318337402.; typo3-login-cookiecheck=true; tx_phpmyadmin=f53c43c3854dea4794dad32118c9ae5c; be_typo_user=78fddb184af31fff4a87b536d7162658
Pragma no-cache
Cache-Control no-cache</pre></p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=988312012-01-05T09:40:30ZSteffen Gebertsteffen.gebert@typo3.org
<ul></ul><p>Could you please add POST data (or content of the request - don't remember exactly)?</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=988322012-01-05T09:55:17ZBasti Baumanndonillo@gmail.com
<ul></ul><p>I hope it´s ok ;)</p>
<p><a class="external" href="http://v2.domain.de/typo3/ajax.php?ajaxID=ExtDirect::route&namespace=TYPO3.EM">http://v2.domain.de/typo3/ajax.php?ajaxID=ExtDirect::route&namespace=TYPO3.EM</a></p>
<pre>
POST /typo3/ajax.php?ajaxID=ExtDirect::route&namespace=TYPO3.EM HTTP/1.1
Host: v2.domain.de
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection: keep-alive
Content-Type: application/json; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer: http://v2.domain.de/typo3/mod.php?M=tools_em
Content-Length: 124
Cookie: _pk_id.1.5055=d34ee0e63f270e6f.1318232454.85.1325750555.1325691405.; _pk_id.5.5055=85f468d0cd7d1c4b.1318337402.1.1318337402.1318337402.; typo3-login-cookiecheck=true; tx_phpmyadmin=f53c43c3854dea4794dad32118c9ae5c; be_typo_user=78fddb184af31fff4a87b536d7162658
Pragma: no-cache
Cache-Control: no-cache
{"action":"ExtDirect","method":"uploadExtToTer","data":[{},"88458d799d90537094d05197b4bc3eb077336f8f"],"type":"rpc","tid":4}
HTTP/1.1 200 OK
Date: Thu, 05 Jan 2012 08:52:27 GMT
Server: Apache
X-Powered-By: PHP/5.3.8
Expires: 0
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Last-Modified: Thu, 05 Jan 2012 08:52:28 GMT
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html</pre> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=988332012-01-05T09:59:19ZSteffen Gebertsteffen.gebert@typo3.org
<ul></ul><p>Okay.. again <code>"data":[{}, ..</code> :(</p>
<p>Still, it looks like eAccelerator is a good starting point. Could you post/attach a PHP info, please?</p>
<p>Basti, can you reproduce this in different installations on the same server / a copy of the installation on a different server?</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=988522012-01-05T11:27:26ZBasti Baumanndonillo@gmail.com
<ul><li><strong>File</strong> <a href="/attachments/19803">phpinfo.pdf</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/19803/phpinfo.pdf">phpinfo.pdf</a> added</li></ul><p>phpinfo is attached.<br />I´ll test it on a different / same server.</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=992512012-01-11T10:35:43ZSebastian Böttgertypo3@cross-content.com
<ul></ul><p>Might be this sticks together with the problem I had (Debian Server), which occurs if you're using fast-CGI.</p>
<p><a class="external" href="http://www.codeviolation.de/apache/http-request-length-exceeds-maxrequestlen/">http://www.codeviolation.de/apache/http-request-length-exceeds-maxrequestlen/</a></p>
<p>This leads to the ext.direct error in the frontend, and an Internal Server Error 500 in the apache error log.<br />The following change in your apache configuration will do the trick:</p>
<p>We added this (mod_fcgid version 2.35):<br /><pre>
<IfModule mod_fcgid.c>
MaxRequestLen 1000000000
</IfModule></pre></p>
<p>For mod_fcgid version 2.36, add this:</p>
<pre><IfModule mod_fcgid.c>
FcgidMaxRequestLen 1000000000
</IfModule> </pre> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=999422012-01-19T17:54:32ZSteffen Gebertsteffen.gebert@typo3.org
<ul></ul><p>But why does the request length matter? Sebastian, could you check, whether without the increased limits, the <code>data</code> array is really empty or whether it's another bug? Problem is that in the previously mentioned cases no data is sent at all..</p>
<p>basti, could you please have a look at the <em>reports</em> module, whether the Extbase-Check for the stripped phpdoc comments fails?</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=1000082012-01-20T08:50:59ZBasti Baumanndonillo@gmail.com
<ul></ul><p>Good morning,</p>
<p>surprise, surprise, surprise,... today the upload worked.<br />Maybe the reason could be the new server we´ve got last week,,,,<br />But the configuration ist just the same... very strange!</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=1010032012-01-30T21:34:19ZSteffen Gebertsteffen.gebert@typo3.org
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>Closed</i></li><li><strong>Assignee</strong> set to <i>Steffen Gebert</i></li><li><strong>TYPO3 Version</strong> changed from <i>4.6</i> to <i>4.5</i></li></ul><p>Closed. If this problem exists for you and you don't have eAccelerator, please ask in the mailing lists to further debug the problem.</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=1364232012-10-14T12:42:00ZMichael Monnerietypo3.org-account@zmi.at
<ul></ul><p>We just upgraded a site from 4.2.9 to 4.5.19, and ran into a problem where we needed an extension installed. We had exactly this problem:</p>
<p>PHP Fatal error: Cannot use object of type stdClass as array in /www/_shared/typo3_src-4.5.19/typo3/sysext/em/classes/connection/class.tx_em_connection_extdirectserver.php on line 1354</p>
<p>Deactivating eaccelerator helped fixing it. As we need that to run: is there a fix to this problem other than deactivation eaccelerator?</p> TYPO3 Core - Bug #32284: Fatal Error in EM: use stdClass as arrayhttp://forge.typo3.org/issues/32284?journal_id=1364622012-10-14T18:09:53ZSteffen Gebertsteffen.gebert@typo3.org
<ul></ul><p>Yes, you just have to compile eAccelerator with option <code>--with-eaccelerator-doc-comment-inclusion</code></p>