plazman65 Posted July 9, 2014 Share Posted July 9, 2014 I need help. I have version 2.3 installed and Ultimate Seo 5 installed on my local server and it worked perfectly! Now I put it up on my server (hostgator in case thats relevant) and Im getting a few strange errors. When I go into the database and manually turn it off I get this error Warning: strpos(): Empty needle in /home4/tristan1/public_html/includes/modules/ultimate_seo_urls5/main/bootstrap.php on line 121 above the logo area When I turned it on I get these errors and I am unable to see anything Warning: strpos(): Empty needle in /home4/tristan1/public_html/includes/modules/ultimate_seo_urls5/main/bootstrap.php on line 121 Warning: Cannot modify header information - headers already sent by (output started at /home4/tristan1/public_html/includes/modules/ultimate_seo_urls5/main/bootstrap.php:121) in /home4/tristan1/public_html/includes/modules/ultimate_seo_urls5/main/validator.php on line 178 Warning: Cannot modify header information - headers already sent by (output started at /home4/tristan1/public_html/includes/modules/ultimate_seo_urls5/main/bootstrap.php:121) in /home4/tristan1/public_html/includes/modules/ultimate_seo_urls5/main/validator.php on line 179 If someone could point me in the right direction I would greatly appreciate it :D - I wanted to note if someone else runs into it... it was because my php on my host was set at 5.4 Quote Link to comment Share on other sites More sharing options...
sylla Posted July 21, 2014 Share Posted July 21, 2014 Attempting to test this on local Windows server. Slightly modified OSC 2.3.4. New install of this add-on. I am missing all graphics and images. Maybe something to do with this.... Important: now ensure that the following two directories are writable. Dependent on your server this may be 0755 or 0777. catalog/includes/modules/ultimate_seo_urls5/cache_system/cache/ catalog/includes/modules/ultimate_seo_urls5/cache_system/sqlite/ The user I run XAMPP with has full modify permissions on these folders but if I uncheck read only on the directory properties it doesn't stay. It just comes back. Any advice? Quote Link to comment Share on other sites More sharing options...
RMD27 Posted July 29, 2014 Share Posted July 29, 2014 Upgraded Osc 2.3.3 step by step to 2.3.3.4 and am now seeing this at the bottom of the screen: INSERT INTO `usu_cache` (cache_name, cache_data, cache_date) VALUES ('', '', '2014-02-02 16:16:08') Goes away if I turn the cache off in SEO Urls 5. Have searched this thread and online, and not found a solution...but still hoping! Thanks i changed cache system to "file" and all okay Quote Link to comment Share on other sites More sharing options...
tgely Posted August 15, 2014 Share Posted August 15, 2014 Odd, how many of these do you have? The below is not a fix but may provide me the info I need. includes/modules/ultimate_seo_urls5/main/usu5.php Lines 76 - 78 Find .. public function __destruct() { if ( defined( 'USU5_ENABLED' ) && ( USU5_ENABLED == 'true' ) ) { $this->getVar( 'cache' )->store( $this->getVar( 'registry' )->store() );Change to .. public function __destruct() { if ( defined( 'USU5_ENABLED' ) && ( USU5_ENABLED == 'true' ) ) { $cache = $this->getVar( 'cache' ); $registry = $this->getVar( 'registry' ); $store = true; if ( false === ( ( $cache instanceof iCache_System ) && ( $registry instanceof Data_Registry ) ) ) { $store = false; $error = 'Cache or registry cannot be retrieved: ' . PHP_EOL . PHP_EOL . print_r( $this, true ); trigger_error( $error, E_USER_WARNING ); } ( false !== $store ) ? $cache->store( $registry->store() ) : null; Hi Robert, Here is the result: in /home/xxxx/ _html/xxxx/includes/modules/ultimate_seo_urls5/main/usu5.php on line 87 ) ( [vars:Usu_Main:pr => Array su_Main Object 15-Aug-2014 19:47:58 Warning: Cache or registry cannot be retrieved: Quote osCommerce based shop owner with minimal design and focused on background works. When the less is more.Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store. Link to comment Share on other sites More sharing options...
tarmogr Posted September 20, 2014 Share Posted September 20, 2014 Hi I have a problem accessing products or categories that have special UTF-8 characters. Whenever I click certain products with those characters in title, firefox gives me redirect error The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete. This problem can sometimes be caused by disabling or refusing to accept cookies. I have also noticed that when hovering a mouse over a product: this kind of url is displayed in firefox: http://... .../product_info.php/8x70mm-ümar-õhudüüs-p-133 Although the real name of product is: 8x70mm ümar õhudüüs And when I copy the link location in firefox the result is: http:... .../product_info.php/8x70mm-%C3%83%C2%BCmar-%C3%83%C2%B5hud%C3%83%C2%BC%C3%83%C2%BCs-p-133 When it is successful loading the page the url looks like: http://... .../8x70mm-umar-ohuduus-p-133 - Jus as it should be It is also interesting that the problem sometimes occurs and sometimes not. I have an exact copy of my site whre I cleared the SEO chase and the problem went away. Doing the same thing on my live site has no effect. And also some products with special characters load without any problems. Any idea where the problem could be? Quote Link to comment Share on other sites More sharing options...
tarmogr Posted September 20, 2014 Share Posted September 20, 2014 oh my god I searched the fault like a week and the moment I posted here I found the culprit. The character conversion php files were saved in ANSI format, saved them in "UTF-8 without BOM" and all works like a charm now. I wonder why nobody had posted the fix in contribution page. Quote Link to comment Share on other sites More sharing options...
Patty Posted September 25, 2014 Share Posted September 25, 2014 I'm having a weird problem on osc 2.3.4 using a custom template. All graphics and images are missing on products and information pages, but only in IE11 and in Portuguese! In English everything is fine, also when using Firefox and Chrome no problems. This is happening both on my local machine and online on a Linux server. If I remove USU5 the pages load fine, so it is an issue caused by USU5. I have the language file loaded in character_conversion directory and it works flawlessly in FF and Chrome, problem is only in ExploDer. I just don't know what to do. Can someone shed a light, please?? Quote Patty Link to comment Share on other sites More sharing options...
Patty Posted September 25, 2014 Share Posted September 25, 2014 (edited) Never mind. Fixed it! To help others: I changed the URL format from Standard to Traditional Rewrite in the addon settings and uploaded the .htaccess file. All working now! ;) Edited September 25, 2014 by Patty Quote Patty Link to comment Share on other sites More sharing options...
Judith.Precision Posted September 29, 2014 Share Posted September 29, 2014 Hey all, I'm seeing a series of strange errors in my error_log file (from host server). The error(s): PHP Catchable fatal error: Argument 1 passed to aPage_Modules::linkText() must be of the type array, null given, called in /home/imprint/public_html/storefront/includes/modules/ultimate_seo_urls5/page_modules/product_info.php on line 170 and defined in /home/imprint/public_html/storefront/includes/modules/ultimate_seo_urls5/abstracts/page_modules.php on line 338 PHP Warning: Invalid argument supplied for foreach() in /home/imprint/public_html/storefront/includes/modules/ultimate_seo_urls5/page_modules/product_info.php on line 102 PHP Catchable fatal error: Argument 1 passed to aPage_Modules::linkText() must be of the type array, null given, called in /home/imprint/public_html/storefront/includes/modules/ultimate_seo_urls5/page_modules/product_info.php on line 170 and defined in /home/imprint/public_html/storefront/includes/modules/ultimate_seo_urls5/abstracts/page_modules.php on line 338 PHP Warning: Invalid argument supplied for foreach() in /home/imprint/public_html/storefront/includes/modules/ultimate_seo_urls5/page_modules/product_info.php on line 102 In using a Reverse IP lookup, I notice that this "error batch" only seems to happen with various 'bots (the set above are from BingBot). Is this a common thing to see regarding the different 'bots out there? Should I be concerned about the errors showing up for the 'bots? Thanks! Judith Quote Link to comment Share on other sites More sharing options...
papalevies Posted October 10, 2014 Share Posted October 10, 2014 (edited) I use USURL5 from FWR, and if I enable it when i visit a category with Internet explorer all the styles and images are gone. The site works fine on all other browsers I have tested but IE11 throws errors about DOCTYPE missing, duplicate body tags and other ridiculous things. I also noticed that the images in IE get the src mystore.com/index.php/images/image.jpg instead of mystore.com/images/image.jpg. I am also having trouble logging in to the admin panel from IE, but that may be another issue. Edited October 10, 2014 by papalevies Quote Link to comment Share on other sites More sharing options...
papalevies Posted October 11, 2014 Share Posted October 11, 2014 I use USURL5 from FWR, and if I enable it when i visit a category with Internet explorer all the styles and images are gone. The site works fine on all other browsers I have tested but IE11 throws errors about DOCTYPE missing, duplicate body tags and other ridiculous things. I also noticed that the images in IE get the src mystore.com/index.php/images/image.jpg instead of mystore.com/images/image.jpg. I am also having trouble logging in to the admin panel from IE, but that may be another issue. To answer my own question the problem was not due to USURL5 but it was caused from a few UTF8 files WITH BOM that caused IE to throw the errors. I fixed it by ssh-ing to my webhost and running: find . -type f -exec sed '1s/^\xEF\xBB\xBF//' -i.bak {} \; -exec rm {}.bak \; Quote Link to comment Share on other sites More sharing options...
Guest Posted October 13, 2014 Share Posted October 13, 2014 Hello... Thanks for this contribution, the ease in which it can be installed, and the unending patience (of any and all moderators to this topic) to support it. I started out telling you a long, drawn out explanation of where I was in the installation process, and what my final hurdle was to completing the install. As I was typing, a few ideas came to me, and ultimately, my problem was ... again ... caused by one of the many hacks in the site I have inherited and am currently working on. So, in addition to the thanks above, thank you for clear, clean, and concise code. As a developer myself, I truly appreciate the simple and easy. Quote Link to comment Share on other sites More sharing options...
Guest Posted October 15, 2014 Share Posted October 15, 2014 Hello, I've just recently started getting the following error: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 5084747 bytes) in .../includes/modules/ultimate_seo_urls5/classes/Usu_Cache_FileSystem.php on line 32 I noticed that this was briefly mentioned earlier in this thread but I did not see a solution. I have roughly 12,000 products in about 100 categories (just an estimate). Is there something that can be done to correct this issue? Thanks. Hi! I know this is a really old conversation - but if you still have those files, could you please send them to me? Thanks! :e Quote Link to comment Share on other sites More sharing options...
♥Tsimi Posted October 20, 2014 Share Posted October 20, 2014 Anyone has this running on php5.5? I am getting the following error with php 5.5.15 on my local test server Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in D:\xampp\htdocs\XXXX\includes\classes\seo.class.php on line 78 Quote Link to comment Share on other sites More sharing options...
De Dokta Posted October 20, 2014 Share Posted October 20, 2014 @@Tsimi Hi Lambros, are you sure that you are running this SEO tool? I can't find a seo.class.php in this addon, but in this one: Ultimate SEO URLs. Solution for that: http://www.oscommerce.com/forums/topic/154166-contribution-ultimate-seo-urls-v21-by-chemo/page-345#entry1692222 (and following) J.J. Quote Link to comment Share on other sites More sharing options...
tarmogr Posted November 10, 2014 Share Posted November 10, 2014 Anyone has this running on php5.5? I am getting the following error with php 5.5.15 on my local test server Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in D:\xampp\htdocs\XXXX\includes\classes\seo.class.php on line 78 I also had a series of sql errors when I tested it on Wampserver. It is working fine on my actual server but it has sligthly older PHP version. So if the PHP will be updated the contribution will stop working. Would be great if somebody could look ito it. Quote Link to comment Share on other sites More sharing options...
noSkill Posted November 10, 2014 Share Posted November 10, 2014 (edited) Hi guys After reading dozens of posts still didn't find a similar issue: Invalid argument supplied for foreach() in /home/****/public_html/includes/modules/ultimate_seo_urls5/page_modules/index.php on line 111 , related to foreach ($text_array as $key => $text ) { Any clue about how to get rid of this and stop having megs of error_log ? Ty Edited November 10, 2014 by noSkill Quote Link to comment Share on other sites More sharing options...
callenords Posted November 11, 2014 Share Posted November 11, 2014 I'm having the exact same problem as @@noSkill and I hope someone can post a solution: Invalid argument supplied for foreach() in /home/****/public_html/includes/modules/ultimate_seo_urls5/page_modules/index.php on line 111 :( Quote Link to comment Share on other sites More sharing options...
noSkill Posted November 14, 2014 Share Posted November 14, 2014 @@FWR Media, would you please take a look over the issue and give us some hints ? Used version: 5.2.3 and no previous addon versions were used in the past so it's a fresh install. Quote Link to comment Share on other sites More sharing options...
auzStar Posted November 14, 2014 Share Posted November 14, 2014 I had a similar issue a while back look at line 107 in that index.php file try changing it from: if ( false === $text_array ) { to: if ( false == $text_array ) { if it's the same issue, it worked for me cheers Quote My Add-onsAdvanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download SupportAjax Product Listing for osC 2.3.4 (bootstrap) Download SupportCategory New Products Carousel for osC 2.3.4 (bootstrap) Download SupportCategory Popular Products Carousel for osC 2.3.4 (bootstrap) Download SupportCustomer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportFront Page New Products Carousel for osC 2.3.4 (bootstrap) Download SupportIndex Nested - Product Listing for osC 2.3.4 (bootstrap) Download SupportMatch Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download SupportModular Category Page for osC 2.3.4 (bootstrap) Download SupportNEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download SupportNEW Equal Height Module for osC 2.3.4 (bootstrap) Download SupportProducts Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download SupportTwitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportUpcoming Products Modules for osC 2.3.4 (bootstrap) Download Support Assisted Add-onsScroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support Bootstrap Add-ons created by other membersosCommerce Bootstrap Addons and Code Link to comment Share on other sites More sharing options...
noSkill Posted November 15, 2014 Share Posted November 15, 2014 @@auzStar: thanks a tone mate! Same changes has to be done in product_info.php on line 98 (catalog\includes\modules\ultimate_seo_urls5\page_modules\) Quote Link to comment Share on other sites More sharing options...
auzStar Posted November 15, 2014 Share Posted November 15, 2014 @@callenords @@noSkill no probs I just checked my seo product_info.php, I had already changed that one too. I haven't had an issue with the seo after making these changes. cheers Quote My Add-onsAdvanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download SupportAjax Product Listing for osC 2.3.4 (bootstrap) Download SupportCategory New Products Carousel for osC 2.3.4 (bootstrap) Download SupportCategory Popular Products Carousel for osC 2.3.4 (bootstrap) Download SupportCustomer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportFront Page New Products Carousel for osC 2.3.4 (bootstrap) Download SupportIndex Nested - Product Listing for osC 2.3.4 (bootstrap) Download SupportMatch Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download SupportModular Category Page for osC 2.3.4 (bootstrap) Download SupportNEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download SupportNEW Equal Height Module for osC 2.3.4 (bootstrap) Download SupportProducts Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download SupportTwitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportUpcoming Products Modules for osC 2.3.4 (bootstrap) Download Support Assisted Add-onsScroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support Bootstrap Add-ons created by other membersosCommerce Bootstrap Addons and Code Link to comment Share on other sites More sharing options...
sunrise99 Posted November 18, 2014 Share Posted November 18, 2014 Hey all, I also have like this error when access someone sub-catalog , any suggestion? PHP Catchable fatal error: Argument 1 passed to aPage_Modules::linkText() must be of the type array, null given, called in /home/xxx/public_html/xxx/includes/modules/ultimate_seo_urls5/page_modules/product_info.php on line 170 and defined in /home/xxx/public_html/xxx/includes/modules/ultimate_seo_urls5/abstracts/page_modules.php on line 338 Quote Link to comment Share on other sites More sharing options...
auzStar Posted November 18, 2014 Share Posted November 18, 2014 @@sunrise99 David have you tried the changes above? (posts 4072 to 4076) may work Quote My Add-onsAdvanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download SupportAjax Product Listing for osC 2.3.4 (bootstrap) Download SupportCategory New Products Carousel for osC 2.3.4 (bootstrap) Download SupportCategory Popular Products Carousel for osC 2.3.4 (bootstrap) Download SupportCustomer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportFront Page New Products Carousel for osC 2.3.4 (bootstrap) Download SupportIndex Nested - Product Listing for osC 2.3.4 (bootstrap) Download SupportMatch Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download SupportModular Category Page for osC 2.3.4 (bootstrap) Download SupportNEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download SupportNEW Equal Height Module for osC 2.3.4 (bootstrap) Download SupportProducts Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download SupportTwitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportUpcoming Products Modules for osC 2.3.4 (bootstrap) Download Support Assisted Add-onsScroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support Bootstrap Add-ons created by other membersosCommerce Bootstrap Addons and Code Link to comment Share on other sites More sharing options...
sunrise99 Posted November 19, 2014 Share Posted November 19, 2014 @@sunrise99 David have you tried the changes above? (posts 4072 to 4076) may work Yes.I change them on index.php & product_info.php try changing it from: if ( false === $text_array ) { to: if ( false == $text_array ) { But still have these issue now. 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.