|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Greetings,
To go with my previous post here is an error output from any page containing a product plugin of any type. Catchable fatal error: Object of class tx_ttproducts_list_view could not be converted to string in /home/4283/domains/blacksburgtobacco.com/html/typo3conf/ext/tt_products/view/class.tx_ttproducts_list_view.php on line 339 Johnny _______________________________________________ TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
|
#2
|
|||
|
|||
|
Johnny Peck wrote:
> Greetings, > To go with my previous post here is an error output from any page > containing a product plugin of any type. > > > Catchable fatal error: Object of class tx_ttproducts_list_view could not > be converted to string in > /home/4283/domains/blacksburgtobacco.com/html/typo3conf/ext/tt_products/view/class.tx_ttproducts_list_view.php > on line 339 > > > Johnny It will show categories and the basket fine but of course no products in list views. Johnny _______________________________________________ TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
|
#3
|
|||
|
|||
|
Franz,
I have spent the last 8 hours fussing with various combinations of tt_products and required exts. along with various setups only to find that last night during an upgrade to the grid server that I am testing on, rather than the dedicated servers I also use, they upgraded to version 5.2 of PHP. This version of PHP is what caused the error. I am in discussion with them to rollback to the previous 5.x branch for the time being and they are working on the solution. Anyhow, take into account that PHP team has made the changes going forward to not allow certain things going forward. One of those things being: The PHP 5.0/5.1 fallback - returning a string that contains the object identifier - has been dropped in PHP 5.2. It became problematic because an object identifier cannot be considered unique. This change will mean that your application is flawed if you have relied on the object identifier as a return value. An attempt to use that value as a string will now result in a catchable fatal error (see above). You can view these issues at the following url: http://www.php.net/UPDATE_5_2.txt This has been taking my whole day initially thinking there were issues in the database migration and then considering a whole load of other possibilities and testing them to no avail. I don't know the inner workings of tt_products well enough to fix much of it but be aware, 2.5.1 will not move forward well with PHP as it is now. Greetings and thank you so much for all of your work. I hope to one day be in a position to contribute financially at least, at the moment though, a guys gotta pay the rent and it is not coming easily. Johnny Johnny Peck wrote: > Johnny Peck wrote: >> Greetings, >> To go with my previous post here is an error output from any page >> containing a product plugin of any type. >> >> >> Catchable fatal error: Object of class tx_ttproducts_list_view could >> not be converted to string in >> /home/4283/domains/blacksburgtobacco.com/html/typo3conf/ext/tt_products/view/class.tx_ttproducts_list_view.php >> on line 339 >> >> >> Johnny > > It will show categories and the basket fine but of course no products in > list views. > > Johnny _______________________________________________ TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
|
#4
|
|||
|
|||
|
Hello Johnny,
> > > Catchable fatal error: Object of class tx_ttproducts_list_view could not > be converted to string in > /home/4283/domains/blacksburgtobacco.com/html/typo3conf/ext/tt_products/view/class.tx_ttproducts_list_view.php > on line 339 > Change this line into: $orderByCat = $viewCatTable->tableconf['orderBy']; I hope this works with PHP 5.2 - Franz _______________________________________________ TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
|
#5
|
|||
|
|||
|
Franz Holzinger wrote:
> Hello Johnny, >> >> >> Catchable fatal error: Object of class tx_ttproducts_list_view could >> not be converted to string in >> /home/4283/domains/blacksburgtobacco.com/html/typo3conf/ext/tt_products/view/class.tx_ttproducts_list_view.php >> on line 339 >> > > Change this line into: > > $orderByCat = $viewCatTable->tableconf['orderBy']; > > > I hope this works with PHP 5.2 > > - Franz Franz, Thanks, I was digging around in there for a bit but I had already filed for a change to 5.1.6 and (mt) rolled my back pretty quickly, mostly because I didn't want any more surprises from 5.2 before I had time to test it thoroughly elsewhere. That line does work for 5.1.6 and I am sure it would work for 5.2 from what I read from the changelogs for 5.2. Thanks for the reply and all that you do for TYPO3, your kindness will not be forgotten. Johnny _______________________________________________ TYPO3-project-tt-products mailing list TYPO3-project-tt-products (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-tt-products |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-german] TYPO3 Fatal Error: Extension key "tt_products" wasNOT loaded! ... ??? | Martin Tinnermann | typo3-german@lists.netfielders.de | 5 | 07.12.2006 12:53 |
| Re: [TYPO3-shop] Error in handlescript payment_dibs.php | typo3-project-tt-products@lists.netfielders.de | 2 | 06.12.2006 00:36 | |
| Re: [TYPO3-shop] [Typo3-shop] LISTOFFERS: own template | Alexander | typo3-project-tt-products@lists.netfielders.de | 0 | 03.12.2006 12:40 |
| [TYPO3-shop] Re: [Typo3-shop] to browse categories in FE | Alexander | typo3-project-tt-products@lists.netfielders.de | 0 | 02.12.2006 16:35 |
| [TYPO3-german] Fatal error: Call to a member function on anon-object in [...]t3lib/class.t3lib_tsfebeuserauth.php on line 1068 | Jochen Biedermann | typo3-german@lists.netfielders.de | 3 | 02.12.2006 15:50 |