Angelstore Posted December 28, 2004 Posted December 28, 2004 First, thanks to all who have contributed to OSCommerce. I have been working with it for about two weeks and have been able to solve most problems with the posts and contributions, but this one has me stumped. I get the error message: object expected, http://www.austinsangelstore/online-store/...&products_id=54, and the enlarged picture doesn't show. I have checked the code in product_info.php and as far as I can tell, it is correct. I am using easypopulate & dynamic_MoPics, but the enlarge function didn't work before I installed them. The site isn't finished by a long shot, but I can't seem to get past this problem. Any suggestions of what to do or where to look? Thanks, Angelstore
Guest Posted December 29, 2004 Posted December 29, 2004 Hi, check this out, you have a same problem: Image problem too. I posted answer there just few minutes ago. B) -ppajukos-
Angelstore Posted December 29, 2004 Author Posted December 29, 2004 Hi, check this out, you have a same problem:Image problem too. I posted answer there just few minutes ago. B) -ppajukos- <{POST_SNAPBACK}> Thanks for the response. I checked my product_info.php file and the code is there. Mine looks like this: <script language="javascript"><!-- function popupWindow(url) { window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150') } //--></script> Only thing I can see different is the &39; that was in your example. Should I add that? Angelstore
ozcsys Posted December 29, 2004 Posted December 29, 2004 Thanks for the response. I checked my product_info.php file and the code is there. Mine looks like this:<script language="javascript"><!-- function popupWindow(url) { window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150') } //--></script> Only thing I can see different is the &39; that was in your example. Should I add that? Angelstore[right][post=513298]<{POST_SNAPBACK}>[/post][/right] If you are using the sts template contribution you need to paste the javascript code directly into your sts_template.html file just before the </head> tag The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
Angelstore Posted December 29, 2004 Author Posted December 29, 2004 If you are using the sts template contribution you need to paste the javascript code directly into your sts_template.html file just before the </head> tag <{POST_SNAPBACK}> That did it! :D Thanks a bunch. I was just about ready to give up. Now if I can just get dynamic mopics working...... Angelstore
Recommended Posts
Archived
This topic is now archived and is closed to further replies.