Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ULTIMATE Seo Urls 5 - by FWR Media


Recommended Posts

Great contribution. Works for me perfectly on test server running Apache but when I try on production IIS I get a page not found message on my home page as soon as I enable it. When it is on, I can go to a particular product page and it seems to be working but I can't seem to resolve the home page issue. Site is at www.newprospects.com. What have I done wrong? I really want this contribution to work so if anyone has any ideas on how to troubleshoot and fix, I would thank you in advance for your input. I do have the SEO Header Tags contribution on (but it is on in test too). This was an upgrade from 2.1 Ultimate SEO which did work.

 

Well I can't help as when I go to the site usu5 is off

Link to comment
Share on other sites

Well I can't help as when I go to the site usu5 is off

 

Thanks for the quick response - Can we set up a particular time where I can enable usu5 so you can take a look? Because of the page(s) not found problem, I can't really keep it on more than a few minutes. I would share my admin userid/password privately if that would work better for you. Thanks again as this must be something really silly since it works so well in test. Looking forward to your input.

Link to comment
Share on other sites

The admin setting is there for backwards compatibility .. when you say it doesn't work can I ask what you mean exactly? (although I know the concept is flawed)

 

 

 

Can I presume then Martin that the recommended file based conversion system worked for you?

 

Hello,

I don't know, why the admin setting didn't work. No characters were replaced. That's all I can say

 

Here goes specification for the function replacing all czech characters in file czech.php:

$char_convert = array('ě' => 'e', 'š' => 's', 'č' => 'č', 'ř' => 'r','ž' => 'z', 'á' => 'a', 'í' => 'i', 'é' => 'e', 'ú' => 'u', 
   'ů' => 'u', 'ť' => 't','Ě' => 'e','Š' => 's','Č' => 'c', 'Ř' => 'r','Ž' => 'z','Ý' => 'y','Á' => 'a','Í' => 'i','É' => 'e',
   'Ú' => 'u','Ů' => 'u','Ť' => 't','ň' => 'n','Ň' => 'n');

 

It works. Thank you.

Link to comment
Share on other sites

Thanks for the quick response - Can we set up a particular time where I can enable usu5 so you can take a look? Because of the page(s) not found problem, I can't really keep it on more than a few minutes. I would share my admin userid/password privately if that would work better for you. Thanks again as this must be something really silly since it works so well in test. Looking forward to your input.

 

Could you post the following defines from catalog/includes/configure.php please?

  define('HTTP_SERVER', 'http://www.localdev.com');
 define('HTTPS_SERVER', 'http://www.localdev.com');
 define('ENABLE_SSL', false);
 define('HTTP_COOKIE_DOMAIN', 'www.localdev.com');
 define('HTTPS_COOKIE_DOMAIN', 'www.localdev.com');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');
 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_CATALOG', '/');

Link to comment
Share on other sites

define('HTTP_SERVER', 'http://www.newprospects.com');

define('HTTPS_SERVER', 'https://ssl001.securebywsi.com/newprospects-com');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'http://www.newprospects.com');

define('HTTPS_COOKIE_DOMAIN', 'https://ssl001.securebywsi.com/newprospects-com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/newprospects-com');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

Link to comment
Share on other sites

I have no idea, but when those characters are in it, it's working. I think it has something to do with the rewrite. If you see the rewrite url in my httpd.ini then there is I,L at the end.

 

With Seo urls set to false my url to that product looks like this

 

http://www.goodlivesbeads.nl/winkelen2/cat...products_id=123

 

Regular expressions and RewriteRules make my head explode under normal circumstances I have no wish to learn the whole new science of isapi rewrites lol, all I can think of is this ..

 

Looking at the isapi rewrite tutorials the flags need to have a space before them to separate from the expressions.

 

You seem to currently have ..

 

RewriteRule [^?]*-p-([0-9]+)\.html(?:\?(.*))? /product_info.php\?products_id=$1?2&$2[i,L]

 

Which I believe needs to be ..

 

RewriteRule [^?]*-p-([0-9]+)\.html(?:\?(.*))? /product_info.php\?products_id=$1?2&$2 [i,L]

 

Just a space after the $2 and before the [i,L]

 

It must be a rewrite issue .. hope this is it as I'm out of ideas.

Link to comment
Share on other sites

define('HTTP_SERVER', 'http://www.newprospects.com');

define('HTTPS_SERVER', 'https://ssl001.securebywsi.com/newprospects-com');

define('ENABLE_SSL', true);

define('HTTP_COOKIE_DOMAIN', 'http://www.newprospects.com');

define('HTTPS_COOKIE_DOMAIN', 'https://ssl001.securebywsi.com/newprospects-com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/newprospects-com');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

 

Well an entirely different issue but your site has persistent osCsid because the settings are wrong.

 

I've never owned shared hosting and certainly not shared certificates so no guarantees here, but try the following .. see if it gets rid of the osCsid.

define('HTTP_SERVER', 'http://www.newprospects.com');
define('HTTPS_SERVER', 'https://ssl001.securebywsi.com/newprospects-com');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_DOMAIN', 'www.newprospects.com');
define('HTTPS_COOKIE_DOMAIN', 'ssl001.securebywsi.com/newprospects-com');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

Link to comment
Share on other sites

Well an entirely different issue but your site has persistent osCsid because the settings are wrong.

 

I've never owned shared hosting and certainly not shared certificates so no guarantees here, but try the following .. see if it gets rid of the osCsid.

define('HTTP_SERVER', 'http://www.newprospects.com');
define('HTTPS_SERVER', 'https://ssl001.securebywsi.com/newprospects-com');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_DOMAIN', 'www.newprospects.com');
define('HTTPS_COOKIE_DOMAIN', 'ssl001.securebywsi.com/newprospects-com');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

 

Thanks so much for the attention. Changed the HTTPS Cookie Path with same results.

Link to comment
Share on other sites

Hello,

Please excuse me for my ignorance. I'm trying to get this contribution working for me. I just installed a fresh copy RC2a and did a "Drop on Top" installation. But when I click on DVD movies-> ACTION -> and then the buy now button for die hard, the page just reloads itself with 0 items in my cart.

 

I searched for a solution you provided for buy now buttons from the text file titled BuyNowButtonFix.txt and put that code as a replacement for code on general.php but that still doesn't work. Any other suggestions to get my buy now buttons working? Am I just missing a step?

 

Also is their a convenient way to remove the osCsid=xxxxxxxxxxxxxx tags which show right after the seo urls. My urls look like this....

 

http://localhost/osc/catalog/index.php/har...xxxxxxxxxxxxxxx

 

 

thanks!

kenz

Link to comment
Share on other sites

Please excuse me for my ignorance. I'm trying to get this contribution working for me. I just installed a fresh copy RC2a and did a "Drop on Top" installation. But when I click on DVD movies-> ACTION -> and then the buy now button for die hard, the page just reloads itself with 0 items in my cart.

 

The current version does not have such an issue, please go back over your install.

 

Also is their a convenient way to remove the osCsid=xxxxxxxxxxxxxx tags which show right after the seo urls

 

Yes .. your configure settings have to be correct .. on a local pc server you need to make adjustments to C:\WINDOWS\system32\drivers\etc\hosts

Link to comment
Share on other sites

Hello,

Please excuse me for my ignorance. I'm trying to get this contribution working for me. I just installed a fresh copy RC2a and did a "Drop on Top" installation. But when I click on DVD movies-> ACTION -> and then the buy now button for die hard, the page just reloads itself with 0 items in my cart.

 

I searched for a solution you provided for buy now buttons from the text file titled BuyNowButtonFix.txt and put that code as a replacement for code on general.php but that still doesn't work. Any other suggestions to get my buy now buttons working? Am I just missing a step?

 

Also is their a convenient way to remove the osCsid=xxxxxxxxxxxxxx tags which show right after the seo urls. My urls look like this....

 

http://localhost/osc/catalog/index.php/har...xxxxxxxxxxxxxxx

 

 

thanks!

kenz

 

 

Sorry i meant to say http: // localhost /osc/catalog/index.php/hardware-graphics-cards-c-1_4? oscCsid = xxxxxxxxxxxxxxxxxx

 

Also when I log into my admin panel, am i suppose to see a panel for ultimate seo url 5 somewhere? its not showing up at all under the configuration tab or any others i see...

 

thanks

kenz

Link to comment
Share on other sites

The current version does not have such an issue, please go back over your install.

 

Yes .. your configure settings have to be correct .. on a local pc server you need to make adjustments to C:\WINDOWS\system32\drivers\etc\hosts

 

hmm...I did the install over again with a new version of osc, and only using this component. The issue is still present. The add to cart buttons work when you actually land on the product detail page. But when you have a list of products with buy now buttons associated them, the buy now buttons do not add the product to the cart. The page simply refreshes and 0 items are in cart.

 

Has anyone else come across this issue recently?

 

Thanks

-kenz

Link to comment
Share on other sites

hmm...I did the install over again with a new version of osc, and only using this component. The issue is still present. The add to cart buttons work when you actually land on the product detail page. But when you have a list of products with buy now buttons associated them, the buy now buttons do not add the product to the cart. The page simply refreshes and 0 items are in cart.

 

Has anyone else come across this issue recently?

 

Thanks

-kenz

 

And when you hover over this buy now button what uri do you see in the bottom bar?

Link to comment
Share on other sites

And when you hover over this buy now button what uri do you see in the bottom bar?

 

 

This is what my uri is telling me minus the http:// ...

 

localhost/oscdes4SEOA/catalog/index.php/movies-action-c-3_10?products_id=12&action=buy_now&sort=2a&osCsid=ab022f32bd09803b8aaacabee01a4c45
Edited by kenz
Link to comment
Share on other sites

This is what my uri is telling me...

 

 

 

if you can't see it it really looks like this minus the http:// beginning....

 

 

 

Thanks for the help

-kenz

 

I just created a brand new RC2a with drop on top .. this issue doesn't exist. Looks to me like you have already modified and perhaps in those modifications a hardcoded & exists.

Link to comment
Share on other sites

I just created a brand new RC2a with drop on top .. this issue doesn't exist. Looks to me like you have already modified and perhaps in those modifications a hardcoded & exists.

 

what operating system or you testing this out on? live web host or locally on your computer? also whats your settings for the seo url 5 in the admin panel? This information may help me out as I have not modified any files, simply copied the uploads folder, the drop folders, add the database installer.php and thats it.

 

-kenz

Link to comment
Share on other sites

This is what my uri is telling me minus the http:// ...

 

Is it possible you are using the other Ultimate SEO URL's from Chemo? That does have & problems on certain server settings. This contribution should not be generating & errors in the URL.

Edited by chooch

Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back!

 

Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you?

 

There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere.

 

CHOOCH

Link to comment
Share on other sites

Is it possible you are using the other Ultimate SEO URL's from Chemo? That does have & problems on certain server settings. This contribution should not be generating & errors in the URL.

 

AA if that is the case, which URL should I go to get the appropriate contribution.

 

Thank you for your input,

kenz

Link to comment
Share on other sites

Is it possible you are using the other Ultimate SEO URL's from Chemo? That does have & problems on certain server settings. This contribution should not be generating & errors in the URL.

 

 

Could it be possible that somewhere, perhaps int eh .httaccess page, my & signs are being converted to &? I manuall removed the amp; tags in my url to add a product and it works!!!! Now why the heck do they show up when i have seo url 5 enabled? it makes no sense to me. The only thing I see now is trying to figure out how the heck to remove them. Any thoughts?

 

Thanks everyone for the help!

-kenz

Link to comment
Share on other sites

Could it be possible that somewhere, perhaps int eh .httaccess page, my & signs are being converted to &? I manuall removed the amp; tags in my url to add a product and it works!!!! Now why the heck do they show up when i have seo url 5 enabled? it makes no sense to me. The only thing I see now is trying to figure out how the heck to remove them. Any thoughts?

 

Thanks everyone for the help!

-kenz

 

 

I believe part of the issue is with this line located in the product_listing.php file

 

< a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action', 'products_id')) . 'action=buy_now&products_id='.$listing['products_id']).'">'.tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '< /a>';
Link to comment
Share on other sites

I believe part of the issue is with this line located in the product_listing.php file

 

kenz this is only happening for you. Are you running this on localhost or on a server?

 

The only thing I can think of at the moment is that you have set in php.ini arg_separator.input = "&"

Link to comment
Share on other sites

kenz this is only happening for you. Are you running this on localhost or on a server?

 

The only thing I can think of at the moment is that you have set in php.ini arg_separator.input = "&"

 

Robert I solute you. Thank you so much for pointing that out. I have no idea why i had set that in my php.ini file at all. I changed that value back to default & and now all my buy now buttons work. Thank you so much for help me out. This has been a great success for me today.

 

 

-Kenz

Link to comment
Share on other sites

Robert I solute you. Thank you so much for pointing that out. I have no idea why i had set that in my php.ini file at all. I changed that value back to default & and now all my buy now buttons work. Thank you so much for help me out. This has been a great success for me today.

 

 

-Kenz

 

My pleasure kenz, and an additional note for others who may experience similar problems .. you can also entirely "cock up" this and other contributions by adding the following to .htaccess ..

 

php_value arg_separator.output &

 

Highly recommended if you want to break your own site or the site of an enemy :D

Link to comment
Share on other sites

Sry - posted this in the wrong forum - this is for the Ultimate SEO Urls 5

 

I followed the the letter the installation, had no issues it seems, but my URL's aren't producing my products.

 

http://funkyrat.com/product_info.php/core-...de-supply-p-103

 

The categories aren't working either: http://funkyrat.com/index.php/joint-bone-care-c-18

 

Has anyone seen this issue, and what can I do to fix this issue?

 

Also receiving this error in my footer on the hompage:

 

 

Warning: file_put_contents(/home/content/f/u/n/funkyrat/html/includes/modules/ultimate_seo_urls5/cache/1_usucache.cache) [function.file-put-contents]: failed to open stream: No such file or directory in /home/content/f/u/n/funkyrat/html/includes/modules/ultimate_seo_urls5/classes/Usu_Cache_FileSystem.php on line 35

 

Don't understand, everything seemed to work perfectly.

Funkyrat.com

Just built, just released... Please don't hack me!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...