[TYPO3-german] Error warning \t3lib\class.t3lib_db.php line 1226
Domi Garms
djgarms at gmail.com
Tue Nov 2 14:07:55 CET 2010
Sorry das ich nerve, aber ich habe das Problem immer noch nicht so
wirklich im Griff, im Extension-Manager und Install-Tool bekomme ich
jetzt immer diese beiden Warnungen:
PHP Warning: mysql_fetch_assoc() expects parameter 1 to be resource,
boolean given in C:\wamp\www\workspace\jobvis\t3lib\class.t3lib_db.php
line 1227
PHP Warning: mysql_fetch_assoc() expects parameter 1 to be resource,
boolean given in C:\wamp\www\workspace\jobvis\t3lib\class.t3lib_db.php
line 1247
Und zwar das mnehrfach untereinander, er scheint in den Aufruf
mehrfach auszuführen. Gibt es denn irgendeine weitere
Debug-Möglichkeit mit der ich den Querschläger meines Systems
identifizieren kann? In der localconf.php habe ich mit diesen Zeilen
das debug aktiviert:
$GLOBALS['TYPO3_DB']->debugOutput = true;
$TYPO3_CONF_VARS['SYS']['displayErrors'] = '1';
$TYPO3_CONF_VARS['SYS']['sqlDebug'] = '1';
$TYPO3_CONF_VARS['FE']['debug'] = '1';
Jedoch bekomme ich nichts aussagekräftiges geliefert.
Schöne Grüße
domi
Am 2. November 2010 18:39 schrieb Domi Garms <djgarms at gmail.com>:
> Hallo
>
> vielen Dank für die Antworten, ich habe alle extensions mal aus der
> Liste geworfen und behalte lediglich den debug Fehler:
>
>
>
> Uncaught TYPO3 Exception
> #1: PHP Warning: mysql_fetch_assoc() expects parameter 1 to be
> resource, boolean given in
> C:\wamp\www\workspace\jobvis\t3lib\class.t3lib_db.php line 1227
>
> t3lib_error_Exception thrown in file
> C:\wamp\www\workspace\jobvis\t3lib\error\class.t3lib_error_errorhandler.php
> in line 106.
>
> 11 t3lib_error_ErrorHandler::handleError(2, "mysql_fetch_assoc()
> expects parameter 1 to be resource, boolean given",
> "C:\wamp\www\workspace\jobvis\t3lib\class.t3lib_db.php", 1227, array)
>
> 10 mysql_fetch_assoc(boolean)
>
>
> C:\wamp\www\workspace\jobvis\t3lib\class.t3lib_db.php:
>
> 01225: $columns_res = mysql_query('SHOW COLUMNS FROM `' . $tableName
> . '`', $this->link);
> 01226:
>
> 01227: while ($fieldRow = mysql_fetch_assoc($columns_res)) {
>
> 01228: $output[$fieldRow['Field']] = $fieldRow;
> 01229: }
>
>
> 9 t3lib_DB::admin_get_fields("sys_lockedrecords")
>
>
> C:\wamp\www\workspace\jobvis\t3lib\class.t3lib_install.php:
>
> 00535:
> 00536: // Fields:
>
> 00537: $fieldInformation =
> $GLOBALS['TYPO3_DB']->admin_get_fields($tableName);
>
> 00538: foreach ($fieldInformation as $fN => $fieldRow) {
> 00539: $total[$tableName]['fields'][$fN] =
> $this->assembleFieldDefinition($fieldRow);
>
>
> 8 t3lib_install::getFieldDefinitions_database("jobvis")
>
>
> C:\wamp\www\workspace\jobvis\typo3\mod\tools\em\class.em_index.php:
>
> 05365: $FDfile = $instObj->getFieldDefinitions_fileContent($fileContent);
> 05366: if (count($FDfile)) {
>
> 05367: $FDdb = $instObj->getFieldDefinitions_database(TYPO3_db);
>
> 05368: $diff = $instObj->getDatabaseExtra($FDfile, $FDdb);
> 05369: $update_statements = $instObj->getUpdateSuggestions($diff);
>
>
> 7 SC_mod_tools_em_index::checkDBupdates("templavoila", array, 1)
>
>
> C:\wamp\www\workspace\jobvis\typo3\mod\tools\em\class.em_index.php:
>
> 03947:
> 03948: // Database status:
>
> 03949: $dbInfo = $this->checkDBupdates($extKey,$extInfo,1);
>
> 03950:
> 03951: // Database structure required:
>
>
> 6 SC_mod_tools_em_index::makeDetailedExtensionAnalysis("templavoila", array, 1)
>
>
> C:\wamp\www\workspace\jobvis\typo3\mod\tools\em\class.em_index.php:
>
> 04793: $uploadArray['misc']['codebytes'] = 0;
> 04794:
>
> 04795: $uploadArray['techInfo'] =
> $this->makeDetailedExtensionAnalysis($extKey,$conf,1);
>
> 04796:
> 04797: // Read all files:
>
>
> 5 SC_mod_tools_em_index::makeUploadArray("templavoila", array)
>
>
> C:\wamp\www\workspace\jobvis\typo3\mod\tools\em\class.em_index.php:
>
> 04263:
> 04264: // Creates upload-array - including filelist.
>
> 04265: $mUA = $this->makeUploadArray($extKey,$conf);
>
> 04266:
> 04267: $md5Array = array();
>
>
> 4 SC_mod_tools_em_index::serverExtensionMD5Array("templavoila", array)
>
>
> C:\wamp\www\workspace\jobvis\typo3\mod\tools\em\class.em_index.php:
>
> 06164: $comment .= '';
> 06165:
>
> 06166: $serverMD5Array = $this->serverExtensionMD5Array($name,$data);
>
> 06167: if (is_array($serverMD5Array)) {
> 06168: ksort($serverMD5Array);
>
>
> 3 SC_mod_tools_em_index::showExtensionsToUpdate()
>
>
> C:\wamp\www\workspace\jobvis\typo3\mod\tools\em\class.em_index.php:
>
> 06086:
> 06087: if (is_file(PATH_site.'typo3temp/extensions.xml.gz')) {
>
> 06088: $content = $this->showExtensionsToUpdate()
>
> 06089: .t3lib_BEfunc::getFuncCheck(0, 'SET[display_installed]',
> $this->MOD_SETTINGS['display_installed'], '', '',
> 'id="checkDisplayInstalled"')
> 06090: . ' ' .
> $LANG->sL('LLL:EXT:lang/locallang_mod_tools_em.xml:display_nle') . '
> '
>
>
> 2 SC_mod_tools_em_index::checkForUpdates()
>
>
> C:\wamp\www\workspace\jobvis\typo3\mod\tools\em\class.em_index.php:
>
> 00634: case '5':
> 00635: // Shows a list of extensions with updates in TER
>
> 00636: $this->checkForUpdates();
>
> 00637: break;
> 00638: default:
>
>
> 1 SC_mod_tools_em_index::main()
>
>
> C:\wamp\www\workspace\jobvis\typo3\mod\tools\em\index.php:
>
> 00052: $SOBE->checkExtObj();
> 00053:
>
> 00054: $SOBE->main();
>
> 00055: $SOBE->printContent();
> 00056: ?>
>
>
>
>
> Ich werde leider nicht so ganz schlau daraus, habt ihr vielleicht eine Idee?
>
> Schöne Grüße
>
> domi
>
>
>
>
>
>
>
> 2010/11/2 Stefan Frömken <firma at sfroemken.de>:
>> Am 02.11.2010 04:15, schrieb Domi Garms:
>>>
>>> Hallo,
>>>
>>> ich bekomme eine Fehlermeldung im Extensionmanager:
>>>
>>> PHP Warning: mysql_fetch_assoc() expects parameter 1 to be resource,
>>> boolean given in C:\wamp\www\workspace\jobvis\t3lib\class.t3lib_db.php
>>> line 1226
>>>
>>> Ich kann keine Extensions mehr installieren und meine kreierten nicht
>>> mehr bearbeiten...woran kann das liegen? Hoffe auf einen Rat
>>>
>>> Grüße
>>>
>>> domi
>>
>> Kann es sein, dass Du das Debugging im INSTALL_TOOL nicht aktiviert hast?
>> Denn normalerweise erhälst Du eine ewig lange Liste mit sortierten
>> Funktionsaufrufen bis hin zu der Zeile in der der Fehler auftritt. Wenn ich
>> mich recht entsinne steht dort auch der Pfad der Datei.
>> _______________________________________________
>> TYPO3-german mailing list
>> TYPO3-german at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
>>
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
>
More information about the TYPO3-german
mailing list