Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help! my whole page dissapeared


gebraroest

Recommended Posts

With my default template, it was a jewelry store, so the quick search said "-- jewelry search--" I wanted to edit it, so I went to header.php, I found

 

table cellspacing=0 cellpadding=0 width=707 align=center>
  <tr><td>
	<table cellpadding=0 cellspacing=0 background="my/myh1.jpg">
	 <tr><td width="365" height="221" align="right" valign="bottom"><table width="100%" border="0" cellspacing="0" cellpadding="0">
	   <tr>
		 <td height="31" valign="bottom"><? // SEARCH ?>
			 <table cellspacing="0" cellpadding="0" width="166" align="left">
			   <?=tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get')?>
			   <tr>
				 <td width="139"><?=tep_draw_input_field('keywords', '', 'size="20" maxlength="30" onclick="this.value=''" value=" -- jewerly search -- " style="color: #939393"  class=go') . ' ' . tep_hide_session_id()?></td>
				 <td><input type="image" src="images/m16.gif" width="25" height="19" border="0" /></td>
			   </tr>

 

I edited this part

<td width="139"><?=tep_draw_input_field('keywords', '', 'size="20" maxlength="30" onclick="this.value=''" value=" -- search jewelry  -- " style="color: #939393"  class=go') . ' ' . tep_hide_session_id()?></td>
				 <td><input type="image" src="images/m16.gif" width="25" height="19" border="0" /></td>

into

<td width="139"><?=tep_draw_input_field('keywords', '', 'size="20" maxlength="30" onclick="this.value=''" value=" -- Search -- " style="color: #939393"  class=go') . ' ' . tep_hide_session_id()?></td>
				 <td><input type="image" src="images/m16.gif" width="25" height="19" border="0" /></td>

 

Now my site looks like this :

 

zxdil7.png

Link to comment
Share on other sites

Hi,

Have you tried to UNDO the changes you have made? ie put the original code back - ? If yes and behaviour is same (ie blank page) .. then obviously something else has changed.

Nothing wrong in the changes you have made .. so I suspect that is not the source of this problem.

 

Please try following

a. Undo changes.

b. If a. doesn't work, post link to your site as well as post code of header.php.

c. Any other file where anychange was made around this time?

 

Thanks &

Best Regards,
Gaurav

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...