Jump to content

cdarst

Members
  • Content count

    8
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Cody
  1. cdarst

    ULTIMATE Seo Urls 5 - by FWR Media

    Good to know about @ as a delimeter. The problem for me seems to be that a string of "_" passes the regex (and the tep_not_null). I changed if( preg_match( '@[0-9_]@', $detail['path'] ) ) { to: if( preg_match( '@[0-9_](?=.*\d)@', $detail['path'] ) ) { and it seems to work since it forces the regex to match at least one digit so a category separator alone doesn't break it.
  2. cdarst

    ULTIMATE Seo Urls 5 - by FWR Media

    Hmmm didn't work ... What do those @'s in the regex accomplish?
  3. cdarst

    ULTIMATE Seo Urls 5 - by FWR Media

    Just had a duh moment. Errors are easier to catch when they're not on a white background I guess. :o Seems that after "c.categories_id =" there is something missing.
  4. cdarst

    ULTIMATE Seo Urls 5 - by FWR Media

    Tried diligently to find a previous answer to this so forgive me if there is one. Just installed USU5 Pro. Everything works fine with the URLs. My issue is with the sitemap generator that is in the extras. I tried using it because the Google XML Sitemaps contribution wasn't working. I'm getting this error when I try to run http..../usu5sitemaps/index.php: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND cd.language_id = 1' at line 1 SELECT cd2.categories_name AS pName, cd.categories_name AS cName FROM categories c LEFT JOIN categories_description cd2 ON c.parent_id = cd2.categories_id AND c.parent_id = cd2.categories_id AND cd2.language_id = 1, categories_description cd WHERE c.categories_id = cd.categories_id AND c.categories_id = AND cd.language_id = 1 [TEP STOP]
×