osCshop Posted February 25, 2005 Share Posted February 25, 2005 (edited) Can't find MAX_DISPLAY_WISHLIST_PRODUCTS in includes/application_top but I think it is set there(?) I think i've used the default settings... Shop (not live) is on a online webserver... Edited February 25, 2005 by osCshop Quote Link to comment Share on other sites More sharing options...
dblake Posted February 25, 2005 Share Posted February 25, 2005 its in your admin configuration, and if this was working before you added in another contribution, you may want to look at that? As the modifications I gave you would not do this, you may want to upload a stock wishlist.php and see if you still get the same error. Quote Link to comment Share on other sites More sharing options...
osCshop Posted February 25, 2005 Share Posted February 25, 2005 Found it in includes/configure.php: // Wish List 2.3 Start define('MAX_DISPLAY_WISHLIST_PRODUCTS', '6'); // How many wishlist items to show per page on the main wishlist.php file define('MAX_DISPLAY_WISHLIST_BOX', '4'); // How many wishlist items to display in the infobox before it changes to a counter // Wish List 2.3 End Quote Link to comment Share on other sites More sharing options...
osCshop Posted February 25, 2005 Share Posted February 25, 2005 catalog/wishlist is stock... Quote Link to comment Share on other sites More sharing options...
dblake Posted February 25, 2005 Share Posted February 25, 2005 very strange, change this line $wishlist_split = new splitPageResults($wishlist_query_raw, MAX_DISPLAY_WISHLIST_PRODUCTS); to this $wishlist_split = new splitPageResults($wishlist_query_raw, 6); Quote Link to comment Share on other sites More sharing options...
osCshop Posted February 25, 2005 Share Posted February 25, 2005 Same SQL Syntax error. Undo the change? Quote Link to comment Share on other sites More sharing options...
dblake Posted February 25, 2005 Share Posted February 25, 2005 Yea undo the change. You have wishlist.php stock right? If it was working before and now its not, you may want to look at what you have done recently. Also make sure everything is right in app_top.php Quote Link to comment Share on other sites More sharing options...
osCshop Posted February 25, 2005 Share Posted February 25, 2005 :'( O boy, no idea when this problem began :huh: Check offtopic PM... Quote Link to comment Share on other sites More sharing options...
osCshop Posted February 25, 2005 Share Posted February 25, 2005 Found something strange: if I go from wishlist to product_info by clicking on a item in wishlist I'm getting this url: http://www (no break but else you cant read the full url) .mydomain.nl/webshop/catalog/product_info.php?file:///C|/Documents%20and%20Settings/me/Mijn%20documenten/folder/oscommerce/Contri/Toegepast/WishList/Wish%20List%20v2.3%20MS2.2/catalog/cPath=21_44&products_id=40 How about that :blink: :wacko: Quote Link to comment Share on other sites More sharing options...
dblake Posted February 25, 2005 Share Posted February 25, 2005 yea thast wrong ;) Quote Link to comment Share on other sites More sharing options...
osCshop Posted February 25, 2005 Share Posted February 25, 2005 dinnertime here, I'll BRB... (will also reply on PM) Quote Link to comment Share on other sites More sharing options...
osCshop Posted February 25, 2005 Share Posted February 25, 2005 OK, url issue solved but still that nasty SQL Syntax error :( Quote Link to comment Share on other sites More sharing options...
osCshop Posted February 26, 2005 Share Posted February 26, 2005 Its almost like the page is refreshing before it has time to get the item taken out of the table, or something...If I remove an item (last item) the error shows up but when I go back with the browserbutton the item is removed. So it's performing the requested action. Same thing with add to shopping cart. Except the error everything is working... Quote Link to comment Share on other sites More sharing options...
fatmcgav Posted March 1, 2005 Share Posted March 1, 2005 Hey there, I just went through the install process, and after completeing everythin smoothly - manual install on heavily mod'd store, i came up with this error when loggin in: 1146 - Table 'oscom.customers_wishlist' doesn't exist select * from customers_wishlist WHERE customers_id = 2 order by products_name [TEP STOP] Also, if i try to add a product, it gives me this error: 1146 - Table 'oscom.customers_wishlist' doesn't exist delete from customers_wishlist where products_id = '3' and customers_id = '2' [TEP STOP] I've ran the sql file, as i can see the tables, and all the files have been uploaded/modified per the install instructions. I'm using version 2.3.1. Any ideas on how to fix this??? Cheers Fatmcgav Quote Link to comment Share on other sites More sharing options...
dblake Posted March 1, 2005 Share Posted March 1, 2005 Run the sql file that came with the contribution. Quote Link to comment Share on other sites More sharing options...
fatmcgav Posted March 1, 2005 Share Posted March 1, 2005 :blush: :blush: Doh, how silly do i feel. I ran the sql file on the wrong db :o:o Lol. all sorted now, just to make it fit in with the site look. Cheers Run the sql file that came with the contribution. <{POST_SNAPBACK}> Quote Link to comment Share on other sites More sharing options...
osCshop Posted March 1, 2005 Share Posted March 1, 2005 Dennis, Still the same problem :'( For other contributions I made changes in the following files also used by wishlist: catalog/includes/database_tables.php catalog/includes/application_top.php catalog/product_info.php Because I'm a PHP-Newbie I can't find something that could cause the error... Any ideas? Quote Link to comment Share on other sites More sharing options...
dblake Posted March 1, 2005 Share Posted March 1, 2005 osCshop, if you dont have a lot of customization done, I would just start over. Take your time, learn things as you go. Then find where you went wrong at. Or just Install a new osc, and install the wishlist on the base, make sure it works. Then add the other contributions you have added, and find out where it goes wrong. Then compare ;) Quote Link to comment Share on other sites More sharing options...
osCshop Posted March 1, 2005 Share Posted March 1, 2005 osCshop, if you dont have a lot of customization done, I would just start over. :o I've customized the shop almost daily the last 5 months... Quote Link to comment Share on other sites More sharing options...
dblake Posted March 1, 2005 Share Posted March 1, 2005 Well it has to have something to do with something else you have installed? Install a base oscshop in a different folder, different database. Then install the wishlist and make your box change to only display for logged in users with stuff in it. If it works, then its something else you have tinkered with. Then start backtracking. Quote Link to comment Share on other sites More sharing options...
osCshop Posted March 1, 2005 Share Posted March 1, 2005 OK, I'll install wishlist in a second (stock) shop. Because I'm busy with other things it will take some time till I'll start with that, but I'll let you know how it went... Quote Link to comment Share on other sites More sharing options...
Guest Posted March 3, 2005 Share Posted March 3, 2005 I have installed and tested this with no probs. I was wonderings if there is way to get the wishlist infobox to show up even if not logged in. I realize you can't add anything to it until you log in but I still want the box on the right to be there. I tried changing it to "require" in column_right.php but I get an error so anyone have any ideas of how to do this? Quote Link to comment Share on other sites More sharing options...
dblake Posted March 3, 2005 Share Posted March 3, 2005 I think you will get an error regardless cuz when it displays the box, it is looking for a customer id. If none is found, you may get an error (not sure about this). But all you would do is, in column_right.php? you should see the require statement for the wishlist.php right? It should be wrapped in some if statement. Just take out the wrapping of the code so its just require(wishlist.php), you get the idea. If you get an error, which you may, there is a way around it but it requires knowledge of php... Basically, if the user id = 0 (i think thats guest id) then display the wishlist box empty, OR display a message saying, please login to view your wishlist... Something along that line. Anyway, good luck! -Dennis Quote Link to comment Share on other sites More sharing options...
Guest Posted March 4, 2005 Share Posted March 4, 2005 ...display the wishlist box empty, OR display a message saying, please login to view your wishlist... Thats exactly what I would like to do...if possible I'd like it to say "Login in to view your list"...if not "Your list is empty." is ok... If someone can please explain how to do this i would really appreciate it alot. Thanks, Danny Quote Link to comment Share on other sites More sharing options...
Guest Posted March 4, 2005 Share Posted March 4, 2005 Also, I allready tried the require thing Dennis and got the error so I guess I need a little help doing the "guest id = display the wishlist box empty" thing. :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.