HobbesBS Posted April 11, 2013 Share Posted April 11, 2013 (edited) Hello Burt, i´m Setup a new store with any modifications and the categories are brand new. Have you seen my Problem? I don´t know, how the Categories not work. Links are ok, i think. the looks like : gift-c-28.html but, i only see what im my image above. greets Hobbes Edited April 11, 2013 by HobbesBS Quote Link to comment Share on other sites More sharing options...
Guest Posted April 16, 2013 Share Posted April 16, 2013 Hello! Installed and all seems to work with the exception of www.mysite.com/products_new.php/ which redirects me to www.mysite.com This is the same with all product links under "new products for month" & "what's new?" on the index.php pages. My .htaccess file does have AcceptPathInfo On Is there something else I am missing? Thanks! -Alex If you are using a 2.2 template from TemplateMonster it is a know issue. I added the cure for it some ways back. Quote Link to comment Share on other sites More sharing options...
roadkill Posted April 23, 2013 Share Posted April 23, 2013 Well this one turns out to be nice and easy .. good catch. It is some legacy code left over from development and is not needed at all. catalog/includes/modules/ultimate_seo_urls5/main/bootstrap.php Find ... private function uriModulesParsePath() { if ( !is_readable( Usu_Main::i()->getVar( 'page_modules_path' ) . Usu_Main::i()->getVar( 'filename' ) ) ) { return false; } $dependencies = Usu_Main::i()->getVar( 'page_modules', substr( Usu_Main::i()->getVar( 'filename' ), 0, -4 ) )->retrieveDependencies(); $uri_modules = Usu_Main::i()->getVar( 'uri_modules' ); foreach ( $uri_modules as $object ) { if ( false !== ( $object->isValidUri() ) ) { $object->parsePath(); } } } // end method Change to .. private function uriModulesParsePath() { if ( !is_readable( Usu_Main::i()->getVar( 'page_modules_path' ) . Usu_Main::i()->getVar( 'filename' ) ) ) { return false; } $uri_modules = Usu_Main::i()->getVar( 'uri_modules' ); foreach ( $uri_modules as $object ) { if ( false !== ( $object->isValidUri() ) ) { $object->parsePath(); } } } // end method Hello. The contribution works very well but I checked my error log and this is what I found out: PHP Fatal error: Call to a member function retrieveDependencies() on a non-object in /home/original/public_html/includes/modules/ultimate_seo_urls5/main/bootstrap.php on line 409 I read on oscommerce forum that error came from filename that contains "-" instead of " _" is there any way to find out what file is causing the problem ? and exclude that file. Another error: HP Fatal error: Call to a member function store() on a non-object in /home/original/public_html/includes/modules/ultimate_seo_urls5/main/usu5.php on line 78, referer: http I also checked this on forum and there was something similar but I don't now when the error triggers because usually rewrites work fine. I was experiencing this same problem and the solution was in the default index page on Windows iis Windows uses Index.php as default index page (with capital I) after changing to index.php with lower case this problem was solved (changed in iis manager). Maybe this can be changed into the code? Anyway, great contribution! careintilky 1 Quote Link to comment Share on other sites More sharing options...
MountainMan Posted April 25, 2013 Share Posted April 25, 2013 Am missing all images. This is a new install of USU5 on a modified Osc 2.3 Images disappeared after I chose to follow the directions to shorten the URL and modify .htaccess for rewrite. Funny thing is, that when the images first disappeared, I thought I had fixed it by changing settings in the admin. Then I installed KissMT Dynamic SEO Meta Tags and they disappeared again. Have tried uninstalling Meta Tags by disabling the line int template_top.php and deleting the directory from the server, but it didnt help. After installing KissMT Dynamic SEO Meta Tags, I never found any setup options on Admin...is this to be expected? Steve Quote Link to comment Share on other sites More sharing options...
MountainMan Posted April 25, 2013 Share Posted April 25, 2013 I lose all my images if I enable RewriteBase /catalog/ in .htaccess This happens even if I turn SEO off in admin. My images are in the standard location for OSC. Thanks Quote Link to comment Share on other sites More sharing options...
MountainMan Posted April 25, 2013 Share Posted April 25, 2013 (edited) I lose all my images if I enable RewriteBase /catalog/ in .htaccess This happens even if I turn SEO off in admin. My images are in the standard location for OSC. Thanks Found the source of the problem, but no solution yet. The boilerplate .htaccess I am using had a section of code for Adaptive Images. If I disable the next to the last line (RewriteRule \.(jpg|jpeg|gif|png) adaptive-images.php) my images come back. I would like to use Adaptive Images, so help would be appreciated, though I know this is no longer the forum for my particular issue. <IfModule mod_rewrite.c> Options +FollowSymlinks RewriteEngine On # ---------------------------------------------------------------------- # Adaptive Images # ---------------------------------------------------------------------- # Add any directories you wish to omit from the Adaptive-Images process on a new line, as follows: # RewriteCond %{REQUEST_URI} !some-directory # RewriteCond %{REQUEST_URI} !another-directory # RewriteCond %{REQUEST_URI} !assets # Send any GIF, JPG, or PNG request that IS NOT stored inside one of the above directories # to adaptive-images.php so we can select appropriately sized versions RewriteRule \.(jpg|jpeg|gif|png) adaptive-images.php </IfModule> Edited April 25, 2013 by MountainMan Quote Link to comment Share on other sites More sharing options...
newburns Posted April 26, 2013 Share Posted April 26, 2013 I just had an error. Any idea? PHP Fatal error: Call to a member function store() on a non-object in /catalog/includes/modules/ultimate_seo_urls5/main/usu5.php on line 78 Quote Link to comment Share on other sites More sharing options...
newburns Posted April 30, 2013 Share Posted April 30, 2013 (edited) @@FWR Media and everyone else New Problem. PHP Fatal error: Cannot redeclare usu5_base_filename() (previously declared in /catalog/includes/application_top.php:62) in /catalog/includes/application_top.php on line 82 Any Suggestions? PLEASE Edited April 30, 2013 by newburns Quote Link to comment Share on other sites More sharing options...
surrfman Posted May 2, 2013 Share Posted May 2, 2013 @@FWR Media is Ultimate SEO url 5 compatiable to run with the header tags SEO contribution. Any issues or problems that must be addressed? Thanks, Timmy C Quote Link to comment Share on other sites More sharing options...
BillyBunker Posted May 3, 2013 Share Posted May 3, 2013 Nope I want to talk about any issues that relate to the efficiency of USU5 without exception. Your problem is nothing to do with USU5. The code that redirects to cookie_usage.php is in application_top.php as follows: - if ($session_started == false) { tep_redirect(tep_href_link(FILENAME_COOKIE_USAGE)); } Therefore if no session is started you are 301 redirected to that file. If you care to look at this problem, you will find that, even though looking at your code we would expect a 404 not found error header to be sent to the browser when a page is not found, the header actually sent is a 302. You need to debug this, not fob people off. Quote Link to comment Share on other sites More sharing options...
filipbeunens Posted May 4, 2013 Share Posted May 4, 2013 Hi all, jus installed a oscommerce store on a Windows 2008 web edition machine. The store has following configuration: osCommerce 2.3.3 Mini template system 1.4.03_c Ultimate SEO url Security Pro Modular header tags Sitemap generator Whe I visit the shop root a got a white page with show error's on, this is the error: Fatal error: Call to a member function retrieveDependencies() on a non-object in C:\Inetpub\vhosts\tuinenverkest.be\httpdocs\winkel\includes\modules\ultimate_seo_urls5\uri_modules\osc_experimental.php on line 51 If I visit URL with index.php added the site is working fine If I disable Ultimate Seo Urls 5 site is also working fine without the index.php added but MTS banners are not loading Anyone that knows where to start looking to solve this Thanks Filip Quote Link to comment Share on other sites More sharing options...
ivok Posted May 4, 2013 Share Posted May 4, 2013 Hi, just wanted to ask this one question: I'm using OSC 2.3.3 - Add ons: Ultimate SEO Urls 5 and Modular Header Tags and I'm getting a lot of duplicate titles in Google Webmaster Tools, because of the "language=en" parameter. The shop is in English only. When I try to redirect the parameter language=en with htaccess it goes to product_info.php instead of the corresponding product. I think that Ultimate SEO Urls is somehow conflicting with it. Any ideas how to solve this problem? Thanks Quote Link to comment Share on other sites More sharing options...
Guest Posted May 5, 2013 Share Posted May 5, 2013 It is not a good idea to hack the code as there is no current issue with the code base. It looks like there is a quirk in your code that is causing the registry to destruct before the Usu_Main class. The following should eradicate the error you are seeing but it should not be necessary .. I can't however debug your local code. open the following file: - catalog/includes/modules/ultimate_seo_urls5/main/usu5.php Replace the entire __destruct() method with the following: - /** * Class destructor * * Stores the cache and outputs and performance data requested * * @[member='access'] public * @[member='Return'] void */ public function __destruct() { if ( defined( 'USU5_ENABLED' ) && ( USU5_ENABLED == 'true' ) ) { $registry = $this->getVar( 'registry' ); $cache = $this->getVar( 'cache' ); if ( $registry instanceof Data_Registry && $cache instanceof iCache_System ) { $cache->store( $registry->store() ); } if ( defined( 'USU5_OUPUT_PERFORMANCE' ) && ( USU5_OUPUT_PERFORMANCE == 'true' ) ) { performance(); } if ( defined( 'USU5_DEBUG_OUPUT_VARS' ) && ( USU5_DEBUG_OUPUT_VARS == 'true' ) ) { usu5_show_vars( $this->vars ); } } } // end destructor Searching the forum for a second time I came upon this fix for the security problem McAfee discovered. After implementing the new code I no longer see errors in my error log. PCI compliance is is very important. I hope this helps other people. McAfee and myself were able to recreate the problem at will anytime with relative ease. McAfee tested this query string to produce the error. osCsid=x%20 %20ls%20-l%20= %20dir%20= I was able to produce the same error with this query string "osCsid=x ls-". I hope this helps! Quote Link to comment Share on other sites More sharing options...
famaca Posted May 6, 2013 Share Posted May 6, 2013 Hi Robert. I'm using the latest release of ULTIMATE Seo Urls 5 Pro in an oscommerce rc2a shop and I can't get rid of a known error. My google webmaster tools informed me that all my child categories had duplicate links. Example: /regalos/regalos-varios-c-44_46.html /regalos/regalos-varios-c-46.html I've tried to find out why in this forum, but despite having the file validator,php I keep having the same error in google webmaster tools. I use as well the usu5_sitemaps. I don't know if it can cause this problem. I'll be very grateful if you could help me. Thanks Quote Link to comment Share on other sites More sharing options...
tim_ver Posted May 9, 2013 Share Posted May 9, 2013 I am getting errors on my main catalog page. The admin area seems fine no errors showing. On the main catalog page all it shows are the errors below nothing else. Please let me know what I am missing here and need to fix/update to get this issue resolved. Errors: Warning: Invalid argument supplied for foreach() in /home/b/public_html/n/Store/includes/modules/ultimate_seo_urls5/main/bootstrap.php on line 274 Warning: include_once(page_modules.php) [function.include-once]: failed to open stream: No such file or directory in /home/b/public_html/n/Store/includes/modules/ultimate_seo_urls5/main/bootstrap.php on line 339 Warning: include_once() [function.include]: Failed opening 'page_modules.php' for inclusion (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home/b/public_html/n/Store/includes/modules/ultimate_seo_urls5/main/bootstrap.php on line 339 Fatal error: Uncaught exception 'RuntimeException' with message 'Directory name must not be empty.' in /home/b/public_html/n/Store/includes/modules/ultimate_seo_urls5/includes/usu_general_functions.php:244 Stack trace: #0 /home/b/public_html/n/Store/includes/modules/ultimate_seo_urls5/includes/usu_general_functions.php(244): DirectoryIterator->__construct('') #1 /home/b/public_html/n/Store/includes/modules/ultimate_seo_urls5/main/bootstrap.php(340): usu_dir_iterator() #2 /home/b/public_html/n/Store/includes/modules/ultimate_seo_urls5/main/bootstrap.php(83): Usu5_Bootstrap->loadPageModules(false) #3 /home/b/public_html/n/Store/includes/modules/ultimate_seo_urls5/main/usu5.php(119): Usu5_Bootstrap->bootStrapper() #4 /home/b/public_html/n/Store/includes/application_top.php(338): Usu_Main->initiate(Object(language)) #5 in /home/b/public_html/n/Store/includes/modules/ultimate_seo_urls5/includes/usu_general_functions.php on line 244 Quote Link to comment Share on other sites More sharing options...
datalan Posted May 11, 2013 Share Posted May 11, 2013 Sent you a PM with my email. The file is credited to and generously contributed by Ioannis. It is UTF-8 btw. hello can sou send me the greek character conversion file..Thank you... Quote Link to comment Share on other sites More sharing options...
John Doswell Posted May 11, 2013 Share Posted May 11, 2013 hi there, my categories , index and products work fine... but when i call contact_us.php or specials.php and all other static pages they all turn out blank! anybody know how to fix that??? regards john Quote Link to comment Share on other sites More sharing options...
John Doswell Posted May 13, 2013 Share Posted May 13, 2013 ULTIMATE Seo Urls 5 PRO ( version 1.1 ) - Performance Standard URI produced: 58 SEO URI produced: 19 Query Count: 11 Queries Saved: 8 Cache load time: 0 seconds ( includes gzinflate/base64_decode/unserialize ) Data loaded from cache: false ( Cache System: Sqlite_Cache_Module ) Total query time: 0.0103 seconds Cache system is Off Standard Urls: http://domain.de/index.php view = yes http://domain.de/index.php view = yes http://domain.de/pages.php?page=versand view = no (blank page) http://domain.de/pages.php?page=impressum view = no (blank page) http://domain.de/pages.php?page=agb view = no (blank page) http://domain.de/shipping.php view = no (blank page) http://domain.de/contact_us.php view = no (blank page) http://domain.de/index.php?language=en view= yes http://domain.de/index.php?language=de view = yes http://domain.de/login.php view = no (blank page) http://domain.de/create_account.php view = no (blank page) http://domain.de/shipping.php view = no (blank page) http://domain.de/advanced_search.php view = no (blank page) http://domain.de/advanced_search_result.php view = no (blank page) http://domain.de/products_new.php view = no (blank page) http://domain.de/specials.php view = no (blank page) http://domain.de/manufacturers.php view = no (blank page) http://domain.de/reviews.php view = no (blank page) http://domain.de/contact_us.php view = no (blank page) http://domain.de/shopping_cart.php view = no (blank page) http://domain.de/login.php view = no (blank page) http://domain.de/create_account.php view = no (blank page) http://domain.de/index.php view = yes http://domain.de/featured_products.php view = no (blank page) http://domain.de/products_new.php view = no (blank page) http://domain.de/specials.php view = no (blank page) http://domain.de/manufacturers.php view = no (blank page) http://domain.de/topsellers_products.php view = no (blank page) http://domain.de/reviews.php view = no (blank page) http://domain.de/shipping.php view = no (blank page) http://domain.de/contact_us.php view = no (blank page) http://domain.de/product_info.php?products_id=54 view = yes http://domain.de/products_new.php?action=buy_now&products_id=54 view = no (blank page) http://domain.de/product_info.php?products_id=53 view = yes http://domain.de/products_new.php?action=buy_now&products_id=53 view = no (blank page) http://domain.de/product_info.php?products_id=52 view = yes http://domain.de/products_new.php?action=buy_now&products_id=52 view = no (blank page) http://domain.de/product_info.php?products_id=51 view = yes http://domain.de/products_new.php?action=buy_now&products_id=51 view = no (blank page) regards john Quote Link to comment Share on other sites More sharing options...
Guest Posted May 15, 2013 Share Posted May 15, 2013 I have seen this asked before in this thread but couldn't find the answer... Basically the addon works perfectly except on the homepage... If I click on one of the "New Products for May" which are listed on the home page it just bounces me back to the home page... I am using osc 2.3 with the latest SEO URL addon... Please can someone help this is really bugging me... Quote Link to comment Share on other sites More sharing options...
Guest Posted May 16, 2013 Share Posted May 16, 2013 I have seen this asked before in this thread but couldn't find the answer... Basically the addon works perfectly except on the homepage... If I click on one of the "New Products for May" which are listed on the home page it just bounces me back to the home page... I am using osc 2.3 with the latest SEO URL addon... Please can someone help this is really bugging me... Fixed, was my bad nothing to do with this addon... *Face Palm* Quote Link to comment Share on other sites More sharing options...
misantropo Posted May 29, 2013 Share Posted May 29, 2013 Could contrib replicate old seo-g urls? I need to change seo-g by us5, but i wannot loss indexes pages. Thanks. Quote Link to comment Share on other sites More sharing options...
Guest Posted May 30, 2013 Share Posted May 30, 2013 Hmmmmm it seems to be doing the blank links (just bounces back to home page) again on 'Whats New' page and index page :-( any ideas what is causing this...? Quote Link to comment Share on other sites More sharing options...
Guest Posted May 30, 2013 Share Posted May 30, 2013 Surely there is a missing file in \catalog\includes\modules\ultimate_seo_urls5\page_modules\ Shouldn't there be a products_new.php file? Quote Link to comment Share on other sites More sharing options...
Guest Posted May 30, 2013 Share Posted May 30, 2013 This is my /includes/modules/new_products.php file... <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ if ( (!isset($new_products_category_id)) || ($new_products_category_id == '0') ) { $new_products_query = tep_db_query("select p.products_id, p.products_image, p.products_tax_class_id, pd.products_name, if(s.status, s.specials_new_products_price, p.products_price) as products_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' order by p.products_date_added desc limit " . MAX_DISPLAY_NEW_PRODUCTS); } else { $new_products_query = tep_db_query("select distinct p.products_id, p.products_image, p.products_tax_class_id, pd.products_name, if(s.status, s.specials_new_products_price, p.products_price) as products_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c where p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and c.parent_id = '" . (int)$new_products_category_id . "' and p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' order by p.products_date_added desc limit " . MAX_DISPLAY_NEW_PRODUCTS); } $num_new_products = tep_db_num_rows($new_products_query); if ($num_new_products > 0) { $counter = 0; $col = 0; $new_prods_content = '<table border="0" width="100%" cellspacing="0" cellpadding="2">'; while ($new_products = tep_db_fetch_array($new_products_query)) { $counter++; if ($col === 0) { $new_prods_content .= '<tr>'; } $new_prods_content .= '<td width="33%" align="center" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br /><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a><br />' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])) . '</td>'; $col ++; if (($col > 2) || ($counter == $num_new_products)) { $new_prods_content .= '</tr>'; $col = 0; } } $new_prods_content .= '</table>'; ?> <h2><?php echo sprintf(TABLE_HEADING_NEW_PRODUCTS, strftime('%B')); ?></h2> <div class="contentText"> <?php echo $new_prods_content; ?> </div> <?php } ?> Quote Link to comment Share on other sites More sharing options...
vampirehunter Posted May 31, 2013 Share Posted May 31, 2013 (edited) is this plugin fully working and is it the best SEO search friendly url plugin available? Edited May 31, 2013 by vampirehunter videod 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.