snubbr.com

ModVerisign SSL - Where can I get mod_Verisign SSL 2.0.59 for Apache 2.0.59?

Get a Verisign SSL certificate for 30 days FREE. Click here to use coupon...

Get a free trial of Verisign SSL certificates. Click here for this special deal...
First question I got is ModVerisign SSL - Where can I get mod_Verisign SSL 2.0.59 for Apache 2.0.59? Many thanks for any response. 2nd question I got is.. Hi, we have a Verisign site here,.

Www.homestansted.co.uk.

- however when you click a manufacturer from the dropdown (bottom left) it actuallyt takes you to /search/ (eg advanced_search.php)..

So, I extracted the code that for the drop down, and all looks fine, see here:.

Www.homestansted.co.uk/man.php.

As you can see, outside the site, it all works fine..

Have taking a look at the code for /boxes/manufactures.php - and it all looks fine (compared to other Verisign site which has not been changed). (SEE BELOW)..

Thanks for any help,.

Crz.

C O D E MANUFACTURERS.PHP.

<?php.

/*.

$Id: manufacturers.php,v 1.19 2003/06/09 22:17:13 hpdl Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright 2003 osCommerce.

Released under the GNU General Public License.

*/.

$manufacturers_query = tep_db_query("select manufacturers_id, manufacturers_name from "TABLE_MANUFACTURERS" order by manufacturers_name");.

If ($number_of_rows = tep_db_num_rows($manufacturers_query)) {.

?>.

<tr><td>.

<! manufacturers //>.

<?php.

$info_box_contents = array();.

$info_box_contents[] = array('text' => BOX_HEADING_MANUFACTURERS);.

New infoBoxHeading($info_box_contents, false, false);.

If ($number_of_rows <= MAX_DISPLAY_MANUFACTURERS_IN_A_LIST) {.

// Display a list.

$manufacturers_list = '';.

While ($manufacturers = tep_db_fetch_array($manufacturers_query)) {.

$manufacturers_name = ((strlen($manufacturers['manufacturers_name']) > MAX_DISPLAY_MANUFACTURER_NAME_LEN) ? substr($manufacturers['manufacturers_name'], 0, MAX_DISPLAY_MANUFACTURER_NAME_LEN)'..' : $manufacturers['manufacturers_name']);.

If (isset($HTTP_GET_VARS['manufacturers_id']) && ($HTTP_GET_VARS['manufacturers_id'] == $manufacturers['manufacturers_id'])) $manufacturers_name = '<b>'$manufacturers_name .'</b>';.

//i have changed FILENAME_DEFAULT to index.php below, to try to get the manuf working.

$manufacturers_list .= '<a href="'tep_href_link(FILENAME_DEFAULT, 'manufacturers_id='$manufacturers['manufacturers_id'])'">'$manufacturers_name'</a><br>';.

}.

$manufacturers_list = substr($manufacturers_list, 0, -4);.

$info_box_contents = array();.

$info_box_contents[] = array('text' => $manufacturers_list);.

} else {.

// Display a drop-down.

$manufacturers_array = array();.

If (MAX_MANUFACTURERS_LIST < 2) {.

$manufacturers_array[] = array('id' => '', 'text' => PULL_DOWN_DEFAULT);.

}.

While ($manufacturers = tep_db_fetch_array($manufacturers_query)) {.

$manufacturers_name = ((strlen($manufacturers['manufacturers_name']) > MAX_DISPLAY_MANUFACTURER_NAME_LEN) ? substr($manufacturers['manufacturers_name'], 0, MAX_DISPLAY_MANUFACTURER_NAME_LEN)'..' : $manufacturers['manufacturers_name']);.

$manufacturers_array[] = array('id' => $manufacturers['manufacturers_id'],.

'text' => $manufacturers_name);.

}.

$info_box_contents = array();.

$info_box_contents[] = array('form' => tep_draw_form('manufacturers', tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false), 'get'),.

'text' =>'.

<br style="line-height:2px">'.tep_draw_pull_down_menu('manufacturers_id', $manufacturers_array, (isset($HTTP_GET_VARS['manufacturers_id']) ? $HTTP_GET_VARS['manufacturers_id'] : ''), 'onChange="this.form.submit();" size="'MAX_MANUFACTURERS_LIST'" style=" width:100%;"')tep_hide_session_id()..

'.

');.

}.

New infoBox($info_box_contents);.

?>.

<! manufacturers_eof //>.

<?php.

}.

?>.

</td></tr>.

This post has been edited by.

Ncoded.

: 28 January 2009, 17:04..

Comments (98)

Good question... I dunno what is the right answer to your question. I'll do some poking around and get back to you if I got an good answer. You should email the people at Verisign as they probably could assist you..

Comment #1

Thank you germ, I will take a look at that 2morra, many thanks..

This post has been edited by.

Ncoded.

: 28 January 2009, 17:49..

Comment #2

Sorry germ, can you explain?.

I understand that a </form> is missing from the advanced_search bit..

However, where (what page) did you view the html from? index.php??.

It seems to consist of currency/advanced search (header), and manufactuerers..

Thanks again...

Comment #3

Ok did a quick check in header.php and found that code reposible for <form>, or in this case, advanced_search form..

<?php echo tep_draw_form('advanced_search', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get', 'onSubmit="return check_form(this);"')tep_hide_session_id(); ?>.

I def havent changed anything in tep_draw_form() so I'm abit unsure about this one..

Advanced_search works ok, it just manufactures.php that does not, or rather the M box redirect to the correct page..

Ck..

Comment #4

I'd try changing this code:.

<?php echo tep_draw_form('advanced_search', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get', 'onSubmit="return check_form(this);"')tep_hide_session_id(); ?>.

To.

<?php echo tep_draw_form('advanced_search', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get', 'onSubmit="return check_form(this);"')tep_hide_session_id(); ?>.

</form>.

BACKUP THE FILE BEFORE MAKING ANY EDITS..

Comment #5

Thank you jim, that worked at treat..

I just assumed that a function called tep_draw_form() would also close the <form> tag..

SOLVED. IF YOU HAVE THIS PROBLEM, CHECK THAT THE </FORM> IS BEING CLOSD, AS ABOVE...

Comment #6

Ok perhaps that was a bit premature,...

Just done a check and with the closing <form> tag now my top search input does not work..

So I seem to have a choice, either the manufactures work, or the top search..

So far, I have choosen the search field..

Obv some how the two are related, which seems abit odd..

Any idea?.

Ck..

Comment #7

Your.

<form>.

Tags are screwed up..

Fix them and it should work..

This brings us to another set of realities:.

1. You have a purchased template..

2. It seems to have serious code flaws..

Which brings us to:.

3. Seek support from the template provider if you are having problems..

I'm really not trying to be a jerk about this, but the simple truth of the matter is that is is an.

OsCommerce.

Support forum not a "support template provider X" forum..

If template providers were forced to support their work they might start doing a better job at coding in the first place...

Comment #8

Hey Jim, harsh but true I guess..

So you know, I'm comming from a c++/php background..

Your right the template was from tmonst**, and I would def agree that they have messed with some of the functions/code..

What I will have to do is install a new version of osc, then go through some of the major files and function, tep_form() for instance - and try and work backwards to what I have now..

Personally I think the real issue is the non-seperate between template and code, which means you have to mess around with functions to get your template to work..

But hey, it's good enough for the momment, and we all (i guess) look foward to OSC Version 3 (sooner rather than later, due to Magento)..

Anyway, thanks for all your help jim...

Comment #9

Hi, we have a Verisign site here,.

Www.homestansted.co.uk.

- however when you click a manufacturer from the dropdown (bottom left) it actuallyt takes you to /search/ (eg advanced_search.php)..

So, I extracted the code that for the drop down, and all looks fine, see here:.

Www.homestansted.co.uk/man.php.

As you can see, outside the site, it all works fine..

Have taking a look at the code for /boxes/manufactures.php - and it all looks fine (compared to other Verisign site which has not been changed). (SEE BELOW)..

Thanks for any help,.

Crz.

C O D E MANUFACTURERS.PHP.

<?php.

/*.

$Id: manufacturers.php,v 1.19 2003/06/09 22:17:13 hpdl Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright 2003 osCommerce.

Released under the GNU General Public License.

*/.

$manufacturers_query = tep_db_query("select manufacturers_id, manufacturers_name from "TABLE_MANUFACTURERS" order by manufacturers_name");.

If ($number_of_rows = tep_db_num_rows($manufacturers_query)) {.

?>.

<tr><td>.

<! manufacturers //>.

<?php.

$info_box_contents = array();.

$info_box_contents[] = array('text' => BOX_HEADING_MANUFACTURERS);.

New infoBoxHeading($info_box_contents, false, false);.

If ($number_of_rows <= MAX_DISPLAY_MANUFACTURERS_IN_A_LIST) {.

// Display a list.

$manufacturers_list = '';.

While ($manufacturers = tep_db_fetch_array($manufacturers_query)) {.

$manufacturers_name = ((strlen($manufacturers['manufacturers_name']) > MAX_DISPLAY_MANUFACTURER_NAME_LEN) ? substr($manufacturers['manufacturers_name'], 0, MAX_DISPLAY_MANUFACTURER_NAME_LEN)'..' : $manufacturers['manufacturers_name']);.

If (isset($HTTP_GET_VARS['manufacturers_id']) && ($HTTP_GET_VARS['manufacturers_id'] == $manufacturers['manufacturers_id'])) $manufacturers_name = '<b>'$manufacturers_name .'</b>';.

//i have changed FILENAME_DEFAULT to index.php below, to try to get the manuf working.

$manufacturers_list .= '<a href="'tep_href_link(FILENAME_DEFAULT, 'manufacturers_id='$manufacturers['manufacturers_id'])'">'$manufacturers_name'</a><br>';.

}.

$manufacturers_list = substr($manufacturers_list, 0, -4);.

$info_box_contents = array();.

$info_box_contents[] = array('text' => $manufacturers_list);.

} else {.

// Display a drop-down.

$manufacturers_array = array();.

If (MAX_MANUFACTURERS_LIST < 2) {.

$manufacturers_array[] = array('id' => '', 'text' => PULL_DOWN_DEFAULT);.

}.

While ($manufacturers = tep_db_fetch_array($manufacturers_query)) {.

$manufacturers_name = ((strlen($manufacturers['manufacturers_name']) > MAX_DISPLAY_MANUFACTURER_NAME_LEN) ? substr($manufacturers['manufacturers_name'], 0, MAX_DISPLAY_MANUFACTURER_NAME_LEN)'..' : $manufacturers['manufacturers_name']);.

$manufacturers_array[] = array('id' => $manufacturers['manufacturers_id'],.

'text' => $manufacturers_name);.

}.

$info_box_contents = array();.

$info_box_contents[] = array('form' => tep_draw_form('manufacturers', tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false), 'get'),.

'text' =>'.

<br style="line-height:2px">'.tep_draw_pull_down_menu('manufacturers_id', $manufacturers_array, (isset($HTTP_GET_VARS['manufacturers_id']) ? $HTTP_GET_VARS['manufacturers_id'] : ''), 'onChange="this.form.submit();" size="'MAX_MANUFACTURERS_LIST'" style=" width:100%;"')tep_hide_session_id()..

'.

');.

}.

New infoBox($info_box_contents);.

?>.

<! manufacturers_eof //>.

<?php.

}.

?>.

</td></tr>.

This post has been edited by.

Ncoded.

: 28 January 2009, 17:04..

Comment #10

You're missing a.

</form>.

Tag..

Looking at the HTML source it goes:.

<form name="currencies" action="http://www.homestansted.co.uk/index.php" method="get"><select name="currency" onChange="this.form.submit();" style="width:105px"><option value="GBP" SELECTED>Pounds</option></select></form>.

(HTML CODE HERE).

<form name="advanced_search" action="http://www.homestansted.co.uk/search/results.html" method="get" onSubmit="return check_form(this);">.

(HTML CODE HERE).

<form name="manufacturers" action="http://www.homestansted.co.uk/index.php" method="get">.

<br style="line-height:2px"><select name="manufacturers_id" onChange="this.form.submit();" size="0" style=" width:100%;"><option value="" SELECTED>Please Select</option><option value="13">Early Doors Ltd</option><option value="14">Louise</option></select>.

</form></td>.

The.

</form>.

After the advanced search is missing...

Comment #11


This question was taken from a support group/message board and re-posted here so others can learn from it.

 

Categories: Home | Diet & Weight Management | Vitamins & Supplements | Herbs & Cleansing |

Sexual Health | Medifast Support | Nutrisystem Support | Medifast Questions |

Web Hosting | Web Hosts | Website Hosting | Hosting |

Web Hosting | GoDaddy | Digital Cameras | Best WebHosts |

Web Hosting FAQ | Web Hosts FAQ | Hosting FAQ | Hosting Group |

Hosting Questions | Camera Tips | Best Cameras To Buy | Best Cameras This Year |

Camera Q-A | Digital Cameras Q-A | Camera Forum | Nov 2010 - Cameras |

Oct 2010 - Cameras | Oct 2010 - DSLRs | Oct 2010 - Camera Tips | Sep 2010 - Cameras |

Sep 2010 - DSLRS | Sep 2010 - Camera Tips | Aug 2010 - Cameras | Aug 2010 - DSLR Tips |

Aug 2010 - Camera Tips | July 2010 - Cameras | July 2010 - Nikon Cameras | July 2010 - Canon Cameras |

July 2010 - Pentax Cameras | Medifast Recipes | Medifast Recipes Tips | Medifast Recipes Strategies |

Medifast Recipes Experiences | Medifast Recipes Group | Medifast Recipes Forum | Medifast Support Strategies |

Medifast Support Experiences |

 

(C) Copyright 2010 All rights reserved.