Zen Cart Logo
Forums / All Other Contributions/Addons / Chemo's Ultimate URL's

Chemo's Ultimate URL's

Views: 493,233

Results 121 to 140 of 1,407
10 Aug 2006, 14:06
#121
lucianman avatar

lucianman

Zen Follower

Join Date:
Sep 2004
Posts:
245
Plugin Contributions:
0

Chemo's Ultimate URL's

I am having a little problem with the mod, ultimate seo. I am getting an error code, 404 everytime i click on the lick of a product put in the shopping cart.

13 Aug 2006, 13:32
#122
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

I installed SEO and also made the "Paypal Fix" editing.
How do I do a "Credit Card Fix" , there were 2 mentions of this same problem on this thread but no solution to that , anybody ?

13 Aug 2006, 18:31
#123
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Chemo's Ultimate URL's

BlessIsaacola:

Please note that the above IPN patch may have been included in DrByte's fix but I did not check it.Yes, it was already included.

14 Aug 2006, 04:08
#124
harry2cool avatar

harry2cool

Zen Follower

Join Date:
Oct 2005
Posts:
280
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

What about the "Credit Card" fix, the payment gateway does not return to the "Checkout_Success" page it returns to some "Checktout_Process" page.

14 Aug 2006, 12:36
#125
preben avatar

preben

Zen Follower

Join Date:
Jan 2005
Location:
Scandinavia, North of Europe.
Posts:
144
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

I'm about to try installing this Ultimate SEO - but actually do not understand how.

The installation manual does not consider the 1.3.0.2 version, but older ones...

Can any provide an install manual for 1.3.0.2 ?

Thanks!

the old READ ME:
http://www.dream-scape.com/pub/zencart/Ultimate_SEO_URLs/install.html

it says in the very beginning:
"Open your Zen Cart file includes/application_top.php and find the following code around line 355:"

and

" require(DIR_WS_LANGUAGES . $template_dir_select . $_SESSION['language'] . '.php');

// include the extra language translations
include(DIR_WS_MODULES . 'extra_definitions.php');"

-I mean:
There is no require function, or no line 355... Line 247 is the last line...

But the old one (ver 1.2.7) had 962 lines...

14 Aug 2006, 15:29
#127
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Chemo's Ultimate URL's

I don't know if everyone is still having the 404 vs 200 problem, or if someone posted a fix, but this is what I did. This was done on a 1.3.0.2 store, with seo_urls v. 2.102.

  1. go to "Configuration", "My Store" then find "Missing Page Check" and change to "Page Not Found". this will cause wrong pages to go to the page_not_found sitemap page instead of the index.

  2. open up includes/init_includes/init_sanitize.php and change this:

  if (!is_dir(DIR_WS_MODULES .  'pages/' . $_GET['main_page'])) { 
    if (MISSING_PAGE_CHECK == 'On' || MISSING_PAGE_CHECK == 'true') {
      $_GET['main_page'] = 'index';
    } elseif (MISSING_PAGE_CHECK == 'Page Not Found') {
      $_GET['main_page'] = 'page_not_found';
    }

to this:

  if (!is_dir(DIR_WS_MODULES .  'pages/' . $_GET['main_page'])) { 
    if (MISSING_PAGE_CHECK == 'On' || MISSING_PAGE_CHECK == 'true') {
      $_GET['main_page'] = 'index';
    } elseif (MISSING_PAGE_CHECK == 'Page Not Found') {
	   header('HTTP/1.1 404 Not Found');
       $_SERVER["REDIRECT_STATUS"] = 404;
      $_GET['main_page'] = 'page_not_found';
    }
  1. open up .htacces and add this line:
    ErrorDocument 404 /index.php?main_page=page_not_found
    That will give you the page_not_found for non zen cart pages.

This method seems to give the 404 header for all wrong links, like below:
mydomain.com/notreallyapage
mydomain.com/notreallyapage.htm
mydomain.com/notreallyapage.html

If anyone sees an error in my way, let me know!

14 Aug 2006, 15:35
#128
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Chemo's Ultimate URL's

I have an issue myself though.

On a new 1.3.0.2 store, the urls when hovered over are still the old URLs.
Checkout https://www.zencart13.jadetrue.com

So when you hover over Shipping Info, you get
index.php?main_page=shippinginfo
instead of
shippinginfo.html

Yet when you click on it, it first goes to index.php?main_page=shippinginfo, then forwards to shippinginfo.html. All pages, all products, all links do this.

When I used this mod on a 1.2.7 store, it would show the links as shippinginfo.html. There was no refreshing or anything like that. They were just ALL the SEO URL links. I prefer it that way. Am I doing something wrong, or is this the way it works with 1.3.0.2?

Thanks!

14 Aug 2006, 19:12
#129
preben avatar

preben

Zen Follower

Join Date:
Jan 2005
Location:
Scandinavia, North of Europe.
Posts:
144
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

That's odd. I have just installed the 1.3.0.2 and the Ultimate SEO - with no error like that. Sure you have updated all files you need to?

First time I tried, I got to a non SEF url at all. Then I tried once more, and it behaved just like you said...

14 Aug 2006, 19:15
#130
preben avatar

preben

Zen Follower

Join Date:
Jan 2005
Location:
Scandinavia, North of Europe.
Posts:
144
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

I am using Ultimate SEO on zc 1.3.0.2

and have caracters in my language that do not show in a nice way in the url.

How do I use the "Enter special character conversions" ?
(in Admin/Configuration/SEO urls )

ø=>o doesn't work

14 Aug 2006, 19:33
#131
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Chemo's Ultimate URL's

jettrue:

I don't know if everyone is still having the 404 vs 200 problem, or if someone posted a fix, but this is what I did. This was done on a 1.3.0.2 store, with seo_urls v. 2.102.

  1. go to "Configuration", "My Store" then find "Missing Page Check" and change to "Page Not Found". this will cause wrong pages to go to the page_not_found sitemap page instead of the index.

  2. open up includes/init_includes/init_sanitize.php and change this:

if (!is_dir(DIR_WS_MODULES . 'pages/' . $_GET['main_page'])) {
if (MISSING_PAGE_CHECK == 'On' || MISSING_PAGE_CHECK == 'true') {
$_GET['main_page'] = 'index';
} elseif (MISSING_PAGE_CHECK == 'Page Not Found') {
$_GET['main_page'] = 'page_not_found';
}

> 
> to this:
> 
> ```
  if (!is_dir(DIR_WS_MODULES .  'pages/' . $_GET['main_page'])) { 
    if (MISSING_PAGE_CHECK == 'On' || MISSING_PAGE_CHECK == 'true') {
      $_GET['main_page'] = 'index';
    } elseif (MISSING_PAGE_CHECK == 'Page Not Found') {
	   header('HTTP/1.1 404 Not Found');
       $_SERVER["REDIRECT_STATUS"] = 404;
      $_GET['main_page'] = 'page_not_found';
    }
  1. open up .htacces and add this line:
    ErrorDocument 404 /index.php?main_page=page_not_found
    That will give you the page_not_found for non zen cart pages.

This method seems to give the 404 header for all wrong links, like below:
mydomain.com/notreallyapage
mydomain.com/notreallyapage.htm
mydomain.com/notreallyapage.html

If anyone sees an error in my way, let me know!

For a simpler way to achieve the same goal use the first post on this page: http://www.zen-cart.com/forum/showthread.php?t=35034&page=11

14 Aug 2006, 22:34
#132
offnetrob avatar

offnetrob

New Zenner

Join Date:
Jan 2006
Posts:
21
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

I am running:
ZC 1.3.0.2
Image Handler 2 1.3x

I tried installing this URL contribution but Image Handler would not work after that. So I uninstalled it and now I cna not access my admin area.

Has anyone had this problem??

Rob

14 Aug 2006, 23:28
#133
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Chemo's Ultimate URL's

BlessIsaacola:

For a simpler way to achieve the same goal use the first post on this page: http://www.zen-cart.com/forum/showthread.php?t=35034&page=11

That's basically what I did, but changing the missing page check to Page Not Found gives the sitemap instead of the home page (some people were wondering why it just went to the home page when there was a missing page). This way people can choose to show a page not found with a 404, OR have no 404's and instead have it just go to the home page. Some people may prefer that method. Also, the way you suggest shows a 404 for a missing page whether or not people have missing page check set to off in the admin. My way only shows the 404 if they have missing page set to "page not found". Don't know if that would be important to anyone or not, but thought I'd share my rationalization. :smartass:

Also, adding the 404 Error Document to the .htaccess, will give the page_not_found for pages like this:
mydomain.com/notapage. Without it you just get the standard 404 page.

14 Aug 2006, 23:47
#134
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Chemo's Ultimate URL's

Preben:

That's odd. I have just installed the 1.3.0.2 and the Ultimate SEO - with no error like that. Sure you have updated all files you need to?

First time I tried, I got to a non SEF url at all. Then I tried once more, and it behaved just like you said...

Figured it out. I had mixed up the admin's html_output.php with the regular html_output.php. DOH! :lamo:

15 Aug 2006, 01:19
#135
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Chemo's Ultimate URL's

jettrue:

That's basically what I did, but changing the missing page check to Page Not Found gives the sitemap instead of the home page (some people were wondering why it just went to the home page when there was a missing page). This way people can choose to show a page not found with a 404, OR have no 404's and instead have it just go to the home page. Some people may prefer that method. Also, the way you suggest shows a 404 for a missing page whether or not people have missing page check set to off in the admin. My way only shows the 404 if they have missing page set to "page not found". Don't know if that would be important to anyone or not, but thought I'd share my rationalization. :smartass:

Also, adding the 404 Error Document to the .htaccess, will give the page_not_found for pages like this:
mydomain.com/notapage. Without it you just get the standard 404 page.

You also know that you can set your missing page in Admin - Configurations - My Store to display page_not_found instead of index?

15 Aug 2006, 01:23
#136
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Chemo's Ultimate URL's

offnetrob:

I am running:
ZC 1.3.0.2
Image Handler 2 1.3x

I tried installing this URL contribution but Image Handler would not work after that. So I uninstalled it and now I cna not access my admin area.

Has anyone had this problem??

Rob

It's probably that you have some files messed up. Pasted below are the files that IH updated which are core files:

Image Handler 2.0: FILES TO OVER-RIDE (6 files)

/includes/modules/additional_images.php
/includes/functions/html_output.php
/includes/modules/main_product_image.php
/includes/modules/pages/popup_image/header_php.php
/includes/modules/pages/popup_image_additional/header_php.php
/admin//includes/modules/category_product_listing.php

IF Ultimate SEO URL mod touches any of these files (I know for a fact it touched html_output.php) you want to make sure that you do a file comparison to make sure you did not remove the IH codes from any of these files while uninstalling SEO URL.

15 Aug 2006, 02:11
#137
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Chemo's Ultimate URL's

BlessIsaacola:

You also know that you can set your missing page in Admin - Configurations - My Store to display page_not_found instead of index?

Yes, that is what I did, and that is what I said to do in the instructions (Step 1) in my first post. All you have to do is read it to see. :laugh:

Then, in init_sanitize.php, I put the

header('HTTP/1.1 404 Not Found');

under the code for "Page Not Found" so that the 404 error is only returned when I choose "page not found" in the admin. In your example, the 404 error is returned whether or not the person chooses "on" or "off" or "page_not_found" for the missing page check in the admin. What if someone choose "off" for the missing page check? They still get a 404 error returned with the way your example shows. In my example, as far as I can tell by looking at the php code, the 404 error is returned only if they choose "page not found" for the missing page check in the admin. I'm not trying to prove you wrong here, just trying to explain my reasoning. I could be totally wrong (has happened before) but it just makes sense to me.

15 Aug 2006, 10:14
#138
lucianman avatar

lucianman

Zen Follower

Join Date:
Sep 2004
Posts:
245
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

is no one getting this same problem

"I am having a little problem with the mod, ultimate seo. I am getting an error code, 404 everytime i click on the lick of a product put in the shopping cart."

15 Aug 2006, 10:22
#139
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Chemo's Ultimate URL's

lucianman:

is no one getting this same problem

"I am having a little problem with the mod, ultimate seo. I am getting an error code, 404 everytime i click on the lick of a product put in the shopping cart."
That would sound like a misconfigured set of rules in your .htaccess ... but that's just a guess.

15 Aug 2006, 17:57
#140
offnetrob avatar

offnetrob

New Zenner

Join Date:
Jan 2006
Posts:
21
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

BlessIsaacola:

It's probably that you have some files messed up. Pasted below are the files that IH updated which are core files:

Image Handler 2.0: FILES TO OVER-RIDE (6 files)

/includes/modules/additional_images.php
/includes/functions/html_output.php
/includes/modules/main_product_image.php
/includes/modules/pages/popup_image/header_php.php
/includes/modules/pages/popup_image_additional/header_php.php
/admin//includes/modules/category_product_listing.php

IF Ultimate SEO URL mod touches any of these files (I know for a fact it touched html_output.php) you want to make sure that you do a file comparison to make sure you did not remove the IH codes from any of these files while uninstalling SEO URL.

I reinstalled IH and nothing happens. If someone could take a look at my files or something...anything! Please private message me and i can provide hosting/admin details.