Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted (edited)

Ok so i am manually pasting code into my .php files and came to a hault. Im working on admin/categories.php.

 

The manual install directions have been easy enough, place **** after **** is relatively easy. But i ran into this:

 

***BOF NOTE***

THE THRID LINE MAY HAVE TO BE MANUALLY EDITED

*PASTE THIS

, products_image_med, products_image_lrg, products_image_sm_1, products_image_xl_1, products_image_sm_2, products_image_xl_2, products_image_sm_3, products_image_xl_3, products_image_sm_4, products_image_xl_4, products_image_sm_5, products_image_xl_5, products_image_sm_6, products_image_xl_6

*AFTER THIS

products_image

*PASTE THIS

. "', '" . tep_db_input($product['products_image_med']) . "', '" . tep_db_input($product['products_image_lrg']) . "', '" . tep_db_input($product['products_image_sm_1']) . "', '" . tep_db_input($product['products_image_xl_1']) . "', '" . tep_db_input($product['products_image_sm_2']) . "', '" . tep_db_input($product['products_image_xl_2']) . "', '" . tep_db_input($product['products_image_sm_3']) . "', '" . tep_db_input($product['products_image_xl_3']) . "', '" . tep_db_input($product['products_image_sm_4']) . "', '" . tep_db_input($product['products_image_xl_4']) . "', '" . tep_db_input($product['products_image_sm_5']) . "', '" . tep_db_input($product['products_image_xl_5']) . "', '" . tep_db_input($product['products_image_sm_6']) . "', '" . tep_db_input($product['products_image_xl_6'])

*AFTER THIS

tep_db_input($product['products_image'])

***EOF NOTE***

 

There is no instruction on where to insert this code, except for:

 

*PASTE THIS

, products_image_med, products_image_lrg, products_image_sm_1, products_image_xl_1, products_image_sm_2, products_image_xl_2, products_image_sm_3, products_image_xl_3, products_image_sm_4, products_image_xl_4, products_image_sm_5, products_image_xl_5, products_image_sm_6, products_image_xl_6

*AFTER THIS

products_image

 

But the only problem is, the words "products_image" appear 1,000,000 times! Where the heck should i insert this bit of code?

 

Thanks in advance!

Edited by jf_345
Posted

cmon, i know somebody knows how to help me here.....Actually probly 90% of the users here could help me with an easy one like this!

Posted (edited)

Interestingly enough, I was having the exact same problem you were at the same time. I could come up with no explanation either so I regrouped.

 

Included in the contribution distribution bundle is a file called "instructions.txt", which lists all of the files that have been modified, but not the changes. I used WinMerge to check them against my existing files, copied the mods from one to the other, depending on which had more mods, then uploaded them. It went flawlessly. I checked the mods in the contribution against my original, "out of the box", pre-mod files and, assuming you haven't already modified any of the files, you can just use the ones in the contribution.

 

Back up your originals and give it a shot.

Edited by divemate
Posted

Hey thats a great idea divemate! not sure i can use winmerge, since i bought a commercial template so all my files are different than the contribution files, but i can try doing it manually and use the good 'ol find button. It'll take more time, but i've already waited 12 hours for a reply to my question.

Thanks.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...