PrestaShop Forum

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum

Jump to content

 

[SOLVED] Wishlist block v0.2

16 replies to this topic
#1
rsts

    PrestaShop Apprentice

  • Members
  • PipPip
  • 27 posts
Hi

When I try to install Wishlist block v0.2 from modules in the backoffice ver 1.2.1
I get this message Query was empty

What to do???

// Sif

#2
Belle&Blackley

    PrestaShop Newbie

  • Members
  • Pip
  • 9 posts
Yes I have the same problem

#3
halalan

    PrestaShop Apprentice

  • Members
  • PipPip
  • 34 posts
Yep...same here....

#4
rsts

    PrestaShop Apprentice

  • Members
  • PipPip
  • 27 posts
Looks like its an issue for MR. Bug tracker then :)

I will post it there.

// Sif

#5
kasimchen

    PrestaShop Newbie

  • Members
  • Pip
  • 1 posts
Does anybody know how to solve or get a workaround solution for this issue?
(just can't wait for the next fix release)

#6
halalan

    PrestaShop Apprentice

  • Members
  • PipPip
  • 34 posts
WISHLIST install gives ERROR
Query was empty

In version 1.2.1 after upgrading...has anyone figured out a fix??????

#7
Radu

    PrestaShop Addict

  • Moderators
  • 572 posts
blockwishlist/blockwishlist.php
======================================================
replace:
        foreach ($sql AS $k=>$query)
Db::getInstance()->Execute(trim($query));

with:
        foreach ($sql AS $k=>$query){             
if(!empty($query)) Db::getInstance()->Execute(trim($query));
}

and bug solved

#8
coalesce

    PrestaShop Apprentice

  • Members
  • PipPip
  • 74 posts
I made the change above, but still nothing is happening... Did the fix above work for everyone else? Basically when I have the mouse over the "add to wishlist" button the status in the bottom left just says Run Script";" ... Any ideas??

** Correction, this for the front end of the website, module installed fine. Running v 1.2.0.8
www.coalesce.us

#9
exadra37

    PrestaShop Apprentice

  • Moderators
  • 374 posts
This works to fix the problem in v1.2.5.0 .

The line to change the code is line 30 .

Thanks

#10
TigPT

    PrestaShop Newbie

  • Members
  • Pip
  • 13 posts
ty

#11
Artizzz

    PrestaShop Apprentice

  • Members
  • PipPip
  • 117 posts
Hello all!
Maybe somebody can send me wishlist module, it will be very nice.
I can't find download. :(



opss.. I find it in back office it have been there all the time :D what a fail... :D

#12
petete2008

    PrestaShop Apprentice

  • Members
  • PipPip
  • 457 posts
Desde whislist no me permite agregar a la cesta. Me aparece el botón deshabilitado.
¿cómo se arregla?
Gracias

#13
sizuku

    PrestaShop Newbie

  • Members
  • Pip
  • 12 posts
Tengo el mismo problema, alguién sabe como se soluciona???

I have the same problem, were is the solution??????

Gracias

Thank you

#14
exadra37

    PrestaShop Apprentice

  • Moderators
  • 374 posts

From 1268909381:

Tengo el mismo problema, alguién sabe como se soluciona???

I have the same problem, were is the solution??????

Gracias

Thank you


Try to look in the posts above that you will find the solution...

Before you post you must read all entire topic ;)

#15
sizuku

    PrestaShop Newbie

  • Members
  • Pip
  • 12 posts
I have watched all the post and I have not found the solution. If change the lines of code that are mentioned to not works the button me Add to list.
You can say where this the solution to me?

Thank you

#16
IBIFA

    PrestaShop Newbie

  • Members
  • Pip
  • 2 posts
I am not sure what to do with the wish list block.

I have tried the file change above but my file is different I think (I have a more recent verstion of prestashop). I would appreciate any ideas. Thank you!



I have installed the block on both the right and left columns individually - and still nothing happens when I try to add to wishlist from the product page. NOTHING (and java is working fine on my computer).


I get the following error when I click on the wishlist link in the block itself:


Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@mysite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache mod_fcgid/2.3.5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at mysite.com Port 80

#17
ladyred

    PrestaShop Apprentice

  • Members
  • PipPip
  • 98 posts
my wishlist will not open in back office???????
Lady Red Modeling - http://www.ladyred.org Visit for the latest nude and non nude modeling