[TYPO3-english] Strange depreciation log behavior

Markus Klein klein.t3 at mfc-linz.at
Wed Sep 12 23:27:47 CEST 2012


Hi!

Your deprecation log says that the function is called in
typo3conf/temp_CACHED_ps0e32_ext_localconf.php

You have to start from there. That's the only hint I can give you.

Kind regards
Markus

> -----Original Message-----
> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-bounces at lists.typo3.org] On Behalf Of Thomas Skierlo
> Sent: Wednesday, September 12, 2012 6:00 PM
> To: TYPO3 English
> Subject: Re: [TYPO3-english] Strange depreciation log behavior
> 
> Am 12.09.2012 14:10, schrieb Markus Klein:
> > Hi!
> >
> > Check the line in temp_CACHED_ps*.ext_localconf.php where this method is called if it really belongs to phpunit.
> > If it really belongs to phpunit, class_exists('t3lib_utility_VersionNumber') returns FALSE, hence some strange caching is going on
> somewhere.
> > (type3temp/Cache, APC, eAcc, etc.)
> >
> > Kind regards
> > Markus
> Found no occurance within the temp_CACHED_ps*.ext_localconf.php files. I do not have any APC or eAcc installed, and it's only a very
> basic
> (clean) installation for development. Very strange.
> 
> >> -----Original Message-----
> >> From: typo3-english-bounces at lists.typo3.org
> >> [mailto:typo3-english-bounces at lists.typo3.org] On Behalf Of Thomas
> >> Skierlo
> >> Sent: Wednesday, September 12, 2012 12:13 PM
> >> To: typo3-english at lists.typo3.org
> >> Subject: [TYPO3-english] Strange depreciation log behavior
> >>
> >> With TYPO3 4.7.4 my depreciation log is flooded with:
> >>
> >> 12-09-12 11:48:
> >> t3lib_div::int_from_ver() - since TYPO3 4.6, will be removed in TYPO3
> >> 6.1 - Use
> >> t3lib_utility_VersionNumber::convertVersionNumberToInteger() instead
> >> - require(ypo3/init.php),ypo3/ajax.php#55 //
> >> require(3lib/config_default.php),ypo3/init.php#201 //
> >> require(typo3conf/temp_CACHED_ps0e32_ext_localconf.php),3lib/config_d
> >> efault.php#1086
> >> // t3lib_div::int_from_ver#1466 //
> >> t3lib_div::logDeprecatedFunction#888 (3lib/class.t3lib_div.php#885)
> >>
> >> The only occurrance of "t3lib_div::int_from_ver()" on my dev. server
> >> is within Ext.: PHPUnit 3.6.11, and the usage looks perfectly ok to
> >> me:
> >>
> >>
> >> 	/**
> >>
> >> 	 * Computes the current TYPO3 version and returns it.
> >>
> >> 	 *
> >>
> >> 	 * @return integer
> >>
> >> 	 */
> >>
> >> 	protected function getCurrentTypo3Version() {
> >>
> >> 		return class_exists('t3lib_utility_VersionNumber')
> >>
> >> 			?
> >> t3lib_utility_VersionNumber::convertVersionNumberToInteger(TYPO3_vers
> >> ion)
> >>
> >> 			: t3lib_div::int_from_ver(TYPO3_version);
> >>
> >> 	}
> >>
> >>
> >> Any ideas?
> >>
> >>
> >> Thomas
> >>
> >> _______________________________________________
> >> TYPO3-english mailing list
> >> TYPO3-english at lists.typo3.org
> >> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> > _______________________________________________
> > TYPO3-english mailing list
> > TYPO3-english at lists.typo3.org
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list