Project

General

Profile

Actions

Bug #19556

closed

Fatal error: Call to undefined function filter_var() in /var/www/trunk/t3lib/class.t3lib_div.php on line 1438

Added by Stefano Cecere about 16 years ago. Updated over 14 years ago.

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

0%

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

Description

when accessing any (non container) page via web->list module

(issue imported from #M9719)


Files

INSTALL.txt (6.33 KB) INSTALL.txt Administrator Admin, 2008-12-18 20:21

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #19577: Add INSTALL.txt to TYPO3 source packageClosedDmitry Dulepov2008-11-06

Actions
Actions #1

Updated by Rob Vonk about 16 years ago

I have the same and it's a php thing. filter_var is a native php function since version 5.2. I have 5.2.3 but i still get the error.

I get the same with json_encode.

I think we need the php package PECL.

Actions #2

Updated by Rob Vonk about 16 years ago

Installed pecl-fliter and pecl-json. That fixed it.

Idea to add it to requirements?

Actions #3

Updated by Oliver Hader about 16 years ago

Good idea! What distribution/OS are you using? Strange that a "native" functionality isn't available... hm...

Actions #4

Updated by Rob Vonk about 16 years ago

My ISP installed FreeBSB on the server. These pecl packages are separate php packages but probably default on most distributions (just like mysql support).

According to the php website, these functions are only availible on 5.2 and higher. That makes that typo3 needs to run on 5.2 or higher. Just 5 isn't enough.

Actions #5

Updated by Ingo Renner almost 16 years ago

4.3 alpha1 is checking for 5.2 already...

Actions #6

Updated by Dmitry Dulepov almost 16 years ago

These requirements exist in the new INSTALL.txt (see 4.3 list and the attached file)

Actions #7

Updated by Stefano Cecere almost 16 years ago

Dmitry: do you know why this (fundamental!) INSTALL.txt isn't in the core trunk? (i could not find it anywhere but here!)

Actions #8

Updated by Christian Kuhn over 15 years ago

INSTALL.txt is now in core trunk (bug #19577 , r5058). The requirements to filter and JSON are listed there. So this issue is now resolved, right?

Actions #9

Updated by Ingo Renner over 15 years ago

filter has been added to the installation requirements and ussually should be enabled by default anyways

Actions

Also available in: Atom PDF