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

Chemo's Ultimate URL's

Views: 493,382

Results 641 to 660 of 1,407
23 Mar 2007, 9:12 PM
#641
chuckl avatar

chuckl

Totally Zenned

Join Date:
Nov 2006
Location:
Papworth, Cambridgeshire, UK
Posts:
717
Plugin Contributions:
0

Chemo's Ultimate URL's

Sorry Birdoasis, I missed your question there. Long day. Please take what follows as vague recollection, not definitive history.

Chemo is Bobby Easland, who wrote an SEO mod for OsCommerce a while back. This was/became Ultimate SEO URL's for OsC, and Chemo is generally acknowledged to know a little bit on the subject.
Someone possibly Dreamscape? ported this to Zen Cart, where it became known as Chemo's Ultimate SEO URL's , I guess to acknowledge the lineage from the OsC mod, and as tribute to Chemo.
This was changed and modified to continue working with each new version of Zen Cart by Dreamscape , and in the version 1.3's Dr. Byte did some work on the files.
The version 3 beta is a rewrite to address some of the creaking from the upgrades and shortcomings of the original.
There was another SEO mod for Zen Cart called I think SEO that just works? but I'm not sure of the status, as I've never used it.

23 Mar 2007, 10:00 PM
#642
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

Submitted bug:

If there is slash(s) in product names (/) the link is broken.
Suggestion: encode product names
this may also happens if file names contain slash

23 Mar 2007, 10:10 PM
#643
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

Grr, can't edit my post. Anyway:

Until Dreamscape fix this, hot fix for online stores:
Run this sql query:
update zen_products_description set products_name = replace (products_name,'/','put_any_character_you_want_to_replace_by')
I chose "|" so I use:
update zen_products_description set products_name = replace (products_name,'/','|')

23 Mar 2007, 10:21 PM
#644
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

I am stuck with the extention /?products_id=490 what have I done wrong? I removed the files from the old version of SEO url

added the following to .htaccess

RewriteEngine On
RewriteBase /

Seo Urls version 3.X

Don't rewrite real files or directories

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?seo_url=$1&%{QUERY_STRING} [L]

and added tp html_output.php

/**

  • Seo Urls zen_href_link replacement
    */
    function zen_href_link($page = '', $parameters = '', $connection = 'NONSSL',
    $add_session_id = true, $search_engine_safe = true, $static = false,
    $use_dir_ws_catalog = true) {

    return $GLOBALS['SeoUrl']->buildHrefLink($page, $parameters, $connection,
    $add_session_id, $static, $use_dir_ws_catalog);
    }

23 Mar 2007, 10:49 PM
#645
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

Alright I see why nothing worked I didn't enable Default extenstions

24 Mar 2007, 12:04 AM
#646
dreamscape avatar

dreamscape

Totally Zenned

Join Date:
Nov 2003
Posts:
721
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

yellow1912:

If there is slash(s) in product names (/) the link is broken.
Suggestion: encode product names

URLs are already being URL encoded.

You can also enable the strip invalid character plugin to clean up the urls some.

24 Mar 2007, 12:33 AM
#647
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

Thanks for typing all that Chuckl,

Especially after a long day.

I guess my confusion is that this thread is called Chemos, and the mod in the download section is called ultimate SEO with the link to dreamesacpe.com/drbyte.

Now I understand, and am going to pour my brain into the glass in the bathroom for the night.

24 Mar 2007, 3:46 AM
#648
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

dreamscape:

URLs are already being URL encoded.

You can also enable the strip invalid character plugin to clean up the urls some.
My bad _, I didnt see it. By the way, my Paypal Express url is rewritten as http://www.domain.com/ipn_main_handler.php.html?type=ec , any idea?

24 Mar 2007, 4:22 AM
#649
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

yellow1912:

My bad _, I didnt see it. By the way, my Paypal Express url is rewritten as http://www.domain.com/ipn_main_handler.php.html?type=ec , any idea?
I had "Skip urls with extensions [most likely real files]" checked when the error occured, somehow I uncheck it, turn seo url off, then check it and turn on again -> working now, weird :no:

24 Mar 2007, 7:43 AM
#650
voltage avatar

voltage

Totally Zenned

Join Date:
Apr 2005
Location:
Houston, TX
Posts:
1,356
Plugin Contributions:
1

Re: Chemo's Ultimate URL's

*** BUG REPORT ***

I browsed through the bugs reported, but I did not see this one. On the test site I have set up, when SEO is turned on, when I hit the add to cart button on the product info page, it takes me to the shopping cart page and says the cart is empty (or in other words it will not add the item to the cart). When I flip off Ultimate Seo's, I can add items to the cart again.

Thanks

24 Mar 2007, 9:45 AM
#651
chuckl avatar

chuckl

Totally Zenned

Join Date:
Nov 2006
Location:
Papworth, Cambridgeshire, UK
Posts:
717
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

Voltage, haven't ever seen that. is that when you are logged in as a customer, or just browsing? i.e. normal or secure mode?

25 Mar 2007, 9:23 PM
#652
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

voltage:

*** BUG REPORT ***

I browsed through the bugs reported, but I did not see this one. On the test site I have set up, when SEO is turned on, when I hit the add to cart button on the product info page, it takes me to the shopping cart page and says the cart is empty (or in other words it will not add the item to the cart). When I flip off Ultimate Seo's, I can add items to the cart again.

Thanks

I just checked, I was able to add an item to my cart then log in and pay for it with no issues. I don't see what you might be having issues with could you explain in more detail what you are doing?

25 Mar 2007, 11:53 PM
#653
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

I had issues with News Article comments intill I went into config>url plugins and unchecked:

JD Productions: News & Article Manager: RSS Feed

JD Productions: News & Article Manager: Index

JD Productions: News & Article Manager: Archive

JD Productions: News & Article Manager: Article

JD Productions: News & Article Manager: Article: Comments

26 Mar 2007, 1:13 AM
#654
fepb avatar

fepb

New Zenner

Join Date:
Mar 2007
Posts:
75
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

Hi,

I am trying to uninstall this contribution and though I have deleted all the files and the database table, the SEO URL's category and control panel is still showing up in my admin and I am getting this error:

Warning: call_user_func(zen_reset_cache_data_seo_urls) [function.call-user-func]: First argument is expected to be a valid callback in /hsphere/local/home/frangade/frangadesigns.com/admin/includes/functions/general.php on line **1538

**Can anyone tell me if any other files were automatically changed when I installed this contrib? I've double and triple checked to make sure I deleted all the seo files and can't figure it out.

Any help would be greatly appreciated!

26 Mar 2007, 2:39 AM
#655
blessisaacola avatar

blessisaacola

Totally Zenned

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

Re: Chemo's Ultimate URL's

ctcentralinfo:

I had issues with News Article comments intill I went into config>url plugins and unchecked:

JD Productions: News & Article Manager: RSS Feed

JD Productions: News & Article Manager: Index

JD Productions: News & Article Manager: Archive

JD Productions: News & Article Manager: Article

JD Productions: News & Article Manager: Article: Comments

What type of issues were you experiencing? Is this a bug with the mod or a local setting issue? If it's a bug, is logged so Dreamscape can take a look at it?

26 Mar 2007, 12:11 PM
#656
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

For Seo Urls 3.0.0-beta1 I got the following error when I checked the News and Article functions in config>Url Plugins

Warning: Invalid argument supplied for foreach() in /home/<username>/public_html/includes/classes/seo/seo.url.php on line 146

Fatal error: Call to a member function on a non-object in /home/<username>/public_html/includes/functions/whos_online.php on line 56

26 Mar 2007, 12:21 PM
#657
sophwise_com avatar

sophwise_com

New Zenner

Join Date:
Apr 2006
Location:
Sunny California
Posts:
44
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

I haven't had much time to trace the problem, but here is what I am experiencing so far:

zen_ez_pages_link(5,0,true,true,false)

returns

http://www.myshop.com/-ezp-5.html

which creates a page not found error when attempting to access it.

The native ez pages footer links are fine and ez page 5's link comes out fine as:

http://www.myshop.com/title-of-ezpage-ezp-5.html

And that link works fine.

in /includes/functions/functions_ezpages.php its called like this: (creates bad link)

zen_href_link(FILENAME_EZPAGES, 'id=' . $ez_pages_id . ((int)$ez_pages_chapter != 0 ? '&chapter=' . $ez_pages_chapter : ''), ($ez_pages_is_ssl=='0' ? 'NONSSL' : 'SSL'))

in /includes/modules/ezpages_bar_footer.php its called like this: (creates good link)

zen_href_link(FILENAME_EZPAGES, 'id=' . $page_query->fields['pages_id'] . '&chapter=' . $page_query->fields['toc_chapter'], ($page_query->fields['page_is_ssl']=='0' ? 'NONSSL' : 'SSL'))

The only difference I could see was that the zen_ez_pages_link() function doesn't fill in the chapter if its 0. Would this make the EZ Pages URL Plugin choke? Pretty pathetic I know, given how easy this would be to test, but if I try it in my current state I could end up uploading it to someone else's server :sleep:

Unfortunately I have been coding for about 14 straight hours. My mind is fried and I need sleep immediately before I pass out and wake up tomorrow with keyboard dimples on my forehead that last for a week.

I'll check back at it tomorrow and get into it if nobody figures it out before then. I haven't posted it to the tracker as a bug yet, as I cannot clear the fog out of my head long enough to get to the url!

Of course its always possible that this isn't actually a bug, and I'm not even here typing this post....Its happened before ya know!

Until Later!

Wes

26 Mar 2007, 12:32 PM
#658
sophwise_com avatar

sophwise_com

New Zenner

Join Date:
Apr 2006
Location:
Sunny California
Posts:
44
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

ctcentralinfo:

For Seo Urls 3.0.0-beta1 I got the following error when I checked the News and Article functions in config>Url Plugins

Given my current state of mind and lack of sleep, I have no idea why I am trying to answer this, but I had a similar problem happen in seo.url_plugin.php. Couldn't figure out what the H was causing it so I just wrapped the offending line in

if (isset(offending->object) {
    ...offending line of code...
}

I know its a terrible band-aid solution, but it worked for the problem I was running into...

DISCLAIMER: I am suffering from the effects of sleep deprivation, so this advice should be considered pretty bad. As with most things in life, your mileage may vary.

26 Mar 2007, 12:32 PM
#659
ctcentralinfo avatar

ctcentralinfo

Totally Zenned

Join Date:
Apr 2005
Posts:
853
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

SophWise.com:

I haven't had much time to trace the problem, but here is what I am experiencing so far:

zen_ez_pages_link(5,0,true,true,false)

returns

http://www.myshop.com/-ezp-5.html

which creates a page not found error when attempting to access it.

The native ez pages footer links are fine and ez page 5's link comes out fine as:

http://www.myshop.com/title-of-ezpage-ezp-5.html

And that link works fine.

in /includes/functions/functions_ezpages.php its called like this: (creates bad link)

zen_href_link(FILENAME_EZPAGES, 'id=' . $ez_pages_id . ((int)$ez_pages_chapter != 0 ? '&chapter=' . $ez_pages_chapter : ''), ($ez_pages_is_ssl=='0' ? 'NONSSL' : 'SSL'))

> 
> 
> in /includes/modules/ezpages_bar_footer.php its called like this: (creates good link)
> ```
zen_href_link(FILENAME_EZPAGES, 'id=' . $page_query->fields['pages_id'] . '&chapter=' . $page_query->fields['toc_chapter'], ($page_query->fields['page_is_ssl']=='0' ? 'NONSSL' : 'SSL'))

The only difference I could see was that the zen_ez_pages_link() function doesn't fill in the chapter if its 0. Would this make the EZ Pages URL Plugin choke? Pretty pathetic I know, given how easy this would be to test, but if I try it in my current state I could end up uploading it to someone else's server :sleep:

Unfortunately I have been coding for about 14 straight hours. My mind is fried and I need sleep immediately before I pass out and wake up tomorrow with keyboard dimples on my forehead that last for a week.

I'll check back at it tomorrow and get into it if nobody figures it out before then. I haven't posted it to the tracker as a bug yet, as I cannot clear the fog out of my head long enough to get to the url!

Of course its always possible that this isn't actually a bug, and I'm not even here typing this post....Its happened before ya know!

Until Later!

Wes

If you used the extension .html at the of url string for the last version of seo url remove it and it will work. I was using ez pages sidebox to link reviews, new products etc and noticed that the .html etc was causing problems.

27 Mar 2007, 8:04 PM
#660
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Chemo's Ultimate URL's

The order goes through, every step seems normal, I was redirected to Paypal, made payment the come back to checkout_success, the only difference:
I don't receive any payment, and the customer is not charged.

This happens after I upgraded to 1.3.7 from 1.3.6 and the new seo url.
My first attempt was to turn off seo url and it works. Any suggestion on how to fix it?