Jump to content
Latest News: (loading..)

phi148

Members
  • Content count

    241
  • Joined

  • Last visited

  • Days Won

    1

phi148 last won the day on December 29 2017

phi148 had the most liked content!

About phi148

  • Birthday 01/01/2006

Profile Information

Recent Profile Visitors

11,725 profile views
  1. phi148

    ULTIMATE Seo Urls 5 - by FWR Media

    | Id | User | Host | db | Command | Time | State | Info | +------+------------------+-----------+------------------+---------+------+---------------------------------+------------------------------------------------------------------------------------------------------+ | 1330 | xxx | localhost | xxx | Query | 1 | Waiting for table metadata lock | TRUNCATE `usu_cache` | | 1331 | xxx | localhost | xxx | Query | 1 | checking permissions | TRUNCATE `usu_cache` | | 1332 | xxx | localhost | xx | Query | 1 | Waiting for table metadata lock | TRUNCATE `usu_cache` Hey all I'm running into alot of metadata locks with my SQL database (you can see above what I'm talking about). I went and looked and the "usu_cache" table is empty. Is this even used?
  2. Is this module compatible with OSC edge (bootstrap)? Is this also still supported?
  3. I'm really shocked this doesn't appear to have been implemented. For example, I have a Widget. The model # for the widget changes with color. Widget (green) = Model 111 Widget (black) = Model 112 Widget (red) = Model 113 It would be great to just list 1 widget and then the model number change based on the color selected. Right now I have to manually change the model # before I send in the order to my vendor. A real PITA.
  4. phi148

    Store Search Bar (BS)

    I really like this search feature, except for 1 thing. It auto-selects the first item in the search results that appear below the search window. I'd rather not have any of them autoselected, so if the user just clicks "enter" it will automatically do an advanced_search rather than always picking the first item below the search box. Any idea how to change the code to do that?
  5. phi148

    Store Search Bar (BS)

    I found the problem. "Mod_Evasive" must be turned off in the apache settings. However, this is a bad thing, as mod_evasive helps to prevent DDOS attacks!
  6. phi148

    Store Search Bar (BS)

    [Sat Jul 21 20:35:39.370816 2018] [:error] [pid 14534:tid 139761074984704] [client xx.xx.xx.xx:62135] client denied by server configuration: /home/xxx/public_html/ext/modules/content/header/store_search/content_searches.php, referer: https://www.mysite.com/ I get the above error in my server logs. When I click on the item that appears in the search box.
  7. phi148

    Store Search Bar (BS)

    It is on a live site, so I disabled it until I can find out why I'm getting the 403 forbidden errors.
  8. phi148

    Store Search Bar (BS)

    Thanks for the add-on! I have something odd happening, the search appears to work, I see a listing of the products being populated when I type. However, when I click on the item I want to visit, I get a HTTP Forbidden error returned. I assume it may be something in my .htaccess ? I have cross site scripting disabled maybe that is doing it? I'm really not sure what would cause the forbidden. The URL looks correct.
  9. Funny, I was just searching on this EXACT same topic today. I"m highly interested as well!
  10. phi148

    View Counter

    Hi Jack, Today a hacker tried to use SQL injection on me. I received an email from view_counter telling me what IP to ban. However, then I noticed my website was down due to a change in the .htaccess file that view_counter made. The .htaccess file had this: deny from And that was all! Hence, my server raised an internal server error. Once I deleted the "deny from" it worked fine again. The email that was sent to me did have the IP address, so I went ahead and manually banned it. Do you know what went wrong here? Thanks
  11. Thank you. That makes sense. However, shouldn't the home page have a canonical link? The current code does NOT provide a canonical link for your homepage...
  12. So I was updating SEO on my site and then I noticed my main home page doesn't have a canonical link. I also noticed that category pages that contain more subcategories also do not have a canonical link. The code below from / includes/modules/header_tags/ht_canonical.php is what creates the canonical link. Can someone explain to me why the main index.php page and categories that don't have products are not included in this code? I would think they would still need canonical links.... function execute() { global $PHP_SELF, $cPath, $oscTemplate, $category_depth; if (basename($PHP_SELF) == 'product_info.php') { $oscTemplate->addBlock('<link rel="canonical" href="' . tep_href_link('product_info.php', 'products_id=' . (int)$_GET['products_id'], 'NONSSL', false) . '" />' . PHP_EOL, $this->group); } elseif (basename($PHP_SELF) == 'index.php') { if (isset($cPath) && tep_not_null($cPath) && ($category_depth == 'products')) { $oscTemplate->addBlock('<link rel="canonical" href="' . tep_href_link('index.php', 'view=all&cPath=' . $cPath, 'NONSSL', false) . '" />' . PHP_EOL, $this->group); } elseif (isset($_GET['manufacturers_id']) && tep_not_null($_GET['manufacturers_id'])) { $oscTemplate->addBlock('<link rel="canonical" href="' . tep_href_link('index.php', 'view=all&manufacturers_id=' . (int)$_GET['manufacturers_id'], 'NONSSL', false) . '" />' . PHP_EOL, $this->group); } } else { $view_all_pages = array('products_new.php', 'specials.php'); if (in_array(basename($PHP_SELF), $view_all_pages)) { $oscTemplate->addBlock('<link rel="canonical" href="' . tep_href_link($PHP_SELF, 'view=all', 'NONSSL', false) . '" />' . PHP_EOL, $this->group); } } }
  13. So I was updating SEO on my site and then I noticed my main home page doesn't have a canonical link. I also noticed that category pages that contain more subcategories also do not have a canonical link. The code below from / includes/modules/header_tags/ht_canonical.php is what creates the canonical link. Can someone explain to me why the main index.php page and categories that don't have products are not included in this code? I would think they would still need canonical links.... function execute() { global $PHP_SELF, $cPath, $oscTemplate, $category_depth; if (basename($PHP_SELF) == 'product_info.php') { $oscTemplate->addBlock('<link rel="canonical" href="' . tep_href_link('product_info.php', 'products_id=' . (int)$_GET['products_id'], 'NONSSL', false) . '" />' . PHP_EOL, $this->group); } elseif (basename($PHP_SELF) == 'index.php') { if (isset($cPath) && tep_not_null($cPath) && ($category_depth == 'products')) { $oscTemplate->addBlock('<link rel="canonical" href="' . tep_href_link('index.php', 'view=all&cPath=' . $cPath, 'NONSSL', false) . '" />' . PHP_EOL, $this->group); } elseif (isset($_GET['manufacturers_id']) && tep_not_null($_GET['manufacturers_id'])) { $oscTemplate->addBlock('<link rel="canonical" href="' . tep_href_link('index.php', 'view=all&manufacturers_id=' . (int)$_GET['manufacturers_id'], 'NONSSL', false) . '" />' . PHP_EOL, $this->group); } } else { $view_all_pages = array('products_new.php', 'specials.php'); if (in_array(basename($PHP_SELF), $view_all_pages)) { $oscTemplate->addBlock('<link rel="canonical" href="' . tep_href_link($PHP_SELF, 'view=all', 'NONSSL', false) . '" />' . PHP_EOL, $this->group); } } }
  14. phi148

    Multi_Vendor_Shipping new thread

    I do have it operational after working with @Demitry on merging all the changes in. I think that Demitry may have been packaging up the changes to post an update to the community. I'm not sure if he has that ready yet or not. If not, it just takes patience, testing and merging ... but it does work :) I think MVS should be part of the base OSCommerce package in my opinion!
  15. phi148

    View Counter

    Well, all the tables are UTF8_UNICODE_CI ... so I guess I don't need to convert? I did notice that all my tables use a different engine than the view_counter tables. (MyISAM vs InnoDB) not sure if that matters.. I tried a repair on those tables, and I received this response: "The storage engine for the table doesn't support repair" Thanks!
×