Results 1 to 5 of 5

Thread: SQL error after switching on SEO

  1. #1
    Join Date
    Nov 2008
    Location
    Ireland
    Posts
    128

    Default SQL error after switching on SEO

    After a rescent clean install I am getting the following error when I switch on SEO in 3.0.12

    SQL Error Message: 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 '' at line 1
    SQL statement that failed below:

    SELECT pagesmain_title FROM default_en_pagesmain WHERE pagesmain_id=

    turn off SEO and the site works fine.
    Has anyone come across this and know of a solution?

  2. #2
    the_sandking's Avatar
    the_sandking is offline hadron remnant - Moderation Fachmann
    Join Date
    Apr 2003
    Location
    Nullspace
    Posts
    5,289

    Default Re: SQL error after switching on SEO

    You didn't say exactly what it is you are trying to do when you get that error.
    "Much of what looks like rudeness in hacker circles is not intended to give offense. Rather, it's the product of the direct, cut-through-the-BS communications style that is natural to people who are more concerned about solving problems than making others feel warm and fuzzy."

    "We gotta' go to the crappy town where I'm a hero!"
    -Hoban 'Wash' Washburne 2485-2519


    "When you’re born you get a ticket to the freak show. When you’re born in America, you get a front-row seat.."
    -George Carlin 1937-2008

    New to Open-Realty® and need help? Check the:
    -OR DOCUMENTATION -

    Important: Read this at least once in your lifetime
    How To Ask Questions The Smart Way

  3. #3
    Join Date
    Nov 2008
    Location
    Ireland
    Posts
    128

    Default Re: SQL error after switching on SEO

    Quote Originally Posted by the_sandking View Post
    You didn't say exactly what it is you are trying to do when you get that error.
    Just trying to load the default page on the site. I solved it by removing Eduardo Marques's multilingual addon.

  4. #4
    the_sandking's Avatar
    the_sandking is offline hadron remnant - Moderation Fachmann
    Join Date
    Apr 2003
    Location
    Nullspace
    Posts
    5,289

    Default Re: SQL error after switching on SEO

    O.K.

    Whatever it was doing it was not passing the OR Page ID#.
    "Much of what looks like rudeness in hacker circles is not intended to give offense. Rather, it's the product of the direct, cut-through-the-BS communications style that is natural to people who are more concerned about solving problems than making others feel warm and fuzzy."

    "We gotta' go to the crappy town where I'm a hero!"
    -Hoban 'Wash' Washburne 2485-2519


    "When you’re born you get a ticket to the freak show. When you’re born in America, you get a front-row seat.."
    -George Carlin 1937-2008

    New to Open-Realty® and need help? Check the:
    -OR DOCUMENTATION -

    Important: Read this at least once in your lifetime
    How To Ask Questions The Smart Way

  5. #5
    Join Date
    Nov 2008
    Location
    Ireland
    Posts
    128

    Default Re: SQL error after switching on SEO

    Quote Originally Posted by the_sandking View Post
    O.K.

    Whatever it was doing it was not passing the OR Page ID#.
    I thought that! but i'm not clever enough to fix it, so I had to uninstall the addon.

Similar Threads

  1. URL based template switching
    By NovaBurn in forum Templates - Help/Ideas/Discussion (CLOSED)
    Replies: 11
    Last Post: 04-18-2009, 08:28 AM
  2. URL based template switching
    By NovaBurn in forum General Help (CLOSED)
    Replies: 4
    Last Post: 04-17-2009, 10:10 AM
  3. Switching to Generic
    By shawnb82 in forum HELP (CLOSED)
    Replies: 2
    Last Post: 06-22-2005, 02:12 PM
  4. Switching tables
    By bananahammock in forum Templates for v 1.x (CLOSED)
    Replies: 4
    Last Post: 04-14-2005, 12:21 AM
  5. Switching tables
    By bananahammock in forum HELP (CLOSED)
    Replies: 2
    Last Post: 04-12-2005, 02:04 AM

Tags for this Thread

Bookmarks

Posting Permissions

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