[TYPO3-commerce] No class named: tx_commerce_tceFunc
SkyDiablo
skydiablo at gmx.net
Fri Apr 30 21:30:15 CEST 2010
hi @ all...
i have fixed/solved this problem... just do:
open the file "flexform.xml" an replace the element "startCategory" with
this part:
<startCategory>
<TCEforms>
<exclude>1</exclude>
<label>LLL:EXT:commerce/pi1/locallang_tca.xml:tx_commerce.pi_flexform.category_selection</label>
<config>
<type>group</type>
<internal_type>db</internal_type>
<allowed>tx_commerce_categories</allowed>
<form_type>user</form_type>
<userFunc>EXT:commerce/treelib/class.tx_commerce_tcefunc.php:tx_commerce_tceFunc->getSingleField_selectCategories</userFunc>
<treeView>1</treeView>
<treeClass>tx_commerce_tceFunc_categoryTree</treeClass>
<size>7</size>
<minitems>0</minitems>
<maxitems>1</maxitems>
</config>
</TCEforms>
</startCategory>
it works for me !
greez, sky...
PS: don't forget to delete all "temp_CHACHED_*.php" @ typo3conf/
FEScon wrote:
>
> Hi Ingo,
>
> it was quite simpler - I'm working on a mac and the copy and paste of
> the code copied invisible stuff to my texteditor :-(
>
> After writing the code manually into the editor the error message
> disappeared - BUT the "No class named: tx_graytree_tceFunc"
>
> is still there :-((
>
> Felix Schubert
>
> FEScon
> ... and work flows!
>
> Am 14.08.2009 um 16:31 schrieb Ingo Schmitt:
>
>> Hi Felix,
>>
>> haev a look at phpinfo, if some methodes are disabled. But, TYPO3
>> itself
>> uses require_once. What's strange in you message, are the chars before
>> require_once, maybe some illegal chars from you copy and paste?
>>
>>
>> ingo
>>> Hi Ingo,
>>>
>>> that's what I don't understand when I saw the error - its a Debian
>>> Etch
>>> Server with PHP 5.2.0-8+etch15 all updates installed.
>>>
>>> No special modifications. Up to now I didn't know that require_once
>>> could be disabled?!?
>>>
>>> Could it belong to a misconfiguration of the vhost?
>>>
>>> Best regards
>>>
>>> Felix Schubert
>>>
>>> FEScon
>>> ... and work flows!
>>>
>>> felix schubert
>>> haspelgasse 5
>>> 69117 heidelberg
>>>
>>> mobil: +49-151-25337718
>>> mail: input at fescon.de
>>> skype: fesmac
>>>
>>> Am 14.08.2009 um 15:17 schrieb Ingo Schmitt:
>>>
>>>> Hi Felix,
>>>>
>>>> your php don't know require_once? (http://www.php.net/
>>>> require_once). Do
>>>> you have a special setup?
>>>>
>>>> Regards
>>>>
>>>> Ingo
>>>>> Hi David,
>>>>>
>>>>> when I add the lines before I get an
>>>>>
>>>>> "Fatal error: Call to undefined function ���require_once() in
>>>>> /var/www/fahrenheit/dtv/typo3/typo3conf/
>>>>> temp_CACHED_psdddf_ext_tables.php
>>>>>
>>>>> on line 3420"
>>>>>
>>>>> when I try to login.
>>>>>
>>>>> Sorry
>>>>>
>>>>> Best regards
>>>>>
>>>>> Felix Schubert
>>>>>
>>>>> FEScon
>>>>> ... and work flows!
>>>>>
>>>>> Am 14.08.2009 um 12:16 schrieb David Rühr:
>>>>>
>>>>>> if (TYPO3_MODE=='BE') {
>>>>>> require_once (t3lib_extmgm::extPath('commerce') .
>>>>>> 'treelib/class.tx_commerce_tcefunc.php');
>>>>>> }
>>>>>
>>>>
>>>>
>>>>
>>>> Mit freundlichen Gruessen
>>>> --
>>>> Ingo Schmitt mailto:is at marketing-factory.de
>>>> Marketing Factory Consulting GmbH http://typo3.marketing-factory.de/
>>>> Content Management mit Typo3: Beratung - Schulung - Realisierung
>>>> _______________________________________________
>>>> TYPO3-project-commerce mailing list
>>>> TYPO3-project-commerce at lists.netfielders.de
>>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-commerce
>>>>
>>>
>>
>>
>>
>> Mit freundlichen Gruessen
>> --
>> Ingo Schmitt mailto:is at marketing-factory.de
>> Marketing Factory Consulting GmbH http://typo3.marketing-factory.de/
>> Content Management mit Typo3: Beratung - Schulung - Realisierung
>> _______________________________________________
>> TYPO3-project-commerce mailing list
>> TYPO3-project-commerce at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-commerce
>
> _______________________________________________
> TYPO3-project-commerce mailing list
> TYPO3-project-commerce at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-commerce
>
--
View this message in context: http://old.nabble.com/No-class-named%3A-tx_commerce_tceFunc-tp24968115p28399611.html
Sent from the TYPO3 - Projects - Commerce mailing list archive at Nabble.com.
More information about the TYPO3-project-commerce
mailing list