Project

General

Profile

Actions

Bug #18362

closed

calling backend.php without logged in shows sql-error and BE

Added by Steffen Kamper over 16 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-03-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

the sql-error comes from __construct()
SELECT *
FROM sys_be_shortcuts
WHERE
((userid = AND sc_group>=0) OR sc_group IN (-1,-2,-3,-4,-5,-100))
ORDER BY sc_group,sorting

So __construct() should first check valid user.

(issue imported from #M7742)

Actions #1

Updated by Michael Stucki over 16 years ago

Cannot reproduce this. Can you please check why backend.php is selecting be_shortcuts when the authentication was not even finished?

Actions #2

Updated by Steffen Kamper over 16 years ago

I found the reason. cal creates a BE_USER in ext_tables if no BE_USER is given.
This is fixed in cal svn but not in TER yet.

So it's no core bug ;)

Actions

Also available in: Atom PDF