Project

General

Profile

Actions

Bug #49668

closed

fetch_assoc on a non-object in DatabaseConnection.php

Added by Franz Holzinger over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-07-04
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When I want to see the FE output, then instead I only get:

Fatal error: Call to a member function fetch_assoc() on a non-object in /var/www/user/web/typo3_src-6.2.0alpha1/typo3/sysext/core/Classes/Database/DatabaseConnection.php on line 1029

I can debug the $res. It is really empty and not an object. The backtrace is:

index.php 41 require
index_ts.php 118 initializeBackendUser
TypoScriptFrontendController.php 1083 fetchGroupData
BackendUserAuthentication.php 1264 fetchGroups
BackendUserAuthentication.php 1362 sql_fetch_assoc
DatabaseConnection.php 1028 debug

sql_fetch_assoc $res

A former call had the $res object:

TypoScriptFrontendController.php 1080 start
BackendUserAuthentication.php 351 start
AbstractUserAuthentication.php 453 fetchUserSession
AbstractUserAuthentication.php 898 fetch
PreparedStatement.php 310 sql_fetch_assoc
DatabaseConnection.php 1028 debug

current_field
field_count
lengths
num_rows
type

sql_fetch_assoc $res

This is TYPO3 6.2 alpha1

Actions

Also available in: Atom PDF