Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

shopping

Archived
  • Posts

    10
  • Joined

  • Last visited

Profile Information

  • Real Name
    Rene von Schmid

shopping's Achievements

  1. Hello Willross, Thank you for your suggestion to check the shop's file manager. Please see the result as under. As you can see it is the copy of the cached file dated 2005-10-01 ( which is the same file you can find through the internet). 21005-10-01 could well be the date that I installed the google sitemap program - I am not sure. Should not the file be indexed automatically to a more recent date every time I open it???? Or do I have to re-install the google sitemap program each time after I have made changes to the web shop????? What would have happened if I first installed Sef Lite and then google sitemap????? Thanks in advance Rene ------------------------------------------------------------------------- File manager: sitemapproducts.xml <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.google.com/schemas/sitemap/0.84"> <url> <loc>http://www.solera.nl/product45product_info.php?source=google</loc> <lastmod>2005-10-01</lastmod> <changefreq>weekly</changefreq> <priority>1.0</priority> </url> <url> <loc>http://www.solera.nl/product52product_info.php?source=google</loc> <lastmod>2005-10-01</lastmod> <changefreq>weekly</changefreq> <priority>0.1</priority> </url> <url> <loc>http://www.solera.nl/product53product_info.php?source=google</loc> <lastmod>2005-10-01</lastmod> <changefreq>weekly</changefreq> <priority>0.1</priority> </url> <url> <loc>http://www.solera.nl/product58product_info.php?source=google</loc> <lastmod>2005-10-01</lastmod> <changefreq>weekly</changefreq> <priority>0.1</priority> </url> <url> <loc>http://www.solera.nl/product51product_info.php?source=google</loc> <lastmod>2005-10-01</lastmod> <changefreq>weekly</changefreq> <priority>0.1</priority> </url> <url> <loc>http://www.solera.nl/product55product_info.php?source=google</loc> <lastmod>2005-10-01</lastmod> <changefreq>weekly</changefreq> <priority>0.1</priority> </url> </urlset>
  2. Hello Willross, You are probably right. I just have to wait for google to become re-indexed. I understand that this could take some time. Do you know when your SEF-X contrib will be released? Thanks Rene
  3. Thank you Willross, I have made the replacements you advised, but unfortunaletly the same result : Line 400 - 410 while( $result = $this->DB->FetchArray($products_query) ){ $top = max($top, $result['products_ordered']); $location = $this->hrefLink('product' . $result['pID'] . '/product_info.html', 'source=google', 'NONSSL', false); $lastmod = $this->NotNull($result['last_mod']) ? $result['last_mod'] : $result['date_added']; $changefreq = GOOGLE_SITEMAP_PROD_CHANGE_FREQ; $ratio = $top > 0 ? $result['products_ordered']/$top : 0; $priority = $ratio < .1 ? .1 : number_format($ratio, 1, '.', ''); $container[] = array('loc' => htmlspecialchars(utf8_encode($location)), 'lastmod' => date ("Y-m-d", strtotime($lastmod)), 'changefreq' => $changefreq, Line 440-450 ORDER BY parent_id ASC, sort_order ASC, categories_id ASC"; if ( $categories_query = $this->DB->Query($sql) ){ $this->debug['QUERY']['CATEOGRY']['STATUS'] = 'success'; $this->debug['QUERY']['CATEOGRY']['NUM_ROWS'] = $this->DB->NumRows($categories_query); $container = array(); $number = 0; while( $result = $this->DB->FetchArray($categories_query) ){ $location = $this->hrefLink('category' . $this->GetFullcPath($result['cID']) . '/index.html', 'source=google', 'NONSSL', false); $lastmod = $this->NotNull($result['last_mod']) ? $result['last_mod'] : $result['date_added']; $changefreq = GOOGLE_SITEMAP_CAT_CHANGE_FREQ; $priority = .5; http://www.solera.nl/sitemapproducts.xml ?xml version="1.0" encoding="UTF-8" ?> - <urlset xmlns="http://www.google.com/schemas/sitemap/0.84"> - <url> <loc>http://www.solera.nl/product45product_info.php?source=google</loc> <lastmod>2005-10-01</lastmod> <changefreq>weekly</changefreq> <priority>1.0</priority> </url> - <url> <loc>http://www.solera.nl/product52product_info.php?source=google</loc> <lastmod>2005-10-01</lastmod> <changefreq>weekly</changefreq> <priority>0.1</priority> </url> - <url> <loc>http://www.solera.nl/product53product_info.php?source=google</loc> <lastmod>2005-10-01</lastmod> <changefreq>weekly</changefreq> <priority>0.1</priority> </url> - <url> <loc>http://www.solera.nl/product58product_info.php?source=google</loc> <lastmod>2005-10-01</lastmod> <changefreq>weekly</changefreq> <priority>0.1</priority> </url> - <url> <loc>http://www.solera.nl/product51product_info.php?source=google</loc> <lastmod>2005-10-01</lastmod> <changefreq>weekly</changefreq> <priority>0.1</priority> </url> - <url> <loc>http://www.solera.nl/product55product_info.php?source=google</loc> <lastmod>2005-10-01</lastmod> <changefreq>weekly</changefreq> <priority>0.1</priority> </url> </urlset> I just wonder: Should not the lost month date change to 2005-10-16 Thanks Rene
  4. Hello Willross, Thanks for your reaction. I have reviewd the 2 sections of the update and it seems to be OK. Line 400 - 410 looks like this: \ while( $result = $this->DB->FetchArray($products_query) ){ $top = max($top, $result['products_ordered']); $location = $this->hrefLink('product' . $result['pID'] . FILENAME_PRODUCT_INFO, 'source=google', 'NONSSL', false); $lastmod = $this->NotNull($result['last_mod']) ? $result['last_mod'] : $result['date_added']; $changefreq = GOOGLE_SITEMAP_PROD_CHANGE_FREQ; $ratio = $top > 0 ? $result['products_ordered']/$top : 0; $priority = $ratio < .1 ? .1 : number_format($ratio, 1, '.', ''); $container[] = array('loc' => htmlspecialchars(utf8_encode($location)), 'lastmod' => date ("Y-m-d", strtotime($lastmod)), 'changefreq' => $changefreq, Line 440 - 450 lookes like this: ORDER BY parent_id ASC, sort_order ASC, categories_id ASC"; if ( $categories_query = $this->DB->Query($sql) ){ $this->debug['QUERY']['CATEOGRY']['STATUS'] = 'success'; $this->debug['QUERY']['CATEOGRY']['NUM_ROWS'] = $this->DB->NumRows($categories_query); $container = array(); $number = 0; while( $result = $this->DB->FetchArray($categories_query) ){ $location = $this->hrefLink('category' . $this->GetFullcPath($result['cID']) . FILENAME_DEFAULT, 'source=google', 'NONSSL', false); $lastmod = $this->NotNull($result['last_mod']) ? $result['last_mod'] : $result['date_added']; $changefreq = GOOGLE_SITEMAP_CAT_CHANGE_FREQ; $priority = .5; The result in http://www.solera.nl/sitemapproducts.xml <?xml version="1.0" encoding="UTF-8" ?> - <urlset xmlns="http://www.google.com/schemas/sitemap/0.84"> - <url> <loc>http://www.solera.nl/product45product_info.php?source=google</loc> <lastmod>2005-10-01</lastmod> <changefreq>weekly</changefreq> <priority>1.0</priority> </url> - <url> <loc>http://www.solera.nl/product52product_info.php?source=google</loc> <lastmod>2005-10-01</lastmod> <changefreq>weekly</changefreq> <priority>0.1</priority> </url> - <url> <loc>http://www.solera.nl/product53product_info.php?source=google</loc> <lastmod>2005-10-01</lastmod> <changefreq>weekly</changefreq> <priority>0.1</priority> </url> - <url> <loc>http://www.solera.nl/product58product_info.php?source=google</loc> <lastmod>2005-10-01</lastmod> <changefreq>weekly</changefreq> <priority>0.1</priority> </url> - <url> <loc>http://www.solera.nl/product51product_info.php?source=google</loc> <lastmod>2005-10-01</lastmod> <changefreq>weekly</changefreq> <priority>0.1</priority> </url> - <url> <loc>http://www.solera.nl/product55product_info.php?source=google</loc> <lastmod>2005-10-01</lastmod> <changefreq>weekly</changefreq> <priority>0.1</priority> </url> </urlset> Please let me know if you need more info. Thanks in advance Rene
  5. I am using SEF Link Transformer for osCommerce Version: Lite 0.8.0 Alpha and installed (with thanks) above update. However, on checking the sitemapproducts.xml page I am just wondering if this is the way it should display? As it is still displaying the default osC names and not the SEF link (product) names. Example: <urlset> - <url> - <loc> http://www.solera.nl/product_info.php?products_id=45 </loc> <lastmod>2005-10-01</lastmod> <changefreq>weekly</changefreq> <priority>1.0</priority> </url> Please advise Thanks in advance Rene
  6. I have one other question: What should I do with BTS/index. I haven't found any instructions in the manual Thanks in advance Rene
  7. After installing Search Eingine Friendly URL 1.8 I seem to have last control over some other contrib's installed before. 1). Dynamic Product Meta Tags version 2.5 The Meta Tags stopped showing in the blue ie explorer and Mozilla Fire fox bar. 2). Prod Attrib Sort The possiblility to sort products stopped functioning and the product is now showing in random order again. 3). The product page is empty. The only way customer can touch product is through the index(head) page. 4). Where exactly do I insert this code. There seem to be more possibiliies Before code } (around line 956) add this code @unlink(DIR_FS_CACHE . 'url.cache'); Note: This should be the at the end of the tep_reset_cache_block function Can anyone help me with these issues please????
  8. Maybe this problem has already been discussed but I haven't found the answer yet. I have installed the Visitor contrib and everything seems to be working fine on my system. But I have 3 plus 2 warnings in my admin/visitors screen. (see under). After hitting the refresh button all warnings disappear from the visitors screen, but at the same time I find to have 2 plus 2 other warnings in the other reports screens. ( see at the bottom of this message). I have checked sessions.php for spaces before an after <? and ?>. Can anyone help?? Thanks in advance Rene -------------------------------------------------------------------------------------------------------------------------------- Warning: session_start(): open(/data/session/sess_f44767654eb301d7f839bd7e518a005c, O_RDWR) failed: Permission denied (13) in /data/members/paid/r/e/renevit.com/htdocs/www/admin/includes/functions/sessions.php on line 66 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /data/members/paid/r/e/renevit.com/htdocs/www/admin/includes/functions/sessions.php:66) in /data/members/paid/r/e/renevit.com/htdocs/www/admin/includes/functions/sessions.php on line 66 Warning: Cannot modify header information - headers already sent by (output started at /data/members/paid/r/e/renevit.com/htdocs/www/admin/includes/functions/sessions.php:66) in /data/members/paid/r/e/renevit.com/htdocs/www/admin/visitors.php on line 62 <?php /* $Id: sessions.php,v 1.9 2003/06/23 01:20:05 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ if (STORE_SESSIONS == 'mysql') { if (!$SESS_LIFE = get_cfg_var('session.gc_maxlifetime')) { $SESS_LIFE = 1440; } function _sess_open($save_path, $session_name) { return true; } function _sess_close() { return true; } function _sess_read($key) { $qid = tep_db_query("select value from " . TABLE_SESSIONS . " where sesskey = '" . tep_db_input($key) . "' and expiry > '" . time() . "'"); $value = tep_db_fetch_array($qid); if ($value['value']) { return $value['value']; } return false; } function _sess_write($key, $val) { global $SESS_LIFE; $expiry = time() + $SESS_LIFE; $value = $val; $qid = tep_db_query("select count(*) as total from " . TABLE_SESSIONS . " where sesskey = '" . tep_db_input($key) . "'"); $total = tep_db_fetch_array($qid); if ($total['total'] > 0) { return tep_db_query("update " . TABLE_SESSIONS . " set expiry = '" . tep_db_input($expiry) . "', value = '" . tep_db_input($value) . "' where sesskey = '" . tep_db_input($key) . "'"); } else { return tep_db_query("insert into " . TABLE_SESSIONS . " values ('" . tep_db_input($key) . "', '" . tep_db_input($expiry) . "', '" . tep_db_input($value) . "')"); } } function _sess_destroy($key) { return tep_db_query("delete from " . TABLE_SESSIONS . " where sesskey = '" . tep_db_input($key) . "'"); } function _sess_gc($maxlifetime) { tep_db_query("delete from " . TABLE_SESSIONS . " where expiry < '" . time() . "'"); return true; } session_set_save_handler('_sess_open', '_sess_close', '_sess_read', '_sess_write', '_sess_destroy', '_sess_gc'); } function tep_session_start() { return session_start(); } function tep_session_register($variable) { return session_register($variable); } function tep_session_is_registered($variable) { return session_is_registered($variable); } function tep_session_unregister($variable) { return session_unregister($variable); } function tep_session_id($sessid = '') { if ($sessid != '') { return session_id($sessid); } else { return session_id(); } } function tep_session_name($name = '') { if ($name != '') { return session_name($name); } else { return session_name(); } } function tep_session_close() { if (function_exists('session_close')) { return session_close(); } } function tep_session_destroy() { return session_destroy(); } function tep_session_save_path($path = '') { if ($path != '') { return session_save_path($path); } else { return session_save_path(); } } ?> Warning: Unknown(): open(/data/session/sess_f44767654eb301d7f839bd7e518a005c, O_RDWR) failed: Permission denied (13) in Unknown on line 0 Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/data/session) in Unknown on line 0 ================================================================================ ===================================================================== Warning: session_start(): open(/data/session/sess_573d8aa251e4a9e0770fabc5c55ebafe, O_RDWR) failed: Permission denied (13) in /data/members/paid/r/e/renevit.com/htdocs/www/admin/includes/functions/sessions.php on line 66 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /data/members/paid/r/e/renevit.com/htdocs/www/admin/includes/functions/sessions.php:66) in /data/members/paid/r/e/renevit.com/htdocs/www/admin/includes/functions/sessions.php on line 66 Warning: Unknown(): open(/data/session/sess_573d8aa251e4a9e0770fabc5c55ebafe, O_RDWR) failed: Permission denied (13) in Unknown on line 0 Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/data/session) in Unknown on line 0
×
×
  • Create New...