Hallo und guten Abend,
ich bekomme beim Aufruf einer Seite folgenden Fehler angezeigt:
1064 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 'AND o.end_date >1532536247 AND o.state = 1' at line 4
Die website ist local (XAMPP) Joomla 3.8.10, PHP 7.1.12
Ich finde den Fehler nicht, habe schon gesucht und getestet, ohne Erfolg. Vielleicht könnt ihr mir helfen?
Code
-- phpMyAdmin SQL Dump
-- version 4.8.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Erstellungszeit: 25. Jul 2018 um 16:14
-- Server-Version: 10.1.29-MariaDB
-- PHP-Version: 7.1.12
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Datenbank: `marktfind`
--
-- --------------------------------------------------------
--
-- Tabellenstruktur für Tabelle `markt_jdclassifieds_locations`
--
CREATE TABLE `markt_jdclassifieds_locations` (
`id` int(11) UNSIGNED NOT NULL,
`name` varchar(255) NOT NULL,
`abbreviation` varchar(255) NOT NULL,
`ordering` int(11) NOT NULL,
`state` tinyint(1) NOT NULL DEFAULT '1',
`checked_out` int(11) NOT NULL,
`checked_out_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`created_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Daten für Tabelle `markt_jdclassifieds_locations`
--
INSERT INTO `markt_jdclassifieds_locations` (`id`, `name`, `abbreviation`, `ordering`, `state`, `checked_out`, `checked_out_time`, `created_by`) VALUES
(1, 'Rheinland-Pfalz', '', 1, 1, 0, '0000-00-00 00:00:00', 0);
--
-- Indizes der exportierten Tabellen
--
--
-- Indizes für die Tabelle `markt_jdclassifieds_locations`
--
ALTER TABLE `markt_jdclassifieds_locations`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT für exportierte Tabellen
--
--
-- AUTO_INCREMENT für Tabelle `markt_jdclassifieds_locations`
--
ALTER TABLE `markt_jdclassifieds_locations`
MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
Alles anzeigen
Herzlichen Dank im voraus
Felix