Guest Posted September 29, 2005 Posted September 29, 2005 Hi guys. This mod looks great, and I've loaded it, changed my files and performed the SQL modifications too. I can perform everything in the admin side of things, with no errors. When viewing a product (product_info.php) I don't get the desired result! The page is displayed correctly apart from where the new field should be - in it's place is the actual code from the modification. I've tried the following to rectify the problem: Gone back to a backed-up product_info.php file and re-loaded the modification - no joy - same error. Checked that I've loaded ALL mods/new files that come with the contribution. Read through the contrib notes thoroughly, along with the actual contrib discussion: http://www.oscommerce.com/community/contributions,2202/ Any idea how I can fix this? :D
Guest Posted September 29, 2005 Posted September 29, 2005 Looks kinda like you have important stuff commented out :) everything after "//" is disabled on that line. Maybe it will process for you if you change it to read like so: //Start extra fields contribution $extra_fields_query........etc the rest of the code here...... end of your block '; } //End extra fields contribution Just make sure your code is free from the start and end comments so it will process, otherwise it will show up as plain text as you see
Guest Posted September 29, 2005 Posted September 29, 2005 Silly question.... is this block inside of a <?php ?> tag?
shaytaan Posted September 29, 2005 Posted September 29, 2005 Silly question.... is this block inside of a <?php ?> tag? ha ha ha.. what code you see there? :D yes ?,???`???,?? God must love stupid people, he made so many ??,???`???,?
Guest Posted September 29, 2005 Posted September 29, 2005 Silly question.... is this block inside of a <?php ?> tag? It wasn't :( Thanks for pointing that out. I had kinda guessed that was the problem but I didn't think of trying that out at 2 am last night!! :blush: Many thanks for your help :D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.