Project

General

Profile

Actions

Bug #17271

closed

cli_dispatch.phpsh will not run on CGI API

Added by Mathias Bolt Lesniak about 17 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2007-05-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When running "typo3/cli_dispatch.phpsh crawler" in command line, I get the error message "ERROR: Not called from a command line interface (eg. a shell or scheduler)." I am of course running it from the command line, and PHP_SAPI is "cgi" (tested by inserting an echo in the script).

Tested in Typo3 4.1 and 4.1.1.

(issue imported from #M5548)


Files

cli_dispatch.phpsh.patch (1010 Bytes) cli_dispatch.phpsh.patch Administrator Admin, 2007-05-03 13:15
init.php.patch (993 Bytes) init.php.patch Administrator Admin, 2007-05-03 13:15
5548_cli_dispatch.phpsh_v2.patch (851 Bytes) 5548_cli_dispatch.phpsh_v2.patch Administrator Admin, 2009-01-20 12:13
5548_cli_dispatch.phpsh_v3.patch (1.63 KB) 5548_cli_dispatch.phpsh_v3.patch Administrator Admin, 2009-01-25 17:10

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #19147: getFileAbsFileName returns false for EXT:lowlevel/dbint/cli/cleaner_cli.php [PHP_SAPI: cgi-fcgi]ClosedChristian Kuhn2008-07-24

Actions
Actions

Also available in: Atom PDF