Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Status bar "Done, but with errors on page"


xlameee

Recommended Posts

Posted

hi everyone I have almost complate shop with SSL working but Status bar on IE shown yellow warrning

 

 

"Done, but errors on page" There is my web site www.technic-outlet.com

 

I realy cant find whats going on I was looked everywhere in this forum and other forums but I cant find it

 

 

Is anyone hase any idea what can be

 

Thank you in advance

Nikolay

Posted

You have a problem with yuour ssl. IE shows the following

 

The security certificate presented by this website was not issued by a trusted certificate authority.

The security certificate presented by this website was issued for a different website's address.

Posted
You have a problem with yuour ssl. IE shows the following

 

The security certificate presented by this website was not issued by a trusted certificate authority.

The security certificate presented by this website was issued for a different website's address.

 

 

but at home says everything normal

 

do you know how to fix that

 

 

Thanks

Nikolay

Posted

there is something in includes/header.php

 

 

line 58

 

 

 

php

/*

$Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// check if the 'install' directory exists, and warn of its existence

if (WARN_INSTALL_EXISTENCE == 'true') {

if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) {

$messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning');

}

}

 

// check if the configure.php file is writeable

if (WARN_CONFIG_WRITEABLE == 'true') {

if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) {

$messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning');

}

}

 

// check if the session folder is writeable

if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') {

if (STORE_SESSIONS == '') {

if (!is_dir(tep_session_save_path())) {

$messageStack->add('header', WARNING_SESSION_DIRECTORY_NON_EXISTENT, 'warning');

} elseif (!is_writeable(tep_session_save_path())) {

$messageStack->add('header', WARNING_SESSION_DIRECTORY_NOT_WRITEABLE, 'warning');

}

}

}

 

// check session.auto_start is disabled

if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) {

if (ini_get('session.auto_start') == '1') {

$messageStack->add('header', WARNING_SESSION_AUTO_START, 'warning');

}

}

 

if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) {

if (!is_dir(DIR_FS_DOWNLOAD)) {

$messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning');

}

}

 

if ($messageStack->size('header') > 0) {

echo $messageStack->output('header');

}

?>

<!--

 

 

Line 58

 

 

 

-->

 

 

 

<table width=100% cellspacing=0 cellpadding=0 align=center>

<tr><td bgcolor=#292929 width=100% height=316 align=center valign=top>

<table cellspacing=0 cellpadding=0 width=100% align=center>

<tr><td width=100% align=center>

<table cellspacing=0 cellpadding=0 border=0 width=706 valign=top>

<tr><td class=bg1 width=706 height=36 valign=top>

<table cellspacing=0 cellpadding=0 border=0 width=706 height=36>

<tr><td><img src=images/m01.gif width=9 height=36 border=0></td>

<td width=134 align=center><span class=ch1>Shopping cart</span> <a class=ml1 href=<?=tep_href_link('shopping_cart.php')?>><?=$cart->count_contents()?> items</a></td>

<td background=images/m04.gif width=1></td>

<td width=109 align=center>

<? // LANGUAGES

 

if (!isset($lng) || (isset($lng) && !is_object($lng))) {

include(DIR_WS_CLASSES . 'language.php');

$lng = new language;

}

 

$languages_string = '';

reset($lng->catalog_languages);

while (list($key, $value) = each($lng->catalog_languages)) {

$languages_string .= ' <a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('language', 'currency')) . 'language=' . $key, $request_type) . '">' . tep_image(DIR_WS_LANGUAGES . $value['directory'] . '/images/' . $value['image'], $value['name']) . '</a> ';

}

 

echo $languages_string;

 

?>

 

</td>

<td background=images/m04.gif width=1></td>

<td width=245 align=center>

 

<? // SEARCH ?>

<table cellspacing=0 cellpadding=0 >

<?=tep_draw_form('quick_find', tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get')?>

<tr><td><span class=ch1>Site search:</span></td>

<td width=126 align=center>

<?=tep_draw_input_field('keywords', '', 'size="20" maxlength="50" onclick="this.value=\'\'" value="keyword" class=se1 ') . ' ' . tep_hide_session_id()?></td>

<td><input type=image src=images/m08.gif width=28 height=20></td></tr>

</form>

</table>

<? // END SEARCH ?>

 

 

 

</td>

<td background=images/m04.gif width=1></td>

<td width=197 align=center>

<table cellspacing=0 cellpadding=0>

<tr><td width=80><span align=center class=ch1>Curencies:</span></td>

<td>

 

<? // CURRENCIES

 

echo tep_draw_form('currencies', tep_href_link(basename($PHP_SELF), '', $request_type, false), 'get');

 

reset($currencies->currencies);

$currencies_array = array();

while (list($key, $value) = each($currencies->currencies)) {

$currencies_array[] = array('id' => $key, 'text' => $value['title']);

}

 

$hidden_get_variables = '';

reset($HTTP_GET_VARS);

while (list($key, $value) = each($HTTP_GET_VARS)) {

if ( ($key != 'currency') && ($key != tep_session_name()) && ($key != 'x') && ($key != 'y') ) {

$hidden_get_variables .= tep_draw_hidden_field($key, $value);

}

}

 

echo tep_draw_pull_down_menu('currency', $currencies_array, $currency, 'onChange="this.form.submit(); style="width: 99px; background-color: #727272; font-size: 9px; color: #FFFFFF;"') . $hidden_get_variables . tep_hide_session_id();

echo '</form>';

 

?>

 

 

 

</td></tr>

</table>

</td>

<td><img src=images/m02.gif width=9 height=36 border=0></td></tr>

</table>

</td></tr>

<tr><td width=706 valign=top>

<table cellspacing=0 cellpadding=0 width=698 height=225>

<tr><td width=11 style="padding-left: 10px"><a href=<?=tep_href_link('index.php')?>></a></td>

<td background=images/m11.gif width=714 ><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="686" height="250">

<param name="movie" value="./flash/Banner.swf" />

<param name="quality" value="high" />

<embed src="./flash/Electronics_Blue.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="686" height="250"></embed>

</object></td>

<td background=images/m12.gif width=1 align=center></a></td>

</tr>

</table>

</td></tr>

</table>

</tr></td>

<tr><td height=55 class=bg2 align=center><a href=<?=tep_href_link('index.php')?>><img src=images/m15.gif width=94 height=55 border=0></a><a href=<?=tep_href_link('products_new.php')?>><img src=images/m16.gif width=145 height=55 border=0></a><a href=<?=tep_href_link('account.php')?>><img src=images/m17.gif width=177 height=55 border=0></a><a href=<?=tep_href_link('shopping_cart.php')?>><img src=images/m18.gif width=161 height=55 border=0></a><a href=<?=tep_href_link('checkout_shipping.php')?>><img src=images/m19.gif width=129 height=55 border=0></a></td></tr>

<tr><td bgcolor=#585858 height=35 align=center>

<table cellspacing=0 cellpadding=0 width=706>

<tr><td width=9 height=35><img src=images/m20.gif width=9 height=35></td>

<td background=images/m22.gif width=688>

<table cellspacing=0 cellpadding=0 width=688 valign=top>

<tr><td width=111 align=center><a href=<?=tep_href_link('specials.php')?> class=ml2>specials</a></td>

<td width=2 height=12><img src=images/m23.gif width=2 height=12></td>

<td width=113 align=center><a href=<?=tep_href_link('advanced_search.php')?> class=ml2>search</a></td>

<td width=2 height=12><img src=images/m23.gif width=2 height=12></td>

<td width=133 align=center><a href=<?=tep_href_link('contact_us.php')?> class=ml2>contact us</a></td>

<td width=2 height=12><img src=images/m23.gif width=2 height=12></td>

<td width=177 align=center><a href=<?=tep_href_link('create_account.php')?> class=ml2>create an account</a></td>

<td width=2 height=12><img src=images/m23.gif width=2 height=12></td>

<td width=146 align=center><?=(!tep_session_is_registered('customer_id') ? '<a href='.tep_href_link('login.php').' class=ml2>Customer Login</a>' : '<a href='.tep_href_link('logoff.php').' class=ml2>Sign Out</a>')?></td></tr>

</table>

</td>

<td width=9 height=35><img src=images/m21.gif width=9 height=35></td></tr>

</table>

</td></tr>

<tr><td bgcolor=#585858 height=2>

</table>

</td></tr>

<tr><td width=100% height=100% align=center valign=top>

<table bgcolor=#232323 cellspacing=0 cellpadding=0 border=0 width=706>

<tr><td width=216 valign=top>

<table cellspacing=0 cellpadding=0>

<tr><td background=images/m24.gif width=216 height=10></td></tr>

<tr><td background=images/m26.gif style="padding-left: 23px"><span class=ch2>browse by categories</span></td></tr>

<tr><td background=images/m25.gif height=8></td></tr>

<tr><td height=1></td></tr>

<tr><td width=216>

<table cellspacing=0 cellpadding=0 class=bg3>

<tr><td background=images/m27.gif width=216 height=10></td></tr>

<tr><td height=11></td></tr>

<? // ---- CATEGORIES

 

function tep_show_category($counter) {

global $tree, $categories_string, $cPath_array;

 

if(!$tree[$counter]['level']){

 

$categories_string .= $categories_string ? '<tr><td height=1 style="padding-left: 20px"><img src=images/m30.gif width=168 height=1 border=0></td></tr><tr><td height=4></td></tr>' : '';

 

$categories_string .= '<tr><td style="padding-left: 23px"><img src=images/m29.gif width=6 height=5 border=0 align=absmiddle><span class=ch3></span><a class=ml3 href=';

 

if ($tree[$counter]['parent'] == 0) {

$cPath_new = 'cPath=' . $counter;

} else {

$cPath_new = 'cPath=' . $tree[$counter]['path'];

}

$categories_string .= tep_href_link('index.php', $cPath_new) . '>';

// display categry name

$categories_string .= $tree[$counter]['name'];

$categories_string .= '</a></td></tr><tr><td height=4></td></tr> ';

 

}else{ // SUBCATEGORY

 

$categories_string .= '<tr><td style="padding-left: 23px"><img src=images/m29.gif width=6 height=5 border=0 align=absmiddle><span class=ch3></span>';

 

for($i=0;$i<$tree[$counter]['le vel'];$i++)

$categories_string .= '     ';

 

$categories_string .= '    <a class=ml3 style="font-weight:normal;" href=';

if ($tree[$counter]['parent'] == 0) {

$cPath_new = 'cPath=' . $counter;

} else {

$cPath_new = 'cPath=' . $tree[$counter]['path'];

}

$categories_string .= tep_href_link('index.php', $cPath_new) . '>-';

// display category name

$categories_string .= $tree[$counter]['name'];

$categories_string .= '</a></td></tr><tr><td height=4></td></tr>';

}

 

if ($tree[$counter]['next_id'] != false) {

tep_show_category($tree[$counter]['next_id']);

}

}

 

 

 

define(TABLE_CATEGORIES, "categories");

define(TABLE_CATEGORIES_DESCRIPTION, "categories_description");

$categories_string = '';

$tree = array();

 

$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$languages_id ."' order by sort_order, cd.categories_name");

while ($categories = tep_db_fetch_array($categories_query)) {

$tree[$categories['categories_id']] = array('name' => $categories['categories_name'],

'parent' => $categories['parent_id'],

'level' => 0,

'path' => $categories['categories_id'],

'next_id' => false);

 

if (isset($parent_id)) {

$tree[$parent_id]['next_id'] = $categories['categories_id'];

}

 

$parent_id = $categories['categories_id'];

 

if (!isset($first_element)) {

$first_element = $categories['categories_id'];

}

}

 

//------------------------

if ($cPath) {

$new_path = '';

reset($cPath_array);

while (list($key, $value) = each($cPath_array)) {

unset($parent_id);

unset($first_id);

$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$value . "' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$languages_id ."' order by sort_order, cd.categories_name");

if (tep_db_num_rows($categories_query)) {

$new_path .= $value;

while ($row = tep_db_fetch_array($categories_query)) {

$tree[$row['categories_id']] = array('name' => $row['categories_name'],

'parent' => $row['parent_id'],

'level' => $key+1,

'path' => $new_path . '_' . $row['categories_id'],

'next_id' => false);

 

if (isset($parent_id)) {

$tree[$parent_id]['next_id'] = $row['categories_id'];

}

 

$parent_id = $row['categories_id'];

 

if (!isset($first_id)) {

$first_id = $row['categories_id'];

}

 

$last_id = $row['categories_id'];

}

$tree[$last_id]['next_id'] = $tree[$value]['next_id'];

$tree[$value]['next_id'] = $first_id;

$new_path .= '_';

} else {

break;

}

}

}

$categories_string .= '';

tep_show_category($first_element);

$categories_string .= '';

 

echo $categories_string;

?>

 

 

 

 

<tr><td><img src=images/m31.gif width=216 height=23 border=0></td></tr>

</table>

</td></tr>

</table>

</td>

<td width=2></td>

<td width=488 valign=top>

 

 

 

 

Something is missing but what I was looked bout 10 times

 

 

I was replace this

 

 

<!--






-->


 

 

 

with this

 

 

<!--

 

 

 

 

<? // ---- MANUFACTURERS

 

 

$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)) {

 

echo '<table cellspacing=0 cellpadding=0 width=177 align=center> '.

tep_draw_form('manufacturers', tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false), 'get')

.' <tr><td colspan=2><b>Search by manufacturers:</b></td></tr>

<tr><td height=2 colspan=2></td></tr>

<tr><td colspan=2>

';

 

$manufacturers_array = array();

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);

}

 

echo 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 . '" class=se1') . tep_hide_session_id();

echo ' </td>

</form>

</table>

';

}

 

?>

 

 

-->

 

 

 

That is the code from osCommerce but still not work

 

 

Please help

 

I am not so good with PHP

 

Thank you in advance

Nikolay :rolleyes:

Posted
Hi there, I get this also in my website at http://www.hifigear.co.nz

 

Please help

 

 

Same template same bug

 

 

What we have to do now nobody wants to help us

 

I hope soon somebody take care of us

 

That is in header.php but what missing :'(

 

I'm still looking on it

 

Nikolay :rolleyes:

Archived

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

×
×
  • Create New...