Jump to content
spidometrs

[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

Recommended Posts

Hi guys

I hope you can help!

 

I have installed the contribution and now have an orderID=0 issue at my store (www.datamouse.biz/catalog)

 

Orders are not being added to order histories.

Also, if I disable the contribution, none of my urs work - they go to "datamouse.biz/catalog/index.php?catalog=index.php", regardess of what is clicked.

 

I've seen a previous post about installing an older version (?) of the store.

Is there any other way to get this fixed?

 

Thanks guys

 

Danny

I've had a hunt and have found that the function:

 

mysql_insert_id

 

Is being used to generat the order_id in the function

 

function tep_db_insert_id()

 

This function is in the includes/database.php file and is also called in the seo_class.php file from the Ultimate SEO URLs contribution.

Is it this that's causing the problem?

If it is, how do I repair it?

 

Danny

Share this post


Link to post
Share on other sites
I've had a hunt and have found that the function:

 

mysql_insert_id

 

Is being used to generat the order_id in the function

 

function tep_db_insert_id()

 

This function is in the includes/database.php file and is also called in the seo_class.php file from the Ultimate SEO URLs contribution.

Is it this that's causing the problem?

If it is, how do I repair it?

 

Danny

 

You are assuming that your problem relates to USU, I don't believe it does.

 

Uninstall USU and if the problem persists you will know it is not related.

Share this post


Link to post
Share on other sites
You are assuming that your problem relates to USU, I don't believe it does.

 

Uninstall USU and if the problem persists you will know it is not related.

It does relate.

The site worked before USU.

The downloads work if I disable USU.

But, unfortunately, it doesn't if I use USU - and that's a shame, because it's a great contrib!

Share this post


Link to post
Share on other sites
It does relate.

The site worked before USU.

The downloads work if I disable USU.

But, unfortunately, it doesn't if I use USU - and that's a shame, because it's a great contrib!

 

Ok well it may relate in your code but it is not a USU issue.

Share this post


Link to post
Share on other sites
Ok well it may relate in your code but it is not a USU issue.

 

It may well - which is why I'm asking for help.

Can you help at all, please?

 

The issue is that the orders_id field is not being populated in the orders_products_download table.

It's populated in all other order-based tables. Just not that one.

 

If I can track down where the update/insert query is, i may be able to fix myself...

 

Thanks

Share this post


Link to post
Share on other sites

I installed ultimate seo urls version 2.1d and it works wonderfully. Great contribution! One question, though.

 

Many of my products have a "-" in their name. This "-" is removed automatically by this contribution.

Is there a way to fix that? Any help or pointers is highly appreciated.

 

My site: http://bugdorm.megaview.com.tw

 

Eddy form Taiwan

Edited by Moxamint

Share this post


Link to post
Share on other sites

Hi Robert.

 

I have been having a problem with my website ever since upgrading and after much testing I have managed to repeat the problem

 

Download and install oscommerce-2.2rc2a

Download and install Ultimate_SEO_URLSv21d_UPDATED

 

Leave all settings at default

 

Open your browser and disable cookies

 

Now click Hardware > Keyboards > Buy Now

 

The item is not added to the cart because the osCsid changes

 

Any Ideas?

 

Thanks.

 

Ken

Share this post


Link to post
Share on other sites

Hi

 

I am trying to get this contribution to work with the Manufacturers2 Contribution. The contribution basically duplicates the term 'manufacturer' to create 'manufacturer2'

 

If I wanted to use Ultimate SEO Urls with the manufacturer2 names, what files would I have to edit, what SQL queries would I have to run in order to get Ultimate SEO URL's to create URL's for manufacturers2

 

Thanks, I hope someone else is using these two contributions together,

 

Ben

Share this post


Link to post
Share on other sites

Hey Guys,

 

I installed this contrib yesterday, everything seems to work perfect only today I tried to get on the password_forgotten.php, that went good aswell, but when I enter my email address and pressed send it went to http://www.sex-pleasure.nl/password_forgot.../action/process and there I get a messed up design and als an IE error:

 

Line: 2

Char: 1

Error: Syntax error

Code: 0

URL: http://www,sex-pleasure.nl/password_forgot.../action/process

 

Same goes for when I try to login, making a new account works tho.

 

Anyone knows how to fix this?

Edited by Jlenting

Share this post


Link to post
Share on other sites

Oke, I found how to fix it. I had the option from the basic oscommerce setting use SEO url on aswell, when I turned that one off and only had the SEO Urls Complete turned on it worked perfectly.

Share this post


Link to post
Share on other sites

Hello,

 

Thank you for a great contrib and great work!

 

I have installed it on a osc template and it works great, but i have a quick question.

 

After installing it I have a problem with showing a link to DATE_FORMAT_LONG in the product page, ENTRY_EMAIL_ADDRESS, ENTRY_PASSWORD at the login page, at the create_account.php all the names are gone, only ENTRY_FIRST_NAME, ENTRY_LAST_NAME aso. are left.

 

Does anybody have a idea what to do or where the error is?

 

Thank you.

 

EDIT:

 

I have find out that error is in includes/application_top.php file.

Edited by nenad

Share this post


Link to post
Share on other sites

Hi I recently updated my site (2.2rc2a) with Ultimate_SEO_URLSv21d_UPDATED_1_2 and I am getting the following when I try to access Category, Manufacturer or Products

 

Not Found

 

The requested URL /landnsea/index.php was not found on this server.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

I would appreciate it if someone could explain to me in simple terms how to sort out my errors.

Share this post


Link to post
Share on other sites
Hello,

 

Thank you for a great contrib and great work!

 

I have installed it on a osc template and it works great, but i have a quick question.

 

After installing it I have a problem with showing a link to DATE_FORMAT_LONG in the product page, ENTRY_EMAIL_ADDRESS, ENTRY_PASSWORD at the login page, at the create_account.php all the names are gone, only ENTRY_FIRST_NAME, ENTRY_LAST_NAME aso. are left.

 

Does anybody have a idea what to do or where the error is?

 

Thank you.

 

EDIT:

 

I have find out that error is in includes/application_top.php file.

 

Looks like you replaced incorrectly or corrupted somehow includes/languages/english.php

Share this post


Link to post
Share on other sites
Hi I recently updated my site (2.2rc2a) with Ultimate_SEO_URLSv21d_UPDATED_1_2 and I am getting the following when I try to access Category, Manufacturer or Products

 

Not Found

 

The requested URL /landnsea/index.php was not found on this server.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

I would appreciate it if someone could explain to me in simple terms how to sort out my errors.

 

Looks like a rewrite problem so it's either .htaccess or server settings .. this is well documented in this thread.

Share this post


Link to post
Share on other sites

Reposting my problem on this thread since it seems like it is an active one on the USU contribution.

Here is the web site:

www.india1imports.com

 

My old URLs were like (one of the categories): http://india1imports.com/catalog/index.php?cPath=22

If I go to that - it does not redirect to the new URL for the category. It just keeps it to the index page.

It should have gone to: http://india1imports.com/catalog/gold-collection-c-22.html (the new category URL)

But it did not.

I have spent money with a article writer who submitted articles with links to my category pages and it was doing wonders on google search, I am afraid I will lose all that advantage if the old link for categories or pages do not forward to the new respective links.

 

Thanks,

Abhay

Share this post


Link to post
Share on other sites

Hi,

Great contribution!!!!

But:

Does anybody have any idea why some of my products get "osCsid=291a487xxxxxxxxxxxxxxxxxx" added to the URL and some don´t? (About 50/50).

 

Thanks.

Share this post


Link to post
Share on other sites

What is the latest working edition of this?

 

Thanks!

Edited by skCatholic

Share this post


Link to post
Share on other sites
Reposting my problem on this thread since it seems like it is an active one on the USU contribution.

Here is the web site:

www.india1imports.com

 

My old URLs were like (one of the categories): http://india1imports.com/catalog/index.php?cPath=22

If I go to that - it does not redirect to the new URL for the category. It just keeps it to the index page.

It should have gone to: http://india1imports.com/catalog/gold-collection-c-22.html (the new category URL)

But it did not.

I have spent money with a article writer who submitted articles with links to my category pages and it was doing wonders on google search, I am afraid I will lose all that advantage if the old link for categories or pages do not forward to the new respective links.

 

Thanks,

Abhay

 

This is dual posting and will get you ignored.

 

You have some wierd redirect to catalog/index.php?catalog=index.php from that initial flash page.

 

It is not a USU issue it is an issue with your site.

Share this post


Link to post
Share on other sites
What is the latest working edition of this?

 

Thanks!

see post 2884


The Coopco Underwear Shop

 

If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

Share this post


Link to post
Share on other sites
This is dual posting and will get you ignored.

 

You have some wierd redirect to catalog/index.php?catalog=index.php from that initial flash page.

 

It is not a USU issue it is an issue with your site.

 

The initial flash page is my issue and I will fix it. Also, I later found this thread to be more active, so I will continue posting on this and not duplicate the posts on another thread.

 

My question is about redirect from old style URLs to the new product and category pages.

Question: If my old category page (http://india1imports.com/catalog/index.php?cPath=22 ) is accessed, should it not be redirected to the new page ( http://india1imports.com/catalog/gold-collection-c-22.html)? But, it is not. For category pages, it is redirected to: http://india1imports.com/catalog/index.php?catalog=index.php

 

For products, the old page: http://india1imports.com/catalog/product_i...products_id=112 is redirected to a 'Product not found" page for which the URL is: http://india1imports.com/catalog/product_i...roduct_info.php

 

Similarity between the two redirects:

1. Stays as the old style dynamic page with index.php? or product_info.php?

2. Passes on this new variable called catalog=index.php or catalog=product_info.php

 

Do you think it is something different in my code or it has something to do with my .htaccess file?

I had posted my .htaccess file at the old post (in case you can take a quick look at that): see the last post at: http://forums.oscommerce.com/index.php?sho...p;#entry1277956

 

Thanks.

Share this post


Link to post
Share on other sites

Sounds like an .htaccess issue to me - and when I looked at your link to your post with your .htaccess file it showed "two" files, but they both should be in one file. The first file should be the top half of your .htaccess file, the second file should be underneath of that.

 

 

The initial flash page is my issue and I will fix it. Also, I later found this thread to be more active, so I will continue posting on this and not duplicate the posts on another thread.

 

My question is about redirect from old style URLs to the new product and category pages.

Question: If my old category page (http://india1imports.com/catalog/index.php?cPath=22 ) is accessed, should it not be redirected to the new page ( http://india1imports.com/catalog/gold-collection-c-22.html)? But, it is not. For category pages, it is redirected to: http://india1imports.com/catalog/index.php?catalog=index.php

 

For products, the old page: http://india1imports.com/catalog/product_i...products_id=112 is redirected to a 'Product not found" page for which the URL is: http://india1imports.com/catalog/product_i...roduct_info.php

 

Similarity between the two redirects:

1. Stays as the old style dynamic page with index.php? or product_info.php?

2. Passes on this new variable called catalog=index.php or catalog=product_info.php

 

Do you think it is something different in my code or it has something to do with my .htaccess file?

I had posted my .htaccess file at the old post (in case you can take a quick look at that): see the last post at: http://forums.oscommerce.com/index.php?sho...p;#entry1277956

 

Thanks.


~Tracy
 

Share this post


Link to post
Share on other sites
Sounds like an .htaccess issue to me - and when I looked at your link to your post with your .htaccess file it showed "two" files, but they both should be in one file. The first file should be the top half of your .htaccess file, the second file should be underneath of that.

 

I tried merging the old and new one instead of just putting the code of new one. Nothing changed. The redirects are still getting this weird variable passed on to the URL "catalog = xxxx"

 

If I try to understand how the whole thing works:

The new tep_href_link (and new seo class file) creates the static URLs instead of the dynamic URLs.

The .htaccess redirects these new HTML URLs to the old index.php? type URLs.

And that part works since by itself the web site is totally working.

But then why if someone points directly to the old URL (which is anyways the HTML URLS are redirected to, if I understood it correctly), it does not work!!!

 

Its a long long thread of 140 pages. I am reading, and had one more person with this problem but he never got the resolution. Has anyone else faced the same problem of redirects from old URL to new ones not working?

 

Thanks,

Abhay

Share this post


Link to post
Share on other sites

Well - the only difference between my .htaccess and the two files you posted are that both files are together as one .htaccess file on my server, and the below portion of code is not commented out (doesn't have the # sign in front of it)

 

<IfModule mod_setenvif.c>
 <IfDefine SSL>
SetEnvIf User-Agent ".*MSIE.*" \
		 nokeepalive ssl-unclean-shutdown \
		 downgrade-1.0 force-response-1.0
 </IfDefine>
</IfModule>

 

You might also double check your settings in Admin - see if changing any of those has an effect. I know I had to mess with those settings in order to get ours functioning properly the first time I set it up.

 

There is also another section of code that should be in the top half of your .htaccess file that may need to be uncommented:

# If Search Engine Friendly URLs do not work, try enabling the
# following Apache configuration parameter
#
# AcceptPathInfo On

 

 

I tried merging the old and new one instead of just putting the code of new one. Nothing changed. The redirects are still getting this weird variable passed on to the URL "catalog = xxxx"

 

If I try to understand how the whole thing works:

The new tep_href_link (and new seo class file) creates the static URLs instead of the dynamic URLs.

The .htaccess redirects these new HTML URLs to the old index.php? type URLs.

And that part works since by itself the web site is totally working.

But then why if someone points directly to the old URL (which is anyways the HTML URLS are redirected to, if I understood it correctly), it does not work!!!

 

Its a long long thread of 140 pages. I am reading, and had one more person with this problem but he never got the resolution. Has anyone else faced the same problem of redirects from old URL to new ones not working?

 

Thanks,

Abhay


~Tracy
 

Share this post


Link to post
Share on other sites
I tried merging the old and new one instead of just putting the code of new one. Nothing changed. The redirects are still getting this weird variable passed on to the URL "catalog = xxxx"

 

If I try to understand how the whole thing works:

The new tep_href_link (and new seo class file) creates the static URLs instead of the dynamic URLs.

The .htaccess redirects these new HTML URLs to the old index.php? type URLs.

And that part works since by itself the web site is totally working.

But then why if someone points directly to the old URL (which is anyways the HTML URLS are redirected to, if I understood it correctly), it does not work!!!

 

Its a long long thread of 140 pages. I am reading, and had one more person with this problem but he never got the resolution. Has anyone else faced the same problem of redirects from old URL to new ones not working?

 

Thanks,

Abhay

 

There is nothing wrong with the .htaccess you have in /catalog/

 

But what do you have in root?

Share this post


Link to post
Share on other sites
There is nothing wrong with the .htaccess you have in /catalog/

 

But what do you have in root?

 

I dont have any .htaccess in the root. am I supposed to have one?

I do have a few files and folders in the root. Here is a snapshot of my root directory:

screenshot.jpg

 

Thanks,

Abhay

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×