Jump to content

badbo

Members
  • Content count

    196
  • Joined

  • Last visited

Everything posted by badbo

  1. Whenever you've got a problem like this, the cause is always somewhere above it... Check above for any code you may have added to the shopping_cart.php. Look around line 209 to 226
  2. badbo

    ULTIMATE Seo Urls 5 - by FWR Media

    The last four templatemonster template I worked on had some awful looking code. Worked ok unless you wanted to add a mod and most of the time ever mod I tried broke them, not just yours. Wish they would write their code a little better. LOL!!!!!
  3. badbo

    ULTIMATE Seo Urls 5 - by FWR Media

    Robert I was just wondering about this statement-No USU5 can be used in rewrite mode on linux or Windows servers. I use them all the time on my Linux 2.6.18-92.1.22.el5PAE.Thanks Robert
  4. badbo

    ULTIMATE Seo Urls 5 - by FWR Media

    We go buy our self a template monster template and it sure is nice looking. Then we decide to add some seo like Seo Urls5 by Robert and it is a super one. We make the modifications to the files and upload the new files. The install went great because of the easy to install instruction. Then you hit a category link and it just redirects back to the index.php. Find this in /includes/header.php print("<script type='text/javascript'>window.location='index.php';</script>"); Replace with //print("<script type='text/javascript'>window.location='index.php';</script>"); Everything looks great then you hit the details button and all you see is product not found. By this time your brain is dead. Find in products_new.php,new_products.php and products_listing.php,specials.php and maybe a few others. tep_href_link('product_info.php?products_id='.$p_id) Replace with tep_href_link( FILENAME_PRODUCT_INFO, 'products_id=' . $p_id ) Find tep_href_link("products_new.php","action=buy_now&products_id=".$p_id) Replace with tep_href_link( FILENAME_PRODUCTS_NEW, 'action=buy_now&products_id=' . $p_id ) I just though I would put this all in the same place so others will not have to look for it. I still haven't sorted out why the specials.php still shows product not found, but I am working on it. I will post when I find the solution.
  5. badbo

    ULTIMATE Seo Urls 5 - by FWR Media

    Robert standard or rewrite it acts the same. I will take a look for the javascript. It looked like a redirect to me but haven't been able to find it. I will keep looking. Thanks
  6. badbo

    ULTIMATE Seo Urls 5 - by FWR Media

    Robert this one may be beyond the scope for this one, but I will run it by you anyway. After installing Seo urls 5. Categories link loop back to the index.php. Details buttons loop back to index.php also. Hovering over categories with the mouse shows a good .html rewrite url and also the details buttons also show a good link. When clicked the rewrite url appears in the browser but only for a second, then back to the index.php. Details button in the special's windows shows a rewrite url but produces a product not found when clicked. Turned on debug but nothing shows on the index. Have checked manual edits three times. I have replaced the tep_href_link('product_info.php?products_id='.$p_id) and tep_href_link("products_new.php","action=buy_now&products_id=".$p_id) with the proper edits in the affected files. Lots of work done on this one but without your rewrite I will put it out to pasture. Thanks in advance http://miratowarehouse.com
  7. badbo

    ULTIMATE Seo Urls 5 - by FWR Media

    Thanks Robert, I will make a note of it so I can remember the next time I see it.
  8. badbo

    ULTIMATE Seo Urls 5 - by FWR Media

    This has happened to me the last three template I have added this too. I simply removed the details buttons from the pages, but working on one now that I need to keep the buttons. I don't have the code you have. It has been modified. It seems to happen only on the templates have a add to card button added. It seems to be here <td style="height:53px "><a href="' . tep_href_link('product_info.php?products_id='.$p_id) . '">'.tep_image_button("button_details.gif").'</a><br />'.tep_draw_separator('spacer.gif', '1', '3').'<br /><a href="'.tep_href_link("products_new.php","action=buy_now&products_id=".$p_id).'">'.tep_image_button('button_add_to_cart1.gif').'</a></td> I will try to sort it out and post if I find the answerBo
  9. badbo

    ULTIMATE Seo Urls 5 - by FWR Media

    First is it a template you are using are fresh install of oscommerce?
  10. badbo

    Ultimate Seo Urls 5 Pro

    I have tested rewrites on windows platform with IQ Proxy Server and IQ Web/FTP Server. The IQ Web/FTP Server is free and the Proxy is much cheaper than Helicon. No I don't sale any of them.Bo
  11. badbo

    ULTIMATE Seo Urls 5 - by FWR Media

    A server in this day and time that doesn't allow rewrite for seo. They need to close their doors. Pm me their name I want to take a look for myself I have never seen one.Bo
  12. badbo

    ULTIMATE Seo Urls 5 - by FWR Media

    My details buttons failed to work too after installing the seo, and I couldn't figure it out so I just removed the details. The image and product name takes it to the same place. probably not the right place for this,but for your second question look in the english.php.Bo
  13. badbo

    ULTIMATE Seo Urls 5 - by FWR Media

    That is not my code it is what you posted here on this site. I was only telling you you miss one of the steps in the application_top.php . instead of replacing // set php_self in the local scope if (!isset($PHP_SELF)) $PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF']; you added it before, // set php_self in the local scope this one is still on the file you posted here!!!!!!!!!!!!!!! if (!isset($PHP_SELF)) $PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF']; replace it with /** * USU5 function to return the base filename */ function usu5_base_filename() { // Probably won't get past SCRIPT_NAME unless this is reporting cgi location $base = new ArrayIterator( array( 'SCRIPT_NAME', 'PHP_SELF', 'REQUEST_URI', 'ORIG_PATH_INFO', 'HTTP_X_ORIGINAL_URL', 'HTTP_X_REWRITE_URL' ) ); while ( $base->valid() ) { if ( array_key_exists( $base->current(), $_SERVER ) && !empty( $_SERVER[$base->current()] ) ) { if ( false !== strpos( $_SERVER[$base->current()], '.php' ) ) { preg_match( '@[a-z0-9_]+\.php@i', $_SERVER[$base->current()], $matches ); if ( is_array( $matches ) && ( array_key_exists( 0, $matches ) ) && ( substr( $matches[0], -4, 4 ) == '.php' ) && ( is_readable( $matches[0] ) || ( false !== strpos( $_SERVER[$base->current()], 'ext/modules/' ) ) ) ) { return $matches[0]; } } } $base->next(); } // Some odd server set ups return / for SCRIPT_NAME and PHP_SELF when accessed as mysite.com (no index.php) where they usually return /index.php if ( ( $_SERVER['SCRIPT_NAME'] == '/' ) || ( $_SERVER['PHP_SELF'] == '/' ) ) { return 'index.php'; } trigger_error( 'USU5 could not find a valid base filename, please inform the developer.', E_USER_WARNING ); } // End function // set php_self in the local scope $PHP_SELF = usu5_base_filename();
  14. badbo

    ULTIMATE Seo Urls 5 - by FWR Media

    Reload the page and see if it disappears
  15. badbo

    ULTIMATE Seo Urls 5 - by FWR Media

    You missed a step in the application_top.php. You did not replace it you added it before Find: // set php_self in the local scope if (!isset($PHP_SELF)) $PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF']; replace with: /** * USU5 function to return the base filename */ function usu5_base_filename() { // Probably won't get past SCRIPT_NAME && ( substr( $matches[0], -4, 4 ) == '.php' ) && ( is_readable( $matches[0] ) || ( false !== strpos( $_SERVER[$base->current()], 'ext/modules/' ) ) ) ) { return $matches[0]; } } } $base->next(); } // Some odd server set ups return / for SCRIPT_NAME and PHP_SELF when accessed as mysite.com (no index.php) where they usually return /index.php if ( ( $_SERVER['SCRIPT_NA && ( substr( $matches[0], -4, 4 ) == '.php' ) && ( is_readable( $matches[0] ) || ( false !== strpos( $_SERVER[$base->current()], 'ext/modules/' ) ) ) ) { return $matches[0]; } } } $base->next(); } // Some odd server set ups return / for SCRIPT_NAME and PHP_SELF when accessed as mysite.com (no index.php) where they usually return /index.php if ( ( $_SERVER['SCRIPT_NAME'] == '/' ) || ( $_SERVER['PHP_SELF'] == '/' ) ) { return 'index.php'; } trigger_error( 'USU5 could not find a valid base filename, please inform the developer.', E_USER_WARNING ); } // End function // set php_self in the local scope $PHP_SELF = usu5_base_filename(); Bo
  16. badbo

    ULTIMATE Seo Urls 5 - by FWR Media

    Thanks Robert,let me know if I can have the source code and I will install it on a few sites. I have a few domains with no seo on them that I can install it on.Thanks Bo
  17. badbo

    ULTIMATE Seo Urls 5 - by FWR Media

    Hi Robert, I did not mean to imply that is was your code. I knew is was something I did or in the base code itself of the template. I have installed it to many times to know it was not your code. I found the error in the products_listing.php. The code to replace had two instance of it. I deleted one of them in the correct place and all is well. I would like to take a look at your professional version. i may want to purchase it if you will supply the url so I can take a look. Thanks for all Bo
  18. badbo

    ULTIMATE Seo Urls 5 - by FWR Media

    Thanks for looking. Sorry no other mods installed and installed your mod manually and did it three times to see if I had made an error. Loaded the template and then installed your mod only. it is probably in the code on the template but not a mod, none installed not even a shipping or payment mod. I will look at the code to see if I can find anythingThanks Bo
  19. badbo

    ULTIMATE Seo Urls 5 - by FWR Media

    After install hitting cat or products product from index>php produces error. Rewrite works fine. Fatal error: Call to undefined function tep_draw_heading_top_() in /home/gaston/public_html/includes/modules/product_listing.php on line 20 no products show Removing line 20 produces error Fatal error: Call to undefined function tep_draw_result_bottom() in /home/gaston/public_html/includes/modules/product_listing.php on line 245 all products show removing line 245 produces error Fatal error: Call to undefined function tep_draw_result_top() in /home/gaston/public_html/includes/modules/product_listing.php on line 246 removing line produces error Fatal error: Call to a member function add_current_page() on a non-object in /home/gaston/public_html/includes/application_top.php on line 344 removing line 344 produces Fatal error: Call to undefined function tep_draw_result_bottom() in /home/gaston/public_html/includes/modules/product_listing.php on line 253 removing line 253 everything works as should but all links are wide,except the index.php, have to scroll to see the whole page. As you can see I am just playing, never had this problem before and I have installed your mod several times. Thanks Bo
  20. badbo

    [Contribution] - USPS Methods

    Glad you found the problem. It sure is easy to miss steps. Bo
  21. badbo

    [Contribution] - USPS Methods

    Wesn did you double check for the correct zip code in your admin? Bo
  22. badbo

    Featured Product Support v1.5.4

    Did you run the sql on the database?
  23. badbo

    ULTIMATE Seo Urls 5 - by FWR Media

    No problem I will look for the problem and see what I can come up with. I have nothing to do at nights anyway. at age 60 I forget lots of things.Thanks Robert Bo
  24. badbo

    ULTIMATE Seo Urls 5 - by FWR Media

    I know what it means but have no clue where to change it. Thanks for your time Robert Bo
×