Jump to content

sijo

Members
  • Content count

    268
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by sijo

  1. sijo

    SiteMonitor

    And this is where it exactly stops: $aSubFiles = rglob($sSubDir, $sPattern, $nFlags); Any clue?
  2. sijo

    SiteMonitor

    I am getting close now. This is where it stops on my system: (in sitemonitor_functions.php) $aFiles = rglob($dir, '*'); //get all files and directories Seems like my system dont like your rglob function?
  3. sijo

    SiteMonitor

    I went back to v1.9 and the "Manually Check for Hacked Files" works fine.. Back to v2.1.....
  4. sijo

    SiteMonitor

    I will try to investigate it when I get time.. PHP version: 5.2.13 (Zend: 2.2.0)
  5. sijo

    SiteMonitor

    When I click the bottom update button..
  6. sijo

    SiteMonitor

    I cant find any error logged. Here is what I get trying to use "Manually Check for Hacked Files" (in IE): Translated: This site can not be viewed in Internet Explorer You can try this: 'Diagnose Connection Problems' More information Any idea?
  7. sijo

    SiteMonitor

    Using "Manually Check for Hacked Files" come up with a blank page and no error. Tried in both IE & FF. I have put this in admin/includes/functions/sitemonitor_functions.php at line 874 to have a 'Back' button: echo '<td><input type=button value="Back" onClick="history.go(-1)"/></td>'; Just in case someone would like that..
  8. sijo

    SiteMonitor

    Ok, I'll wait for the next upload..
  9. sijo

    SiteMonitor

    The new version is timing out. Trying to use the Exclude Selector are not saving the excluded folders?. They show up in the Exclude List, but when I leave the Configure area and then go back again, they are all gone except for those folders manualy saved in the sitemonitor_configure.php Any ideas?
  10. sijo

    osCommerce VTS

    I have the same report for this file, no problem. But to be sure, compare it with the original one. These files I dont know since it is a contribution I dont use. You should compare these files with the original ones to see if there is any changes that sould not be in them.
  11. sijo

    osCommerce VTS

    Here is your updated header.php file. I have inserted the code for osCommerce VTS in it: <?php /* $Id: header.php 3 2006-05-27 04:59:07Z user $ osCMax Power E-Commerce [url="http://oscdox.com"]http://oscdox.com[/url] Copyright 2006 osCMax2005 osCMax, 2002 osCommerce Released under the GNU General Public License */ if ($messageStack->size > 0) { echo $messageStack->output(); } ?> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><?php echo '<a href="http://www.oscmax.com">' . tep_image(DIR_WS_IMAGES . 'oscmax-logo.png', 'osCMax v2.0', '85', '80') . '</a>'; ?></td> <td align="right"><?php echo '<a href="http://www.oscmax.com/" target="_blank">' . tep_image(DIR_WS_IMAGES . 'header_support.gif', HEADER_TITLE_SUPPORT_SITE, '50', '50') . '</a> <a href="' . tep_catalog_href_link() . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_ONLINE_CATALOG, '53', '50') . '</a> <a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_administration.gif', HEADER_TITLE_ADMINISTRATION, '50', '50') . '</a>'; ?> </td> </tr> <tr class="headerBar"> <?php /* BOF: MOD - Admin Security */ ?> <?php /* old- <td class="headerBarContent"> <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_TOP . '</a>'; ?></td> */ ?> <?php /* old- <td class="headerBarContent" align="right"><?php echo '<a href="http://www.oscmax.com" class="headerLink">' . HEADER_TITLE_SUPPORT_SITE . '</a> | <a href="' . tep_catalog_href_link() . '" class="headerLink">' . HEADER_TITLE_ONLINE_CATALOG . '</a> | <a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_ADMINISTRATION . '</a>'; ?> </td> */ ?> <td class="headerBarContent"> <?php if (tep_session_is_registered('login_id')) { echo '<a href="' . tep_href_link(FILENAME_ADMIN_ACCOUNT, '', 'SSL') . '" class="headerLink">' . HEADER_TITLE_ACCOUNT . '</a> | <a href="' . tep_href_link(FILENAME_LOGOFF, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_LOGOFF . '</a>'; } else { echo '<a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_TOP . '</a>'; } ?> <!--osCommerce Virus & Threat Scan --> <?php echo ' | <a href="AV/' . 'index.php" class="headerLink">' . 'Virus & Threat Scan'; ?> <!--osCommerce Virus & Threat Scan --> </td> <td class="headerBarContent" align="right"><?php echo ' <a href="https://www.oscmax.com/" target="_blank" class="headerLink">osCMax.com</a> | <a href="http://shop.oscmax.com" class="headerLink">' . HEADER_TITLE_OSCDOX . '</a> | <a href="' . tep_catalog_href_link() . '" class="headerLink">' . HEADER_TITLE_ONLINE_CATALOG . '</a> | <a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_ADMINISTRATION . '</a>'; ?> </td> <?php /* EOF: MOD - Admin Security */ ?> </tr> </table> Hope this help. Remeber to BACKUP before you do any changes on your site!
  12. sijo

    osCommerce VTS

    e.g. You can configure the program where you want it to start scan: $CONFIG['scanpath'] = $_SERVER['DOCUMENT_ROOT']; or $CONFIG['scanpath'] = $_SERVER['DOCUMENT_ROOT']."/catalog"; You have to set file permission to 755 or lower See my reply on your next message..
  13. The only true wisdom is in knowing you know nothing

  14. sijo

    ULTIMATE Seo Urls 5 - by FWR Media

    Admin Configuration Seo Urls 5 Turn debug reporting on true/false
  15. If you are going to only use the languages for Spain and India, then yes.. Then you update the language files for Spain and India instead of the English ones..
  16. Log in to Admin Choose Localization Choose Languages There you can delete languages, insert new languages and set one language as default..
  17. sijo

    Who's Online Enhancement 1.4

    I have just reuploaded a new zip to the contribution. It will take some time to show up because of: "As the filesize is over 300k, it will be manually approved before becoming publicly available."
  18. Do you have a path that says Backup files/includes/ ? I have this in my application_top.php : // include server parameters require('includes/configure.php');
  19. sijo

    Imprint Text Options

    In my case there is nothing written to the database, and I have looked over the code several times now. I think I have found something that maybe causes this. Please correct me if I'm wrong: In my checkout_confirmation.php I have this piece of code: if (isset($$payment->form_action_url)) { $form_action_url = $$payment->form_action_url; } else { $form_action_url = tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL'); } echo tep_draw_form('checkout_confirmation', $form_action_url, 'post'); What I understand from this is that if I pay with Paypal then the first $form_action_url is used. If I dont use a payment form then checkout_process.php is executed. Am I right so far? In my case a customer is sent to paypal_standard.php and NOT checkout_process.php Since the code for denuz - Imprint for writing to the database is in checkout_process.php then nothing is written to the database. My question is: Can I implement the two pieces of Imprint code in checkout_process.php into paypal_standard.php ? This is where I have implemented the code in paypal_standard.php, but not activated it: First piece: tep_db_perform(TABLE_ORDERS_PRODUCTS, $sql_data_array); $order_products_id = tep_db_insert_id(); // denuz text attr /* $attr_q = tep_db_query("select * from customers_basket_text_attributes where session_id = '$osCsid' and products_id = " . tep_get_prid($order->products[$i]['id'])); while ($attr = tep_db_fetch_array($attr_q)) { tep_db_query("insert into orders_text_attributes values ($insert_id, " . tep_get_prid($order->products[$i]['id']) . ", " . $attr['products_text_attributes_id'] . ", '" . $attr['products_text_attributes_text'] . "')"); } tep_db_query("delete from customers_basket_text_attributes where products_id = " . tep_get_prid($order->products[$i]['id']) . " and session_id = '" . $osCsid . "'"); */ // eof denuz text attr $attributes_exist = '0'; if (isset($order->products[$i]['attributes'])) { Second piece: $products_ordered_attributes .= "\n\t" . $attributes_values['products_options_name'] . ' ' . $attributes_values['products_options_values_name']; } } // denuz_arun text attr /* $pid_query = tep_db_query("select products_id from " . TABLE_PRODUCTS . " where products_model LIKE '" . tep_db_input($order->products[$i]['model']) . "'"); $pid = tep_db_fetch_array($pid_query); $denux_arunQry = "select ota.*, pta.products_text_attributes_name from orders_text_attributes as ota, products_text_attributes as pta where ota.orders_id = " . $insert_id. //$HTTP_GET_VARS['oID'] . " and ota.products_id = " . $pid['products_id'] . " and pta.products_text_attributes_id = ota.products_text_attributes_id"; //echo ; $attr_q = tep_db_query($denux_arunQry); $denux_arun_ =''; while ($attr = tep_db_fetch_array($attr_q)) { $denux_arun_ .= $attr['products_text_attributes_name'] . ': ' . stripslashes($attr['products_text_attributes_text'])."\n"; } */ // eof denuz_arun text attr //------insert customer choosen option eof ---- $total_weight += ($order->products[$i]['qty'] * $order->products[$i]['weight']); $total_tax += tep_calculate_tax($total_products_price, $products_tax) * $order->products[$i]['qty']; And this litle change: $products_ordered .= $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . ' (' . $order->products[$i]['model'] . ') = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "\n"; // denuz : //$products_ordered .= $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . ' (' . $order->products[$i]['model'] . ') = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "\n". $denux_arun_ . "\n"; Any help on this would be appreciated..
  20. sijo

    Imprint Text Options

    Yes I have...
  21. sijo

    Imprint Text Options

    I have tested here and this is what I've found: While doing a test order and reaching checkout_confirmation.php then osCommerce is writing its product attribs to the database. (Not ITO made attribs) ITO is writing its attribs to the database when reaching checkout_process.php ? This I cant test because I have to go through the whole Paypal payment process before checkout_process.php is executed and ITO attribs are written to the database? Am I right on this or...?
  22. sijo

    Imprint Text Options

    I have the same problem, and I have compared all files. ITO is working fine, but not showing attribs in admin area for orders, invoice and packing slip.
  23. sijo

    "Dynamenu" for osCommerce

    I'm trying to validate my catalog/index.php but code from Dynamenu gives me 12 errors bacause of the <div... tags: ********** Line 814, Column 84: document type does not allow element "DIV" here …id="L1" class="vertsubmenu" onmouseover="clearLMTO();" onmouseout="setLMTO();">The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed). One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error). ********** The actual line looks like this: <div id="L1" class="vertsubmenu" onmouseover="clearLMTO();" onmouseout="setLMTO();"> These div tags are used in the template files. Is there any way to fix this?
  24. sijo

    "Dynamenu" for osCommerce

    I'm trying to validate my catalog/index.php but code from Dynamenu gives me 12 errors bacause of the <div... tags: ********** Line 814, Column 84: document type does not allow element "DIV" here …id="L1" class="vertsubmenu" onmouseover="clearLMTO();" onmouseout="setLMTO();">The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed). One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error). ********** The actual line looks like this: <div id="L1" class="vertsubmenu" onmouseover="clearLMTO();" onmouseout="setLMTO();"> These div tags are used in the template files. Is there any way to fix this?
  25. The problem is most likely not on line 1184, but above. As spooke said, compare your files...
×