Franz Holzinger

Verse of the day

Denn es ist ein Gott und ein Mittler zwischen Gott und den Menschen, nämlich der Mensch Christus Jesus, der sich selbst gegeben hat für alle zur Erlösung, daß solches zu seiner Zeit gepredigt würde;
1 Timotheus 2:5-6

© Bible Gateway's Verse of the Day


autor  
18-04-14 00:24:26 static template : Frontend blank page and php error - Typo3 6.2
kriss toff
Hello,

With Typo3 6.2 and tt_products 2.7.7, i have a frontend blank page when i activate the "static template" (Shop System CSS Styled).

There is a php errror too :

Warning: Uncaught exception 'TYPO3\CMS\Core\Error\Exception' with message 'PHP Warning: require_once(/var/www/htdocs/typo3/sysext/cms/tslib/class.tslib_pibase.php): failed to open stream: No such file or directory in /var/www/htdocs/typo3conf/ext/tt_products/pi1/class.tx_ttproducts_pi1_base.php line 49' in /var/www/typo3_src-6.2.0/typo3/sysext/core/Classes/Error/ErrorHandler.php:108 Stack trace: #0 /var/www/htdocs/typo3conf/ext/tt_products/pi1/class.tx_ttproducts_pi1_base.php(49): TYPO3\CMS\Core\Error\ErrorHandler->handleError(2, 'require_once(/v...', '/var/www/htdocs...', 49, Array) #1 /var/www/htdocs/typo3conf/ext/tt_products/pi1/class.tx_ttproducts_pi1_base.php(49): require_once() #2 /var/www/htdocs/typo3conf/ext/tt_products/pi1/class.tx_ttproducts_pi1.php(50): require_once('/var/www/htdocs...') #3 /var/www/typo3_src-6.2.0/typo3/sysext/cms/tslib/index_ts.php(205): include_once('/var/www/htdocs...') #4 /var/www/typo3_src-6.2.0/index.php(41): require('/var/www/typo3_...') #5 {main} thrown in /var/www/typo3_src-6.2.0/typo3/sysext/core/Classes/Error/ErrorHandler.php on line 108

Fatal error: main(): Failed opening required '/var/www/htdocs/typo3/sysext/cms/tslib/class.tslib_pibase.php' (include_path='/var/www/htdocs/typo3/contrib/pear/:.:/usr/share/php:/usr/share/pear') in /var/www/htdocs/typo3conf/ext/tt_products/pi1/class.tx_ttproducts_pi1_base.php on line 49

What can i do please ?
Thanks
18-04-14 11:52:37 fix TYPO3 6.2 issue
Franz Holzinger
Edit the file class.tx_ttproducts_pi1_base.php on line 49:
Comment it out:

// require_once(PATH_tslib.'class.tslib_pibase.php');
18-04-14 23:53:02 new problem
kriss toff
Thanks for your answer Franz :)

Now i have a new problem :

#1: PHP Warning: file_get_contents(): Filename cannot be empty in /var/www/htdocs/typo3conf/ext/vhs/Classes/ViewHelpers/Asset/AbstractAssetViewHelper.php line 187 (More information)

TYPO3\CMS\Core\Error\Exception thrown in file
/var/www/typo3_src-6.2.0/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 108.

I don't understand. Even if i uninstall tt_products i have this error. But this errors didn't exist before activate the tt_product static template...

Have you an idea ?

Thanks you !
19-04-14 08:20:35 details from fh_debug
Franz Holzinger
Try to use the extension fh_debug. Backtrace the details and the origin of this error. Insert a debug statement before the line 187 of the file /var/www/htdocs/typo3conf/ext/vhs/Classes/ViewHelpers/Asset/AbstractAssetViewHelper.php.
26-04-14 13:17:05 Can't debug
kriss toff
Hella Franz,

Sorry for my late answer...

I can't succes to use your debuger..

I have this : http://pastebin.com/sY9jU1gC

Maybe i didn't setup fh_debug correctly ?

see :
http://pbrd.co/1im3Y0a
http://pbrd.co/1im4dZ6
http://pbrd.co/1im4kE3


Thanks !
26-04-14 15:59:31 configure fh_debug
Franz Holzinger
You must configure fh_debug in the Extension Manager.

debugBegin required ==> OFF

Try to use also the extension debug_mysql_db. And change it in the Extension Manager configuration to use 'debug' function for debugging. Then its output will be made by fh_debug´, too.
27-04-14 01:26:58 restart
kriss toff
Finally i reinstall a fresh blank typo3 6.2.1 with my template and reinstall tt_product too.

Now i haven't any error. But when try to install the recommanded extensions "conf_userts" and "mbi_products_categories" it's blocked and the backend become blank. So i have to deleted the reference into LocalConfiguration.php and PackageStates.php and the backend come back.

So i don't kown if it's because of that, but i cant' display products or categories in the frontend...

I can't display anything of tt_product in frontend...


How can i do please ?


Thank you !
28-04-14 09:31:15 recommended extensions
Franz Holzinger
tt_products 2.7.7 does not have "recommended extensions". All recommended extensions have been removed, because these extensions are not needed. And many people think that those extensions would be required. However tt_products runs without them. Note: There is a difference between "depended" and "suggested" extensions.

Only the extension "mbi_products_categories" from http://www.ttproducts.de/tt_products_ext.html?&tt_products[product]=3 runs under TYPO3 6.2.

I do not know the extension "conf_userts".

You should report this issue as a bug of TYPO3 6.2. TYPO3 should not allow to install the extension "mbi_products_categories" from TER. It seems that the Extension Manager did not check the TYPO3 version dependency.

Deinstall the not working extensions. Then you should have a working tt_products 2.7.7 under TYPO3 6.2.1.
< Zurück zum Forum