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

Results 4,081 to 4,100 of 5,058
10 Dec 2009, 4:24 AM
#4081
r1formetoo avatar

r1formetoo

Zen Follower

Join Date:
Sep 2008
Posts:
429
Plugin Contributions:
0

Simple SEO URL (OLD version) [support thread]

Yellow, I looked for a version number all in my cp but never found anything. I also won't be back at my desk CPU for several days so is there a way to check the ssu version in the zencart cp? I'm sure it's plenty old because I haven't downloaded the software in many months. I've run a manual cache clearing function and fixed the links issue for now but naturally still must find a permanent solution.
Posted via Mobile Device

10 Dec 2009, 6:04 PM
#4082
craft_magick avatar

craft_magick

Zen Follower

Join Date:
Nov 2007
Posts:
166
Plugin Contributions:
0

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

Help... a customer reported that one of my sub-categories 'Herbs L-M' was giving her a re-direct loop. I clicked it and it was.

I reset all my SEO cache in Admin and now...

Clicking on the Herbs sub-category "Herbs L-M" only takes customer to a single product 'Lemongrass' which is in the middle of all the products in that sub-category!

AND, when displaying the 'Lemongrass' product there is NO category tree at the top back to HERBS... it just shows HOME...Lemongrass!

All other Herb sub-categories work fine and I've made no updates to anything on the site nor added any new mods.

Here's a link to the website http://www.craftmagick.com

And here's a direct link to the HERBS main category for comparison of the "L-M" sub-category issue
http://www.craftmagick.com/herbs-c-1

Using Zen version 1.3.8a

What could be happening and how can I fix it?

10 Dec 2009, 8:46 PM
#4083
icecold avatar

icecold

Zen Follower

Join Date:
Jul 2008
Posts:
360
Plugin Contributions:
0

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

yellow1912:

Meaning you are running on php4, ssu requires php5

Also, from the above post it seems like you have 2 seo url modules installed, which will break things.

Which version runs on php4?
From where I can get it?

10 Dec 2009, 10:05 PM
#4084
vicavendano avatar

vicavendano

New Zenner

Join Date:
Oct 2009
Location:
Bronx, NY
Posts:
22
Plugin Contributions:
0

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

VicAvendano:

Hi, I have been working to get my pages validated, I browsed through the forums and found this solution to fix the unescaped ampersand issue in urls. I applied the change above, and the pages validate now. However when I go to a page that has parameters in the url (such as filter_id) it writes the escaped version of the ampersand in the address bar of the browser. (https://www.site.com/category/?sort=20a&filter_id=34). The pages still work fine and validate, but I would like the escaped version to be in the links within the html, not in the browser url bar. Any help would be greatly appreciated!

zen cart: 1.3.8.a
ssu: 3.7.1

Im still trying to get my pages validated... is this being worked on at all for future versions? The fix mentioned ends up writing "&" in the browser's url box with the fix mentioned above...

11 Dec 2009, 12:48 PM
#4085
cruithne avatar

cruithne

New Zenner

Join Date:
Dec 2009
Posts:
2
Plugin Contributions:
0

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

First I would like to thank yellow1912 for a smashing module. Excellent work. I installed ssu v3.5.8 on php5, zc 1.3.8 with no problems, apart from not entering .HTAccess properly first time. Once I corrected this, everything was fine.

However, when I turned on Link Alias and then Auto Alias, my URLs did transform into beautifully short addresses after refreshing cache - but upon signing out my login page address disappeared, I could not sign back in because the address I have for ADMIN/login.php returns a 404 page not found error.

Do you haveany idea what I have done wrong?
I need a quick fix for this as being locked out is bad for my heart, lol.

11 Dec 2009, 5:54 PM
#4086
cruithne avatar

cruithne

New Zenner

Join Date:
Dec 2009
Posts:
2
Plugin Contributions:
0

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

cactusman2:

Hi I got the same problem as QuickInks.

I need to protect a folder located in my admin folder with .htaccess and .htpasswd

The following lines cause the problem too:

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

> If I comment them everything works fine.
> 
> I tried to add RewriteEngine Off to the .htaccess located in the folder that I want to protect but it doesn't change anything, I still have a 404 error. 
> 
> Any idea?
> 
> Zen cart version: 1.3.8
> SSU version: ssu_beta_3.6.6(php5)

So, this is the same as mine.  I tried the admin/.htaccess change and no effect too.......wow, 400 pages, my eyes are dizzy.
11 Dec 2009, 6:23 PM
#4087
craft_magick avatar

craft_magick

Zen Follower

Join Date:
Nov 2007
Posts:
166
Plugin Contributions:
0

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

Craft Magick:

Help... a customer reported that one of my sub-categories 'Herbs L-M' was giving her a re-direct loop. I clicked it and it was.

I reset all my SEO cache in Admin and now...

Clicking on the Herbs sub-category "Herbs L-M" only takes customer to a single product 'Lemongrass' which is in the middle of all the products in that sub-category!

AND, when displaying the 'Lemongrass' product there is NO category tree at the top back to HERBS... it just shows HOME...Lemongrass!

All other Herb sub-categories work fine and I've made no updates to anything on the site nor added any new mods.

Here's a link to the website http://www.craftmagick.com

And here's a direct link to the HERBS main category for comparison of the "L-M" sub-category issue
http://www.craftmagick.com/herbs-c-1

Using Zen version 1.3.8a

What could be happening and how can I fix it?

Since no fix was found I renamed two of the other Herb sub-cats to include the 'L' and 'M' herbs and transferred all L-M herbs into the renamed sub-cats. Hid the original 'L-M' sub-cat and all seemed to work with the revisions for about a minute...

Now it's the renamed "M-P" sub-cat that has the problem, and is only showing another "L" cat herb 'Licorice root' in the category product display list!

Help... :frusty:

11 Dec 2009, 11:10 PM
#4088
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,676
Plugin Contributions:
0

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

Yellow1912,

I am going to re-upload the mod again. If I run any problems I will let you know here.

11 Dec 2009, 11:17 PM
#4089
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,676
Plugin Contributions:
0

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

I have uploaded the mod. I am still getting a blank page on the main site. I did a Debug and this is what error is giving me:

PHP Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/m/o/r/morristech/html/includes/classes/ssu/core.php on line 3

11 Dec 2009, 11:25 PM
#4090
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,676
Plugin Contributions:
0

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

In the Admin area:

Admin>Configuration>SEO URLs getting a error on the page:

Warning: call_user_func(zen_reset_cache_data_seo_urls): First argument is expected to be a valid callback in /home/content/m/o/r/morristech/html/admin/includes/functions/general.php on line 1544

And also

Admin>Extras>Simple SEO URL Manager getting an page error:

Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/m/o/r/morristech/html/admin/includes/classes/ssu.php on line 12

Please Help!

12 Dec 2009, 12:44 AM
#4091
vicavendano avatar

vicavendano

New Zenner

Join Date:
Oct 2009
Location:
Bronx, NY
Posts:
22
Plugin Contributions:
0

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

VicAvendano:

Im still trying to get my pages validated... is this being worked on at all for future versions? The fix mentioned ends up writing "&" in the browser's url box with the fix mentioned above...

Hi Yellow, I think I finally got the mod to work and validate pages... I applied the fix to the ssu_link() function that replaces "&" with &". Then what I had to do was edit the postParseURL(). I set it to revert all cases of "&" to "&" on $regenerated_link, and now it all seems to be working fine. I hope that can help someone else as well, or for it to be implemented in the next version. I can go back to loving this mod again lol

:clap:

12 Dec 2009, 1:44 AM
#4092
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,676
Plugin Contributions:
0

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

bkeaton:

In the Admin area:

Admin>Configuration>SEO URLs getting a error on the page:

Warning: call_user_func(zen_reset_cache_data_seo_urls): First argument is expected to be a valid callback in /home/content/m/o/r/morristech/html/admin/includes/functions/general.php on line 1544

And also

Admin>Extras>Simple SEO URL Manager getting an page error:

Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/m/o/r/morristech/html/admin/includes/classes/ssu.php on line 12

Please Help!

I forgot to mention I using this version: Version: 3.5.8

13 Dec 2009, 2:53 AM
#4093
escookies avatar

escookies

New Zenner

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

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

I running 1.3.8a and I've got SSU 3.7.1.

I've got a problem with attributes.... the attribute info for a product is lost after I add it to the cart. When I click on an item in the shopping cart, I go back to the product info page, but none of the attributes are pre-selected.

If SSU is off when I try this, I go back to the product info page with the attributes set to match what I picked when I added the item to the cart initially.

I'm not sure where/how it gets lost, because the info is still there when I checkout.

Any suggestions? is this a bug or did I botch the install?

Thanks,
-Tommy

14 Dec 2009, 10:04 AM
#4094
yellow1912 avatar

yellow1912

Totally Zenned

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

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

I have never paid too much attention to the attributes selected on the product info page so I'm not so sure. But can you post or pm me 2 links displayed on your browser address bar when you go back from the shopping cart to the product info

  1. with ssu enabled
  2. with ssu disabled
14 Dec 2009, 11:23 AM
#4095
olivqa avatar

olivqa

New Zenner

Join Date:
Dec 2009
Posts:
5
Plugin Contributions:
0

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

Please tell me if such a problem with SSU has been ever discussed:

When "Main page opens with category" is chosen you can't go to next page (nor any page in pagination)

In link we have:
"?sort=20a&page=2" that seems to miss category name.

When I click on category name - it works - category name is at the beginning.
"dla-niej?sort=20a&page=2"

You may have a look at tesor.pl.

Am I doing something wrong? Please help me how to fix it.

14 Dec 2009, 1:18 PM
#4096
yellow1912 avatar

yellow1912

Totally Zenned

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

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

You may have to show us the exact code you are using to show the category on main page there.
The code that is responsible for generating the pagination is probably causing the problem.,

olivqa:

Please tell me if such a problem with SSU has been ever discussed:

When "Main page opens with category" is chosen you can't go to next page (nor any page in pagination)

In link we have:
"?sort=20a&page=2" that seems to miss category name.

When I click on category name - it works - category name is at the beginning.
"dla-niej?sort=20a&page=2"

You may have a look at tesor.pl.

Am I doing something wrong? Please help me how to fix it.

14 Dec 2009, 2:20 PM
#4097
olivqa avatar

olivqa

New Zenner

Join Date:
Dec 2009
Posts:
5
Plugin Contributions:
0

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

It would be tpl_modules_product_listing.php I guess...

Here is the code:

<?php /** * Module Template * * @package templateSystem * @copyright Copyright 2003-2005 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: tpl_modules_product_listing.php 3241 2006-03-22 04:27:27Z ajeh $ * UPDATED TO WORK WITH COLUMNAR PRODUCT LISTING 04/04/2006 */ include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_PRODUCT_LISTING)); if((!isset($is_index_listing) || $is_index_listing) && $listing_split->number_of_rows > 0) { if (isset($is_index_listing) && $is_index_listing){ echo $index_title; $index_title = ''; } ?> <div class="productListing"> <?php // only show when there is something to submit and enabled if ($show_top_submit_button == true) { ?> <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_ADD_PRODUCTS_TO_CART, BUTTON_ADD_PRODUCTS_TO_CART_ALT, 'class="submit1" name="submit1"'); ?></div> <br class="clearBoth" /> <?php } // show top submit ?> <?php if ((!isset($is_index_listing) || !$is_index_listing) && ($listing_split->number_of_rows > 0) && ( (PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3') ) ) { ?> <div class="productsListingTopNumber" class="navSplitPagesResult back"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></div> <div class="productsListingListingTopLinks navSplitPagesLinks forward"><?php echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, zen_get_all_get_params(array('page', 'info', 'x', 'y', 'main_page'))); ?></div> <br class="clearBoth" /> <?php } ?> <?php /** * load the list_box_content template to display the products */ if (PRODUCT_LISTING_LAYOUT_STYLE == 'columns') { require($template->get_template_dir('tpl_columnar_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_columnar_display.php'); } else {// (PRODUCT_LISTING_LAYOUT_STYLE == 'rows') require($template->get_template_dir('tpl_tabular_display.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_tabular_display.php'); } ?> <?php if ((!isset($is_index_listing) || !$is_index_listing) && ($listing_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3')) ) { ?> <div class="productsListingBottomNumber navSplitPagesResult back"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></div> <div class="productsListingListingBottomLinks navSplitPagesLinks forward"><?php echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, zen_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></div> <br class="clearBoth" /> <?php } ?>
14 Dec 2009, 3:45 PM
#4098
g_star avatar

g_star

New Zenner

Join Date:
Jan 2009
Posts:
1
Plugin Contributions:
0

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

Hiya,
So if you are having trouble at login in when SSU is turned on, resulting in 404 being returned, it appears to be due to password protection on the admin and/or payment module causing the page not to be found.

Is it possible for a fix for this bug? Great module still.

16 Dec 2009, 11:42 AM
#4099
oliviapaige avatar

oliviapaige

New Zenner

Join Date:
Dec 2009
Posts:
1
Plugin Contributions:
0

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

=> For a smooth install :

  1. Backup all your files;
  2. Apply the mod code changes on copies of your files;
  3. Upload all files;
  4. Go to Visit admin→extras→ssu manager (you should see notice saying that the database patches have been applied)
  5. Check your .htaccess contents, just run ssu_check.php. And copy the contents there.
17 Dec 2009, 4:45 PM
#4100
r1formetoo avatar

r1formetoo

Zen Follower

Join Date:
Sep 2008
Posts:
429
Plugin Contributions:
0

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

Yellow, how do I check my current version? I still have got to solve this cache problem.

Ian