Servizi

MySQL Error


QUERY : SELECT * FROM servizi_nuovo WHERE visibile = 1 AND idCategoria = ORDER BY posizione
LOCATION : /var/www/vhosts/dreamfactorydesign.com/libraries2.0/php/class/sqlQuery.class.php, line 107, function mysqlQuery, at October 28, 2020, 12:14 pm
STACK :
/var/www/vhosts/dreamfactorydesign.com/gpi.srl/servizi2.php, line 75, line __construct
/var/www/vhosts/dreamfactorydesign.com/gpi.srl/home.php, line 91, line require_once

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 'ORDER BY posizione' at line 1


GET = array ( 'lang' => 'ita', 'id' => '18', )

POST = array ( )

FILES = array ( )

SESSION = array ( )

SERVER = array ( 'USER' => 'dream_website', 'HOME' => '/var/www/vhosts/dreamfactorydesign.com', 'SCRIPT_NAME' => '/home.php', 'REQUEST_URI' => '/ita/18/servizi/', 'QUERY_STRING' => 'lang=ita&id=18', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/ita/18/servizi/', 'REDIRECT_QUERY_STRING' => 'lang=ita&id=18', 'REMOTE_PORT' => '56832', 'SCRIPT_FILENAME' => '/var/www/vhosts/dreamfactorydesign.com/gpi.srl/home.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/dreamfactorydesign.com/gpi.srl', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/dreamfactorydesign.com/gpi.srl', 'REMOTE_ADDR' => '3.230.1.126', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '82.165.249.141', 'SERVER_NAME' => 'www.gpi.srl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_ACCEPT_ENCODING' => 'br,gzip', 'HTTP_IF_MODIFIED_SINCE' => 'Fri, 03 Jul 2020 16:25:57 GMT', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.230.1.126', 'HTTP_HOST' => 'www.gpi.srl', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'SCRIPT_URI' => 'https://www.gpi.srl/ita/18/servizi/', 'SCRIPT_URL' => '/ita/18/servizi/', 'UNIQUE_ID' => 'X5lSltKDqzSkmXoW4m9HxwAAAME', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_SCRIPT_URI' => 'https://www.gpi.srl/ita/18/servizi/', 'REDIRECT_SCRIPT_URL' => '/ita/18/servizi/', 'REDIRECT_UNIQUE_ID' => 'X5lSltKDqzSkmXoW4m9HxwAAAME', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/home.php', 'REQUEST_TIME_FLOAT' => 1603883671.469792, 'REQUEST_TIME' => 1603883671, )

Website Generic Error


ERROR NO : 2
TEXT : mysqli_num_rows() expects parameter 1 to be mysqli_result, null given
LOCATION : /var/www/vhosts/dreamfactorydesign.com/libraries2.0/php/class/sqlQuery.class.php, line 110, at October 28, 2020, 12:14 pm
Showing Backtrace : mysqli_num_rows() # line 110. file: /var/www/vhosts/dreamfactorydesign.com/libraries2.0/php/class/sqlQuery.class.php sqlQuery.__construct(,"...") # line 75. file: /var/www/vhosts/dreamfactorydesign.com/gpi.srl/servizi2.php require_once(,"...","/var/www/vhosts/dreamfactorydesign.com/gpi.srl/servizi2.php") # line 91. file: /var/www/vhosts/dreamfactorydesign.com/gpi.srl/home.php


GET = array ( 'lang' => 'ita', 'id' => '18', )

POST = array ( )

FILES = array ( )

SESSION = NULL

SERVER = array ( 'USER' => 'dream_website', 'HOME' => '/var/www/vhosts/dreamfactorydesign.com', 'SCRIPT_NAME' => '/home.php', 'REQUEST_URI' => '/ita/18/servizi/', 'QUERY_STRING' => 'lang=ita&id=18', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/ita/18/servizi/', 'REDIRECT_QUERY_STRING' => 'lang=ita&id=18', 'REMOTE_PORT' => '56832', 'SCRIPT_FILENAME' => '/var/www/vhosts/dreamfactorydesign.com/gpi.srl/home.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/dreamfactorydesign.com/gpi.srl', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/dreamfactorydesign.com/gpi.srl', 'REMOTE_ADDR' => '3.230.1.126', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '82.165.249.141', 'SERVER_NAME' => 'www.gpi.srl', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_ACCEPT_ENCODING' => 'br,gzip', 'HTTP_IF_MODIFIED_SINCE' => 'Fri, 03 Jul 2020 16:25:57 GMT', 'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5', 'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_USER_AGENT' => 'CCBot/2.0 (https://commoncrawl.org/faq/)', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_REAL_IP' => '3.230.1.126', 'HTTP_HOST' => 'www.gpi.srl', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'SCRIPT_URI' => 'https://www.gpi.srl/ita/18/servizi/', 'SCRIPT_URL' => '/ita/18/servizi/', 'UNIQUE_ID' => 'X5lSltKDqzSkmXoW4m9HxwAAAME', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0', 'REDIRECT_SCRIPT_URI' => 'https://www.gpi.srl/ita/18/servizi/', 'REDIRECT_SCRIPT_URL' => '/ita/18/servizi/', 'REDIRECT_UNIQUE_ID' => 'X5lSltKDqzSkmXoW4m9HxwAAAME', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/home.php', 'REQUEST_TIME_FLOAT' => 1603883671.469792, 'REQUEST_TIME' => 1603883671, )