Zen Cart Logo
Forums / All Other Contributions/Addons / Simple SEO URL (OLD version) [support thread]

Simple SEO URL (OLD version) [support thread]

Views: 1,113,823

Results 2,001 to 2,020 of 5,058
26 Jan 2009, 8:07 PM
#2001
steve_a avatar

steve_a

New Zenner

Join Date:
Aug 2006
Posts:
34
Plugin Contributions:
0

Simple SEO URL (OLD version) [support thread]

Its now thowing

[26-Jan-2009 20:05:22] PHP Fatal error: Call to undefined function json_encode() in /webstuff/parthenon/admin/ssu_link_alias.php on line 100

which would explain it

26 Jan 2009, 8:09 PM
#2002
yellow1912 avatar

yellow1912

Totally Zenned

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

Re: Simple SEO URL (OLD version) [support thread]

Steve_A:

Its now thowing

[26-Jan-2009 20:05:22] PHP Fatal error: Call to undefined function json_encode() in /webstuff/parthenon/admin/ssu_link_alias.php on line 100

which would explain it
json encode requires php 5.2> which should explain why. Probably in the next version I will have that function defined if php version does not support it.

26 Jan 2009, 8:11 PM
#2003
steve_a avatar

steve_a

New Zenner

Join Date:
Aug 2006
Posts:
34
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

php 5.2, that would explain it.

Dont think I saw that in your release notes.

So I've added:```
if (!function_exists('json_encode'))
{
function json_encode($a=false)
{
if (is_null($a)) return 'null';
if ($a === false) return 'false';
if ($a === true) return 'true';
if (is_scalar($a))
{
if (is_float($a))
{
// Always use "." for floats.
return floatval(str_replace(",", ".", strval($a)));
}

  if (is_string($a))
  {
    static $jsonReplaces = array(array("\\", "/", "\n", "\t", "\r", "\b", "\f", '"'), array('\\\\', '\\/', '\\n', '\\t', '\\r', '\\b', '\\f', '\"'));
    return '"' . str_replace($jsonReplaces[0], $jsonReplaces[1], $a) . '"';
  }
  else
    return $a;
}
$isList = true;
for ($i = 0, reset($a); $i < count($a); $i++, next($a))
{
  if (key($a) !== $i)
  {
    $isList = false;
    break;
  }
}
$result = array();
if ($isList)
{
  foreach ($a as $v) $result[] = json_encode($v);
  return '[' . join(',', $result) . ']';
}
else
{
  foreach ($a as $k => $v) $result[] = json_encode($k).':'.json_encode($v);
  return '{' . join(',', $result) . '}';
}

}
}


And the table now populates
26 Jan 2009, 8:12 PM
#2004
yellow1912 avatar

yellow1912

Totally Zenned

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

Re: Simple SEO URL (OLD version) [support thread]

Steve_A:

php 5.2, that would explain it.

Dont think I saw that in your release notes.
It was not needed until this 3.6.0 so I completely forget about it. You can expect to grasp a fix within 1-2 day for this.

28 Jan 2009, 9:37 PM
#2005
weezee avatar

weezee

Zen Follower

Join Date:
May 2006
Location:
Louisiana
Posts:
259
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

yellow1912:

3.5.8: http://public.rubikintegration.com/

Please also describe a step by step process to reproduce the problem (after you upgrade)

I downloaded from http://public.rubikintergration.com. it said 3.5.8 I ftp all the files, then went to admin Reset all caches then click on module manager, list all modules, install new modules, Found and attempted to install 0 new modules. but the when I download from the forum download. I got updated, I don't remember what was updated. It show Beta 3.5.1.
that what it shows this last time I download from http//public.rubikintegration.com it didn't change. I was using the SEO urls because I thought it would increase my page ranking.

my ranking has decrease to a 1/10 when it was a 3/10 before. I had an Oscommerce and change to a Zen Cart. I don't know what couse my page rank to drop, I thought maybe it was that long tale on the url.

Any way the secure url is coming up now when I login.

28 Jan 2009, 10:32 PM
#2006
yellow1912 avatar

yellow1912

Totally Zenned

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

Re: Simple SEO URL (OLD version) [support thread]

Okie, first: using static url to boost ranking is a myth:
http://blog.rubikintegration.com/2008/12/16/seo-url-for-zencart/

Second: whenever there is a change in the url, even with proper redirection it will take some time for it to be in effect.

Third: there is a small bug, or rather a lack of feature in the current version of module manage prevents it from updating the version name in the database if not sql patch is required in the upgrade process. Nothing to worry about.

29 Jan 2009, 3:06 PM
#2007
swamyg1 avatar

swamyg1

Zen Follower

Join Date:
Dec 2008
Location:
San Fran
Posts:
382
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

I thought this was working fine for several days... but when adding new pages, creating an alias and resetting cache (in that order), I'm not getting my page urls to update to the alias! This has also happened when adding products all of a sudden.

Any reasoning behind this? Am I doing something wrong?

29 Jan 2009, 4:16 PM
#2008
yellow1912 avatar

yellow1912

Totally Zenned

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

Re: Simple SEO URL (OLD version) [support thread]

swamyg1:

I thought this was working fine for several days... but when adding new pages, creating an alias and resetting cache (in that order), I'm not getting my page urls to update to the alias! This has also happened when adding products all of a sudden.

Any reasoning behind this? Am I doing something wrong?
First, we need to confirm that you are using 3.6.0 and that you have auto alias ON if you want it to auto updates. Usually, if you add NEW products or categories you dont have to clear cache, you only need to clear cache when you edit existing products, categories.

One thing you should check is the Alias manager, for example: if you add a new category named "kid toys" with the id 98 then you should see it appears in the alias table like this: kid-toys-c-98 or kids.toys.c.98 .....

29 Jan 2009, 6:14 PM
#2009
littlegdesigns2004 avatar

littlegdesigns2004

New Zenner

Join Date:
Oct 2004
Location:
Wisconsin,USA/Bermuda
Posts:
41
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

I am using ZC version 1.3.8a. I tried installing SSU version 3.5.8 and had problems and found that it doesn't work with PHP4. So I uninstalled and reinstalled SSU version 2.9.6. Now I can't turn it on because it doesn't show in the Admin->Configuration listing. I found posts where that issue was fixed but the fix involved upgrading to a 3.+ version that is not compatible with PHP4. What files (if any) should I upload from version 3.5.8 to make version 2.9.6 work? I tried uploading just the includes/ folder and ran into parse errors in the admin with the includes/classes/ssu/core.php file. Any help on this would be greatly appreciated.

29 Jan 2009, 6:18 PM
#2010
yellow1912 avatar

yellow1912

Totally Zenned

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

Re: Simple SEO URL (OLD version) [support thread]

If you are using php4, you are stuck with 2.9.6.

When you go down from ssu 3+ to 2+ you actually didnt have to "uninstall", just upload the 2+ files to overwrite the 3+ files. You can just leave the admin settings there, tho some wont have any effect until you use 3+

However, since you did uninstall, here is one thing you can do now: go to your phpmyadmin, go to table module_version_tracker, you will see ssu in there, remove it.

Then go back to your admin - ssu manager, patches will be re-apllied.

30 Jan 2009, 2:35 AM
#2011
swamyg1 avatar

swamyg1

Zen Follower

Join Date:
Dec 2008
Location:
San Fran
Posts:
382
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

yellow1912:

First, we need to confirm that you are using 3.6.0 and that you have auto alias ON if you want it to auto updates. Usually, if you add NEW products or categories you dont have to clear cache, you only need to clear cache when you edit existing products, categories.

One thing you should check is the Alias manager, for example: if you add a new category named "kid toys" with the id 98 then you should see it appears in the alias table like this: kid-toys-c-98 or kids.toys.c.98 .....

Actually it looks like the link for my page was updated in the alias list once I reset the cache. I didn't realize it was there, so I added another alias. Since there was already one there I guess that's why it had no effect! Anyway, great mod and great work yellow!

I was using RC2 by the way.

Thanks a bunch.

30 Jan 2009, 5:54 PM
#2012
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Is RC4 ready for prime time? Can I risk it for a live store? I would love to have the auto link alias feature.

30 Jan 2009, 6:05 PM
#2013
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Downloaded RC4 and I was wondering if directories "tests" and "simpletest" need to be uploaded too? Are they just for testing if things don't work out?

30 Jan 2009, 6:28 PM
#2014
yellow1912 avatar

yellow1912

Totally Zenned

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

Re: Simple SEO URL (OLD version) [support thread]

mydanilo:

Downloaded RC4 and I was wondering if directories "tests" and "simpletest" need to be uploaded too? Are they just for testing if things don't work out?
Oops, leave them out, i forgot to remove them. RC4 should be ready. Think carefully before enabling auto-alias btw, especially on a live store that has links being well indexed already.

30 Jan 2009, 6:30 PM
#2015
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

OK, but what about... is it ready for prime time?

30 Jan 2009, 7:16 PM
#2016
yellow1912 avatar

yellow1912

Totally Zenned

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

Re: Simple SEO URL (OLD version) [support thread]

mydanilo:

OK, but what about... is it ready for prime time?
Yes you can use it, at least you can take advantage of the new caching system and the new link alias manager with search enabled.

30 Jan 2009, 8:01 PM
#2017
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Auto link alias works like a charm. :clap:

NOW this is officially THE coolest SEO mod on the block. I am blown away by your fast work. Who wants to still look at ugly cryptic url's? I know many argue that it won't matter to the search engines but it matters to normal shoppers out there. Just belongs to a modern site. CMS, blog or e-commerce.

30 Jan 2009, 9:32 PM
#2018
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Hi Yellow, I am having a problem that to be completely honest I am unsure if it is related to the SEO mod or not, I have been having a running battle with Paypal over it LOL

I shall try and explain it as best I can lol

Since Jan 9, I noticed that I was getting twice the paypal debug emails I normally get which at that stage didn't concern me at all, so I left it, then last week I noticed that the reward points that normally were automatically assigned to pending status in a customer's account weren't being assigned at all, with Paypal IPN this usually happens when the transaction is recorded as unique instead of web_accept (activating PDT usually records them as web_accept) so I checked Paypal IPN in admin and all orders since this date were recorded as unique.

Also since this date I was receiving PP debug emails from the store whenever someone paid me through my account...not the store...so I started thinking this was a PP problem and not related to the store, yet they swear blind it is the store script and not them because apparently the transactions are being recorded as web_accept then pdt is sending it back a second time as unique....I don't understand fully LOL

So the reason I am posting here LOL is that the only change made to my store between the 9th (last web_accept) and the 11th (first unique) is that I upgraded SSU to 3.5.5

I upgraded yesterday to 3.5.8 but it hasn't fixed the problem, and two orders out of all I have had since the 9th have shown in the cart but I never got emails for them.

You still have ftp access, and like I opened with, not sure if it is the SSU mod or not, but I would like to get your thoughts on it if I could, I have the pp logs too if that would help :)

30 Jan 2009, 9:33 PM
#2019
giuly avatar

giuly

Zen Follower

Join Date:
May 2007
Location:
Italy
Posts:
438
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

a question,
I have installed a demo version because I am doing the restyle of my site in a folder, and I read that I have to insert the path without subfolder...
so for example
https://www.mysite.com

but in mysite.com exists a functional site, it is safe for this site?
I modify something of this site?

Because I would do only a test on this subfolder to pass after at true installation

Thanks
:smile:

30 Jan 2009, 9:36 PM
#2020
yellow1912 avatar

yellow1912

Totally Zenned

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

Re: Simple SEO URL (OLD version) [support thread]

First, if your pp is working well, why do you even turn on your debug? BTW, this is controlled in your zencart payment admin.

Second, are all the orders recorded correctly in your cart? If they are, then the new order email should be sent to you unless you turn it off or something is wrong with your email server.