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,583

Results 221 to 240 of 5,058
9 May 2008, 1:23 PM
#221
jill8026 avatar

jill8026

Totally Zenned

Join Date:
May 2007
Posts:
461
Plugin Contributions:
0

Simple SEO URL (OLD version) [support thread]

sorry about that...I have that installed but now have the following..

still NO INPUT FILE when clicking on a product and here is the error I get in the admin area:

Warning: file(/home/content/i/l/o/ilovephotogift/html/admin/includes/module_installation/install.sql): failed to open stream: No such file or directory in /home/content/i/l/o/ilovephotogift/html/admin/includes/classes/module_installer.php on line 201
Error: Nothing to do - no query or query-file specified. Failed to set up version tracker table /home/content/i/l/o/ilovephotogift/html/admin/includes/module_installation/yellow1912_ssu/current_version.txt is missing Module version could not be found in file and database

9 May 2008, 1:26 PM
#222
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Hi jill,

Make sure you downloaded that module from here (rev15) and upload the unzipped package to its appropriate folders:
http://code.google.com/p/zencart-module-manager/downloads/list

From the errors you posted, it looks like the needed files are not there.

Regards.

PS: you are missing admin/includes/module_installation/install.sql for some reason.

9 May 2008, 1:37 PM
#223
jill8026 avatar

jill8026

Totally Zenned

Join Date:
May 2007
Posts:
461
Plugin Contributions:
0

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

thanks yellow...i am getting there but still have issues....

here is admin errors that are left in extras/simple seo manager:

Failed: 1 ERROR: Cannot create table module_version_tracker because it already exists Note: 1 statements ignored. See "upgrade_exceptions" table for additional details. Failed to set up version tracker table

That is what comes up as soon as I enter it.....

and I am still getting the error of no input file specified when I click on a category on my site although the category title is correct......

9 May 2008, 1:38 PM
#224
yellow1912 avatar

yellow1912

Totally Zenned

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

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

set admin/includes/module_installation permission to 0777

Regards

9 May 2008, 3:33 PM
#225
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Alrite, as this may help others, I will try to go through each problem I encountered while helping jill8026 to resolve his problem:

  1. You need module-manager for this mod:
    http://code.google.com/p/zencart-module-manager/downloads/list
    Troubleshooting: http://code.google.com/p/zencart-module-manager/wiki/Installation

  2. No input file specified.
    This seems to be a specific problem because of the way GoDaddy configured their server, it may happen on other hosts that use php on cgi as well.

Seems like a number of fixes needed to be applied when you encounter this problem:
i. Use the .htaccess below:

#### BOF SSU
Options +FollowSymLinks -MultiViews
RewriteEngine On
# Make sure to change "test_site" to the subfolder you install ZC. If you use root folder, change to: RewriteBase / 
RewriteBase /test_site/

# Deny access from .htaccess
RewriteRule ^\.htaccess$ - [F]

RewriteCond %{SCRIPT_FILENAME} -f [OR]
RewriteCond %{SCRIPT_FILENAME} -d
RewriteRule .* - [L]

RewriteRule ^(.+) index.php?/$1 [E=VAR1:$1,QSA,L]
#### EOF SSU

ii. Create a file call php.ini in your ZC root folder with the content:

cgi.fix_pathinfo = 1

If you are using php5, change that to php5.ini

iii. Open includes/init_includes/init_ssu.php and find this line:

function parse_url(){    
        global $request_type;

Add below:

foreach($_GET as $key=>$value)
            if(strstr($key,'/') || strstr($value,'/')) unset($_GET[$key]);

That's it for now, I will try to find a better way to get around this problem.

9 May 2008, 7:08 PM
#226
yellow1912 avatar

yellow1912

Totally Zenned

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

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

SSU rev 229 released

  1. Address a number of problems encountered when running PHP as CGI
  2. Use strpos instead of strstr
  3. Minor bug fixes

https://svn.rubikintegration.com/zencart_mods/zipped_modules/

10 May 2008, 12:13 AM
#227
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

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

yellow1912:

@Mike:
If you think of it like this: think of category as a parent folder, then the product as a file or a child folder, now does it make more sense to use the current link style?

Plus this link style is used by most website out there (Zencart or not), so I believe people will be more familiar with it.

Thanks mydanilo and yellow

I took a read through from 140 as suggested, and can see the points of discussion regarding the need for category id to be in the URL,

Howver, like mydanilo, I have seen a few other sites that are Zen, and using an alternate SEO and they do not include the cat id..

If it has to be, then it has to be, just I agree with others that the "look" of the URL is just as important, which brings to me another point, can you force the URL to include Uppercase First Character in the URL ?

10 May 2008, 12:42 AM
#228
yellow1912 avatar

yellow1912

Totally Zenned

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

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

Well, since you can have thousands of products/categories, some of them have the same name, the id MUST be there on the link, no other way.

As for the cat id, you can remove them, but if you do so you have to remove them from All product links to avoid duplicated content. And as I mentioned before, zencart by default has it there, that means that it is needed somewhere. Removing it means you risk losing a core feature.

Why do you want to have upper case in the links? People always try to avoid that as much as they can.

10 May 2008, 12:42 AM
#229
mydanilo avatar

mydanilo

Totally Zenned

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

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

Mike, have you ever seen upper case in a url? Don't think that is even possible. Try and type an url in the address bar in your browser and hit enter. See what happens? Url's are lower case....

10 May 2008, 12:46 AM
#230
yellow1912 avatar

yellow1912

Totally Zenned

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

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

mydanilo:

Mike, have you ever seen upper case in a url? Don't think that is even possible. Try and type an url in the address bar in your browser and hit enter. See what happens? Url's are lower case....
If you havent noticed yet, cPath has the P in uppercase.

@Mike: But why do we have to complicate things? I dont feel comfortable with upper case in the links. And SSU is open-source, you can jump in and make the changes you want. The function you want to edit is _parse_name, clean cache after you make any change.

10 May 2008, 1:39 AM
#231
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

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

mydanilo:

Mike, have you ever seen upper case in a url? Don't think that is even possible. Try and type an url in the address bar in your browser and hit enter. See what happens? Url's are lower case....

Ok guys.... points taken..

Thanks.. :smile:

10 May 2008, 1:41 AM
#232
yellow1912 avatar

yellow1912

Totally Zenned

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

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

I believe you are still running on the test site rite Mike? Don't forget to get the latest version when you use in live mode.
A number of bugs have been discovered and fixed.

Regards.

Mike_Dean:

Ok guys.... points taken..

Thanks.. :smile:

10 May 2008, 1:43 AM
#233
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

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

yellow1912:

I believe you are still running on the test site rite Mike? Don't forget to get the latest version when you use in live mode.
A number of bugs have been discovered and fixed.

Regards.

Thanks..

Yes still running on the test, So I'm happy to change and edit things as per any advice.

Appreciate the great advice and response

Mike

10 May 2008, 2:45 AM
#234
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

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

yellow1912:

If you havent noticed yet, cPath has the P in uppercase.

@Mike: But why do we have to complicate things? I dont feel comfortable with upper case in the links. And SSU is open-source, you can jump in and make the changes you want. The function you want to edit is _parse_name, clean cache after you make any change.

Hi,

"IF" I was to have a look at this, just see what it would like like, where would I find the file that contains the function _parse_name .

I did a search, but could not find it.

10 May 2008, 3:05 AM
#235
yellow1912 avatar

yellow1912

Totally Zenned

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

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

includes/init_includes/init_ssu.php

That file is the brain of ssu, everything is in there.

10 May 2008, 9:58 AM
#236
pavka avatar

pavka

New Zenner

Join Date:
Apr 2008
Posts:
8
Plugin Contributions:
0

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

i have this when i try open extras - ssurl

Fatal error: require_once() [function.require]: Failed opening required 'includes/classes/module_installer.php' (include_path='.:/:/usr/php/pear') in /pa/ssu.php on line 10

and i dont have module_installer.php in /includes/classes/...

///////// ok founded module installer... but urls still looks bad /

also my urls looks like this:

http://www.mypage.com/advanced_search.SSU_FILE_EXTENSION

any suggestions? :)

my zen is 1.3.8a

10 May 2008, 10:08 AM
#237
pavka avatar

pavka

New Zenner

Join Date:
Apr 2008
Posts:
8
Plugin Contributions:
0

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

sorry for new post but cannot edit after 7 minutes... :(


i edit htaccess and put / cuz my installation dir is in main root folder

i install module installer and clear cache

but i have links like that:

http://www.mysite.com/cSSU_ID_DELIMITER84 on every cattegory and products

but for example search is working ok

http://www.mysite.com/advanced_search

my zen is 1.3.8a and i modificate /admin/ folder to /pa/ for security purposes

what i need to do more? maybe its because i change this admin -> pa ?

thx in advance

10 May 2008, 1:01 PM
#238
mike_dean avatar

mike_dean

Totally Zenned

Join Date:
Feb 2006
Location:
Central Coast, NSW, Australia
Posts:
531
Plugin Contributions:
0

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

pavka:

sorry for new post but cannot edit after 7 minutes... :(


i edit htaccess and put / cuz my installation dir is in main root folder

i install module installer and clear cache

but i have links like that:

http://www.mysite.com/cSSU_ID_DELIMITER84 on every cattegory and products

but for example search is working ok

http://www.mysite.com/advanced_search

my zen is 1.3.8a and i modificate /admin/ folder to /pa/ for security purposes

what i need to do more? maybe its because i change this admin -> pa ?

thx in advance

Hi,

Attempted to laod this on to my live site tonite but came up with simiar error messages as above.

my current .htaccess is as follows

RewriteEngine on

RewriteCond %{HTTP_HOST} ^nortsandones.com.au$ [OR]
RewriteCond %{HTTP_HOST} ^www.nortsandones.com.au$
RewriteRule ^/?$ http://www.nortsandones.com.au/index.php?main_page= [R=301,L]

I tried adding your .htaccess to the end of this, but I just get errors as per above.

I tried various formats in the .htaccess files but nothing worked.

Obviously something simple, but not sure what..

(Oh.. I did make sure that mod manager was loaded on the live site)

Thanks,
Mike

10 May 2008, 1:28 PM
#239
jill8026 avatar

jill8026

Totally Zenned

Join Date:
May 2007
Posts:
461
Plugin Contributions:
0

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

Does anyone know how to "turn off" this mod without completely deleting it...I am having troubles with my large images not displaying and need to see if this mod is causing it...Thanks!

10 May 2008, 2:33 PM
#240
yellow1912 avatar

yellow1912

Totally Zenned

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

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

It seems to me you didnt have the sql patch installed
Did you have module manage installed okie?
Did you go to extras->seo module manager at least once?

pavka:

sorry for new post but cannot edit after 7 minutes... :(


i edit htaccess and put / cuz my installation dir is in main root folder

i install module installer and clear cache

but i have links like that:

http://www.mysite.com/cSSU_ID_DELIMITER84 on every cattegory and products

but for example search is working ok

http://www.mysite.com/advanced_search

my zen is 1.3.8a and i modificate /admin/ folder to /pa/ for security purposes

what i need to do more? maybe its because i change this admin -> pa ?

thx in advance