Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / 1.3.5 to 1.3.7 upgrade issue with Ultimate SEO

1.3.5 to 1.3.7 upgrade issue with Ultimate SEO

Locked

Views: 3,652

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
31 Dec 2006, 7:36 PM
#1
profitshock avatar

profitshock

Zen Follower

Join Date:
Jul 2004
Location:
UK
Posts:
169
Plugin Contributions:
0

1.3.5 to 1.3.7 upgrade issue with Ultimate SEO

Hi

Upgrading from 1.3.5 to 1.3.7 with Ultimate SEO URLs v2.100 installed I came across an error using includes/functions/html_output.php and if possible I'd like some clarification on the implications please.

Around line 29 The original code was

 
/*
 * The HTML href link wrapper function
 */
  function original_zen_href_link($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true, $static = false, $use_dir_ws_catalog = true) {
    global $request_type, $session_started, $http_domain, $https_domain;

The new 1.3.7 code is

 
/*
 * The HTML href link wrapper function
 */
  function [b]zen_href_link[/b]($page = '', $parameters = '', $connection = 'NONSSL', $add_session_id = true, $search_engine_safe = true, $static = false, $use_dir_ws_catalog = true) {

The important diff is 'function zen_href_link'

With the 1.3.7 code the Ultimate SEO can't redeclare the zen_href_link so I've had to add 'original_' before zen_href_link to get it working.

Is this going to be a security issue or break something further down the line?

Thanks

Kev

2 Jan 2007, 4:03 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: 1.3.5 to 1.3.7 upgrade issue with Ultimate SEO

The Ultimate SEO mod renamed that function by adding the "original_" prefix as part of its implementation ... you'll have to do similarly to continue using the mod when upgrading.

3 Jan 2007, 12:02 AM
#3
wellsy6969 avatar

wellsy6969

New Zenner

Join Date:
Jan 2007
Posts:
2
Plugin Contributions:
0

Re: 1.3.5 to 1.3.7 upgrade issue with Ultimate SEO

Hi. I've just upgraded from 1.3.5 to 1.3.7 without any problems except one. When I have Ultimate URL's turned on and then go to checkout I don't get sent to the HTTPS area only the HTTP version.

When I turn off the Ultimate URL's I go to HTTPS on checkout without any problem.

Have I missed something simple?

Thanks

Paul

17 Jan 2007, 10:38 PM
#4
covone avatar

covone

Zen Follower

Join Date:
Oct 2004
Posts:
409
Plugin Contributions:
0

Re: 1.3.5 to 1.3.7 upgrade issue with Ultimate SEO

Hope someone can help I had 1.3.6 and upgraded to 1.3.7 had Ultimate SEO turn on, all seem to work well. Only thing I noticed that I hvn't been getting spider as often as I was before when I go to Who's Online. Does anyone think that from me upgrading to 1.3.7 and Ultimate SEO not working well together??

Should I just turn off Ultimate SEO and hv it spidered without the HTML endings.

Can someone help pls.

tks

23 Jan 2007, 8:13 PM
#5
mattstuible avatar

mattstuible

New Zenner

Join Date:
Jan 2006
Location:
Montreal, QC, Canada
Posts:
39
Plugin Contributions:
0

Re: 1.3.5 to 1.3.7 upgrade issue with Ultimate SEO

Hi all:

Has anyone gotten the Ultimate SEO contrib to work with 1.3.7? In particular, I'm using SSL on my checkout pages...it seems like this might be an issue.

Matt

24 Jan 2007, 12:30 PM
#6
wellsy6969 avatar

wellsy6969

New Zenner

Join Date:
Jan 2007
Posts:
2
Plugin Contributions:
0

Re: 1.3.5 to 1.3.7 upgrade issue with Ultimate SEO

I was having SSL trouble (see my earlier post). However I resolved this by re-installing to SEO mod after I performed the upgrade. This seems to have worked for me.

24 Jan 2007, 12:46 PM
#7
vaicekal avatar

vaicekal

New Zenner

Join Date:
Sep 2006
Posts:
9
Plugin Contributions:
1

Re: 1.3.5 to 1.3.7 upgrade issue with Ultimate SEO

mattstuible:

Hi all:

Has anyone gotten the Ultimate SEO contrib to work with 1.3.7? In particular, I'm using SSL on my checkout pages...it seems like this might be an issue.

Matt

Hello,

I also have issue/problem with Ultimate SEO module on ZenCart 1.3.7.

Clicking on the yellow Paypal Express button gives an error:
The requested URL /ipn_main_handler.php&type=ec&zenid=ab4d6** was not found on this server (http://www.unique-gifts-jewelry.com).

I upgraded from 1.3.0.2->1.3.5->1.3.6->1.3.7. Ultimate SEO module works well but it appearently cannot locate ipn_main_handler.php.

I have posted this problem in http://www.zen-cart.com/forum/showthread.php?p=314842&posted=1#post314842 .

Dr. Byte responded saying that SEO module is preventing the ipn_main_handler.php file from being allowed to execute properly: http://www.zen-cart.com/forum/showthread.php?t=55742&page=2.

Has anyone solved this issue?

25 Jan 2007, 12:30 AM
#8
paulprogrammer avatar

paulprogrammer

New Zenner

Join Date:
Jan 2007
Posts:
9
Plugin Contributions:
0

Re: 1.3.5 to 1.3.7 upgrade issue with Ultimate SEO

I was just attempting to install UltimateSEO 2.103 on a virgin (mostly) 1.3.7 install. Initially I was getting errors on one of the queries, but I replaced this:

$sql = "SELECT c.categories_id as id, c.parent_id, cd.categories_name as cName, cd2.categories_name as pName
    FROM ".TABLE_CATEGORIES." c,
    ".TABLE_CATEGORIES_DESCRIPTION." cd
    LEFT JOIN ".TABLE_CATEGORIES_DESCRIPTION." cd2
    ON c.parent_id=cd2.categories_id AND cd2.language_id='".(int)$this->languages_id."'
    WHERE c.categories_id=cd.categories_id
    AND cd.language_id='".(int)$this->languages_id."'";
```with this:

$sql = "SELECT c.categories_id, c.parent_id, cd.categories_name AS cName, cd2.categories_name AS pName
FROM ".TABLE_CATEGORIES." c,
".TABLE_CATEGORIES_DESCRIPTION." cd,
".TABLE_CATEGORIES_DESCRIPTION." cd2
WHERE c.parent_id = cd2.categories_id
AND cd2.language_id = '".(int)$this->languages_id."'
AND c.categories_id = cd.categories_id
AND cd.language_id = '".(int)$this->languages_id."'";


in two places in seo.url.php, and now the queries are working reasonably well.  My main issue is that when viewing categories, the category with the highest (i think) category id is being displayed as the category name in the generated url.

For instance, if my categories are "Europe" (id 4) and "Asia" (id 6) I get the following URLs:

<http://www.example.com/europe-c-4.html>
<http://www.example.com/europe-c-6.html>

Anyone having successes with this module?
22 Feb 2007, 8:53 AM
#9
zberke avatar

zberke

New Zenner

Join Date:
Jul 2005
Posts:
18
Plugin Contributions:
0

Re: 1.3.5 to 1.3.7 upgrade issue with Ultimate SEO

If you're still having the problem with no SSL/HTTPS redirects on checkout w/ SEO turned on, check out the 2nd post on this thread:

http://www.zen-cart.com/forum/showthread.php?t=58909