Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Major Booboo


Karen56

Recommended Posts

Posted

Hi All,

 

Tried to fix product images.... couldn't do it right, so went in manually and changed some data, to fix it that way. more syntax errors. than tried to restore from back up and nothing changed. What do I do now?

please help :-(. it would be great if someone could maybe walk me thru this... phone number is 650 364-1926 calling would be better.

 

thanks

karen

Posted

Post a link to your site so we can review what / where is wrong. I do hope someone calls you on the listed no. but in the meantime you can let others at least try to help with conventional forum posting.

Best Regards,
Gaurav

Posted

Thank you so much for responding. The website is www.knlmagikalwares.com

 

Thank you

Karen

Posted

Hi Karen,

Connected to your site now, where / what is the error? Home page looks alright, I am clicking at random to see if I can get to the error page.

 

Correction, got the errors. could you please post code for product_info.php in the forum & by any chance, did you add any text in english.php (or defines)?

 

Thx

Best Regards,
Gaurav

Posted

the top code box.. was what it was. the second is what it should be. I couldnt figure out how to save then upload new, so I went into product_info.php and manually just added the difference and hit save. then this happened.

 

CODE

document.write('<?php echo '<a href="java script:popupWindow('' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');

 

 

 

Replace that line in your file with this:

 

 

CODE

document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH+20, SMALL_IMAGE_HEIGHT+20, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');

 

what do you think?

 

thanks

Posted

Do you use File Manager to modify the files?

 

Replace line 109 with code below - and errors should go

 

document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');

 

I am sorry I am bit confused by your post, but at this moment, you have syntax error leading to those 4 errors on your pages.

 

Cheers,

Best Regards,
Gaurav

Posted

Hi Gaurav,

 

Yes I used file manager, and went in and entered slashes where they were needed and then saved. don't know where to save new code and then upload. I downloaded filezilla client to try maybe that way, but it won't connect to server, so apparently I don't know what i'm doing. getting a little frustrated here (if you know what i mean..lol) any thoughts at all on how i can fix this? where to save code and upload. oscommerce says host to help, host says oscommerce to help. So I'm at a loss.

thanks

karen

Posted

I understand, and this is certainly not a host problem, so they wouldn't like to get into this.

Guiding you through File Manager would take a while, Could you give me admin access to review and fix it? PM me the details if it is OK with you.

Do you have a copy of original product_info.php? If yes, I just might write steps for you to delete existing file and copying a new one on the server.

 

Cheers

GS

Best Regards,
Gaurav

Posted

Gaurav,

Yes, thank you, I would greatly appreciate it. the original code was in the 1st code box i sent you. the code underneath was what it needed to be. How do I pm you with admin info? and I will give you access. thank you so much!

Karen

Posted

If you click on my name on the left, you get option to send message. I have sent a PM, so you may reply to it, else, my email id is in my PM to you.

 

Thx

Gaurav

Best Regards,
Gaurav

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...