Comment to 'Help with Database error'
  • LeonidS

    I didn't touch anything on the albums.

    As the problem arose

    1.First time I included PHP accelerators in Cpale ie (Zend Opcache (ex. Zend Optimizer +))

    2. A few minutes later I received an email with this message

    "Database error in Swirl


    SELECT FROM `bx_albums_files2albums` INNER JOIN` bx_albums_albums` ON `bx_albums_albums`.`id` =` bx_albums_files2albums`. 1 AND `bx_albums_files2albums`.`content_id` = '41 'ORDER BY` bx_albums_files2albums`.`order` ASC, `bx_albums_files2albums`.`id` ASC LIMIT 0, 12

    Mysql error:

    You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'FROM `bx_albums_files2albums` INNER JOIN` bx_albums_albums` ON `bx_albums_albu' at line 1


    The error was found in getAll function in the file /home/vijugaco/public_html/inc/classes/BxDolSearch.php at line 684.



    Debug backtrace: "

    0 0 0 0 0 0

    UNA - Social Media Software Framework