Jump to content

White page + SQL error...


Recommended Posts

i have problem...
http://xlia.profwer.com

I see only text:

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 4


       SELECT c.id_cms, cl.link_rewrite, cl.meta_title
       FROM ps_cms c
       LEFT JOIN ps_cms_lang cl ON (c.id_cms = cl.id_cms AND cl.id_lang = 3)
       WHERE c.id_cms IN ()


in PA it's ok!
I use Prestashop 1.2.1

Link to comment
Share on other sites

SOLVED: my fault, I have a .eu domain for german, this was not setting ISO_lang properly

I have same problem (and so do many others, from what I see on forum, and no solution).

In my case, I have a multilingual installation on Apache. I use Friendly URLs, and I made some mods to allow different domain names for each language: the only mods I made are on .htaccess, on Tools.php and on Link.php.

Site works in French and Spanish, but not in German where I get

SELECT c.id_cms, cl.link_rewrite, cl.meta_title
FROM ps_cms c
LEFT JOIN ps_cms_lang cl ON (c.id_cms = cl.id_cms AND cl.id_lang = 0)
WHERE c.id_cms IN ()

I have made no changes to CMS.

Can you give us some hint as to where this query is being executed from?

thanks

Mike

Link to comment
Share on other sites

×
×
  • Create New...