JimPMM Posted October 15, 2002 Share Posted October 15, 2002 Hi, I'm having problems getting the option_type feature to work with my store - I have used it before on an older snapshot, so I think this could be the cause. The snapshot I'm using is from 02 09 02 - can anyone point me in the right direction?? Many thanks Quote Link to comment Share on other sites More sharing options...
HyperDwarf Posted October 16, 2002 Share Posted October 16, 2002 Try installing the newer version of the "Option Type"... v1.1 ...some fixes and more stuff... I'm using it on my site... Quote Link to comment Share on other sites More sharing options...
JimPMM Posted October 17, 2002 Author Share Posted October 17, 2002 Thanks - didn't realise that there was an update! However, I'm now getting bizarre errors (2) on the product info pages : Warning: array_map() expects argument 1, 'tep_string_to_int', to be either NULL or a valid callback... and Warning: Bad arguments to implode() in... Both are referring to the application_top.php page, which obviously hasn't been altered with this feature installation. Can anyone help...? Thanks Jim Quote Link to comment Share on other sites More sharing options...
HyperDwarf Posted October 18, 2002 Share Posted October 18, 2002 wait a sec. I'm going to look at my code... nope... can't find it here... I'm using the early august snapshot... I had -some- similar problems... keep looking and asking on this board... I hope someone can help you out... Quote Link to comment Share on other sites More sharing options...
JimPMM Posted October 18, 2002 Author Share Posted October 18, 2002 Ok, managed to find out what was wrong. This may be of some use for several other people whose posts I found when searching on those error messages. Basically, there's just a function missing from the catalog/includes/functions/general.php file - the "tep_string_to_init" function. All you need to do is add these lines at the end of the general.php file:- function tep_string_to_int($string) { return (int)$string; } It's just a case of obviously the general file has been replaced by some mod or other, and it's using one without this function! After much hair-pulling-out, this worked for me, so I hope it helps with anyone else who has this problem - I noticed there were quite a few, with no replies to their posts! Regards Jim Quote Link to comment Share on other sites More sharing options...
Guest Posted October 28, 2002 Share Posted October 28, 2002 Jim, Can't thank you enough for your post! I ran into the same issue, and your post has saved MANY hours of frustration. Regards, Quote Link to comment Share on other sites More sharing options...
carrzkiss Posted October 31, 2002 Share Posted October 31, 2002 JimPMM THANK YOU THANK YOU THANK YOU :D :) :o 8) :P Sorry for all the faces, just thought that I would say THANK YOU THANK YOU THANK YOU :D :) :o 8) :P Quote Carrz-Fox-Fire Promotions Thank You Wayne & Carr Barron 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.
Note: Your post will require moderator approval before it will be visible.