"The data could not be found" Error - I can't add products

filoaman

Avatar: filoaman

2010-10-26 21:28

Please help.
I try to add a new product
I do what i have to do in the admin environment, I add images, description, price etc. Then i save and i receive a "Operation ended successfully" message.
Finally i visit the store front i see that the product is here i can also see the thumbnail but when i click on the image or the product name in order to see the bigger image or the descriptions i get an error message "The data could not be found".
Any help?
Thank you

» Quick.Cart v3.x

Makaron

Avatar: Makaron

2010-10-27 16:32

Can You please send address of Your website. Look also at file db/en_products_ext.php and try to find database record with this product which You have added (You can search for some words from full description for example).

Mak-Web.pl - Modyfikacje skryptów Q.Cart i Q.Cms

filoaman

Avatar: filoaman

2010-10-27 17:50

Makaron
Thank you very much for your answer.

Here is one of my installations http://typocard.com/39/ (this is only a test, i can't complete anything since i can't add products)

I try more than 10 installation on 3 different servers and i always get the same error.

unfortunately i had already use Greek language but if you click any of the front page items (4371 or 12563) you will get the error message: "The data could not be found" (of course in Greek...)
You can also log as admin (pass admin) - this is only a test so there is almost nothing you can hurt me.

I also examine the file you mention (although i examine the db/gr_products_ext.php instead the one you suggest) and yes i found all the description information for the products.

Please help.

Makaron

Avatar: Makaron

2010-10-28 09:48

I think names of products can't be only numeric. If You change address of subpage with product a little: http://typocard.com/39/?11,test You will see product details page correctly. I raport this bug to rest of team and we will try to fix it. Until this maybe You can change names of product to not only numerical.

Mak-Web.pl - Modyfikacje skryptów Q.Cart i Q.Cms

filoaman

Avatar: filoaman

2010-10-28 09:59

Thank you for your answer.
You make my day although now i have to work hard in order to add all my products until Friday!

boboo

Avatar: boboo

2010-10-28 10:21

I don't know is this the right way, but it works and is very fast & easy to solv.
In the file /core/products.php
find the function:
function generateCache( )
and in this function find the line:
$this->aProducts[$aExp[0]]['sLinkName'] = '?'.$aExp[0].','.$sLanguageUrl.change2Url( $this->aProducts[$aExp[0]]['sName'] );
and in this line add a space behind the comma (,).
so the new line looks now:
$this->aProducts[$aExp[0]]['sLinkName'] = '?'.$aExp[0].', '.$sLanguageUrl.change2Url( $this->aProducts[$aExp[0]]['sName'] );
From now you can use the numerical names of the products.

http://skupienie.kimla.de/?software-quickcart,106

boboo

Avatar: boboo

2010-10-28 10:28

the same you have to do in:
/core/orders.php
in the function:
function generateBasket( )
just add a space behind comma in this line:
$this->aProducts[$aExp[1]]['sLinkName'] = '?'.$aExp[1].','.change2Url( $this->aProducts[$aExp[1]]['sName'] );

http://skupienie.kimla.de/?software-quickcart,106

wewior (OpenSolution)

Avatar: wewior

2010-10-28 11:47

Tip which boboo made is fine, because it will work but you will have that space in links and it may not look great, because it will be change to %20 in url browser field... so i think best way is to name products not only numeric if it is possible.

boboo

Avatar: boboo

2010-10-28 16:19

As i've written:
"I don't know is this the right way..."
:-)

http://skupienie.kimla.de/?software-quickcart,106

Back to top
about us | contact