Page 1 of 2 12 LastLast
Results 1 to 10 of 5054

Hybrid View

  1. #1
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple SEO URL [support thread]

    Quote Originally Posted by ttco View Post
    Here it is: Fatal error: Call to undefined function: registerarray() in /hsphere/local/home/ttco2006/tinytowntrading.com/includes/classes/ssu/languages/default.php on line 8
    If you open that file, do you see something like this:
    PHP Code:
    $this->registerArray($params); 
    (the "A" is in upper-case)
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  2. #2
    Join Date
    Nov 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    Yes. Here's the entire file:

    <?php
    // note: we can later move part of this function into sub-functions, which we can store in the base class.
    require('language.php');
    class SSULanguage extends SSULanguageBase{
    var $registry;

    function parse_name($name, $params){
    $this->registerArray($params);
    // Remove short words first
    if(($word_length = $this->registry('minimum_word_length')) > 0){
    $name_parts = explode(' ', $name);
    foreach($name_parts as $key => $value)
    if(strlen($value) < $word_length) unset($name_parts[$key]);
    $name = implode($this->registry('name_delimiter'), $name_parts);
    }

    // trim the sentence
    if ($this->registry('max_name_length') > 0 && (strlen($name) > $this->registry('max_name_length'))){
    preg_match('/(.{' . $this->registry('max_name_length') . '}.*?)\b/', $name, $matches);
    $name = rtrim($matches[1]);
    }

    // we replace any non alpha numeric characters by the name delimiter
    $name = str_replace(array(' ', '\'', '/', '\\', '"', '.', ':', '@', '_', '-', '?', '&', '='), $this->registry('name_delimiter'), $name);

    // remove excess $this->registry('name_delimiter')
    $name = $this->removeDelimiter($name);

    // remove trailing _
    $name = strtolower(trim($name, $this->registry('name_delimiter')));
    return urlencode($name);
    }
    }

  3. #3
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple SEO URL [support thread]

    Interesting. Can you please post the content of your language.php as well? And the above fatal error is the only one you current have, right?
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  4. #4
    Join Date
    Nov 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    Yes, that's the only one.

    Here's language.php:

    <?php
    class SSULanguageBase{
    var $registry;

    function register($name, $value){
    $this->registry[$name] = $value;
    }

    function registry($name){
    if(isset($this->registry[$name]))
    return $this->registry[$name];
    return null;
    }

    function registerArray($params){
    foreach ($params as $key => $value)
    $this->register($key, $value);
    }

    function removeDelimiter($name){
    // remove excess $this->registry('name_delimiter')
    $name = preg_replace('/'.$this->registry('name_delimiter').$this->registry('name_delimiter').'+/', $this->registry('name_delimiter'), $name);
    // remove anything that looks like our identifiers in the name
    $name = str_replace(array( $this->registry('category_identifier'),
    $this->registry('manufacturer_identifier'),
    $this->registry('page_identifier'))
    , '', $name);
    foreach($this->registry('products_identifiers') as $products_identifier)
    $name = str_replace($products_identifier, '', $name);
    return $name;
    }

    }

  5. #5
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple SEO URL [support thread]

    This is a bug for some very old php4 versions (things not working well with mixcase class-name).

    What is your php version?

    Regards

    Link to bug: http://bugs.php.net/bug.php?id=27227
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  6. #6
    Join Date
    Nov 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    It's 4.3.11

  7. #7
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple SEO URL [support thread]

    4.3.11 is released 3-4 years ago, perhaps it's now time for your host to upgrade to a newer version?

    Each new version released come with bug fixes and performance improvement, so it will benefit your whole site over all.

    In the mean time, please do this: please turn off ssu via admin, this should return your links back to normal. Please pm me if you need more help.

    Regards
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  8. #8
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple SEO URL [support thread]

    @everyone:

    As pointed out by nagelkruid

    "maybe more for documentation, but is it possible the glid is actually a typo and Set Query Key's Exclude List should actually be default set to zenid,gclid ^_^"

    I had a typo there, please go to your admin->configuration->ssu settings->exclude query and change "glid" to "gclid"

    This will be updated in the next version as well.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  9. #9
    Join Date
    Mar 2008
    Location
    The Free South
    Posts
    175
    Plugin Contributions
    0

    Default Re: Simple SEO URL [support thread]

    I installed 3.4.5 and followed the install directions to the letter I believe.

    Now, with SSU turned on the simple URLS show but they do not link to anything on my site. I have it turned off as of now.

    ???

  10. #10
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Simple SEO URL [support thread]

    Quote Originally Posted by micmed View Post
    I installed 3.4.5 and followed the install directions to the letter I believe.

    Now, with SSU turned on the simple URLS show but they do not link to anything on my site. I have it turned off as of now.

    ???
    It's hard to know what's going on based on your description. What do you mean by not linking to anything on your site? What kind of links are shown? What errors you get?

    Be more specific, always be very specific when you report a problem. What you are doing is similar to saying: help, my computer doesnt run.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Simple SEO URLs for ZC 1.5.x [Support Thread]
    By cvhainb in forum All Other Contributions/Addons
    Replies: 46
    Last Post: 8 Jun 2022, 09:42 AM
  2. Simple SEO URL, Ultimate SEO URLs, Ceon URI Mapping SEO
    By pizza392 in forum All Other Contributions/Addons
    Replies: 13
    Last Post: 21 Jan 2015, 10:49 AM
  3. How do I tell what version my Simple SEO URL addon mod, and others, are?
    By kevinmc3 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 6 May 2010, 01:32 AM
  4. Can't create new thread in Simple SEO URL forum
    By gseiber in forum General Questions
    Replies: 1
    Last Post: 3 Apr 2010, 01:56 PM
  5. Re: Simple SEO URL [support thread]
    By creamcrackers in forum General Questions
    Replies: 2
    Last Post: 16 Aug 2009, 03:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg