TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

TYPO3 Mailingliste: nicht fragen - lesen!

TYPO3 Mailingliste: nicht fragen - lesen!_RR_1-->
Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-project-tt-products@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 09.12.2006, 06:30
Johnny Peck
Gast
 
Beiträge: n/a
Standard [TYPO3-shop] fatal error

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 09.12.2006, 06:42
Johnny Peck
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] fatal error

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 09.12.2006, 13:43
Johnny Peck
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] fatal error[UPDATE]

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #4  
Alt 11.12.2006, 09:40
Franz Holzinger
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] fatal error

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #5  
Alt 12.12.2006, 20:22
Johnny Peck
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-shop] fatal error

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

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


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:27 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Template-Modifikationen durch TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77