Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: I am able to write to the configuration file: /home/hkcsy/public_html/osc/includes/configure.php. This is a potential security risk - please


experts585

Recommended Posts

Warning: I am able to write to the configuration file: /home/hkcsy/public_html/osc/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

 

 

i face this error

 

plz help me what i doo

Link to comment
Share on other sites

thx, sir

 

 

heloo sir i face another problem i edit the file search.php and add a table but adding a table the icon of search doesn't show and if i del the table its shows what the problem

 

thx

 

 

here is the code and i insert the table

 

http://hkcsy.com/osc/index.php and see there is no icon

 

<!-- search //-->

<table width="100%" border="0" cellspacing="0" cellpadding="0" style="padding-top:4px;">

<tr>

<td style="color:#FFFFFF; font-weight:bold; font-size:14px">Search:</td>

<td>

 

 

<?php

$info_box_contents = array();

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

 

// new infoBoxHeading($info_box_contents, false, false);

 

$info_box_contents = array();

$info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'),

'align' => 'center',

'text' => tep_draw_input_field('keywords', '', 'size="35" maxlength="50" style="width: ' . (BOX_WIDTH-0) . 'px"') . '   </td><td style="padding-top:1px; padding-left:0px; width:26px;>' . tep_hide_session_id() . tep_image_submit('/button_quick_find.gif', BOX_HEADING_SEARCH));

// <a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '">' . BOX_SEARCH_ADVANCED_SEARCH . '</a>

 

new infoBox($info_box_contents);

?>

</td>

</tr>

</table>

<!-- search_eof //-->

Link to comment
Share on other sites

Go to your host cpanel and do it there

 

 

 

heloo sir i face another problem i edit the file search.php and add a table but adding a table the icon of search doesn't show and if i del the table its shows what the problem

 

thx

 

 

here is the code and i insert the table

 

http://hkcsy.com/osc/index.php and see there is no icon

 

<!-- search //-->

<table width="100%" border="0" cellspacing="0" cellpadding="0" style="padding-top:4px;">

<tr>

<td style="color:#FFFFFF; font-weight:bold; font-size:14px">Search:</td>

<td>

 

 

<?php

$info_box_contents = array();

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

 

// new infoBoxHeading($info_box_contents, false, false);

 

$info_box_contents = array();

$info_box_contents[] = array('form' => tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get'),

'align' => 'center',

'text' => tep_draw_input_field('keywords', '', 'size="35" maxlength="50" style="width: ' . (BOX_WIDTH-0) . 'px"') . '   </td><td style="padding-top:1px; padding-left:0px; width:26px;>' . tep_hide_session_id() . tep_image_submit('/button_quick_find.gif', BOX_HEADING_SEARCH));

// <a href="' . tep_href_link(FILENAME_ADVANCED_SEARCH) . '">' . BOX_SEARCH_ADVANCED_SEARCH . '</a>

 

new infoBox($info_box_contents);

?>

</td>

</tr>

</table>

<!-- search_eof //-->

Link to comment
Share on other sites

Abu,

 

OSC follows a very specific table structure, so when you insert a nested table to you have ensure you are inserting it in the proper position. What exactly are you trying to accomplish with the nested table ?

 

 

 

Chris

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...