My host is Aruba.it, with php 8+ and Mysql on Linux (Apache / PHP-FPM).
All checks are ok, (install/testMySql.php, install/serverCheck.php).
Main issues are:
1) When trying to open Control panel
Code: Select all
Fatal error: Uncaught mysqli_sql_exception: Expression #1 of ORDER BY clause is not in SELECT list, references column 'Sql1853116_5.alldata.DateTime' which is not in SELECT list; this is incompatible with DISTINCT in /web/htdocs/www.mysite.com/home/template/admin/index.php:41 Stack trace: #0 /web/htdocs/www.mysite.com/home/template/admin/index.php(41): mysqli_query() #1 {main} thrown in /web/htdocs/www.mysite.com/home/template/admin/index.php on line 41
Code: Select all
AH02296: Unknown directive php_flag perhaps misspelled or defined by a module not included in the server configuration
from SELECT DISTINCT YEAR(DateTime) FROM alldata ORDER BY DateTime
to SELECT DISTINCT YEAR(DateTime) AS year FROM alldata ORDER BY YEAR(DateTime) DESC;
it works, but this is a fix, not a solution....
For the 2) i have no idea (the get update query, custom generated is: api.php?U=1742405467&T=25.3&H=79.9&P=1000.1&W=12.6&G=19.8&R=0&B=272&S=788&UV=0&PASS=MYPASS).
I've manualy added 1 row of data just to see if something changes..
Also, i can see random errors when load other pages (with ?errors in the last part of the link), i.e.:
/template/indexDesktop.php?errors:
Code: Select all
Warning: Undefined array key "climate" in /web/htdocs/www.mysite.com/home/template/menu.php on line 490
Warning: Trying to access array offset on null in /web/htdocs/www.mysite.com/home/template/menu.php on line 490
Warning: Undefined array key "climate" in /web/htdocs/www.mysite.com/home/template/menu.php on line 513
Warning: Trying to access array offset on null in /web/htdocs/www.mysite.com/home/template/menu.php on line 513
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /web/htdocs/www.mysite.com/home/template/menu.php on line 513
Warning: Undefined array key "climate" in /web/htdocs/www.mysite.com/home/template/menu.php on line 525
Warning: Trying to access array offset on null in /web/htdocs/www.mysite.com/home/template/menu.php on line 525
Warning: Undefined array key "us" in /web/htdocs/www.mysite.com/home/template/scripts/functions.php on line 115
Deprecated: ucfirst(): Passing null to parameter #1 ($string) of type string is deprecated in /web/htdocs/www.mysite.com/home/template/scripts/functions.php on line 162
Warning: Undefined array key "climate" in /web/htdocs/www.mysite.com/home/template/menu.php on line 525
Warning: Trying to access array offset on null in /web/htdocs/www.mysite.com/home/template/menu.php on line 525
/web/htdocs/www.mysite.com/home/template/menu.php on line 527
Warning: Trying to access array offset on null in /web/htdocs/www.mysite.com/home/template/menu.php on line 527
" target="_blank" class="digimeg-nav-item">
Warning: Undefined array key "climate" in /web/htdocs/www.mysite.com/home/template/menu.php on line 528
Warning: Trying to access array offset on null in /web/htdocs/www.mysite.com/home/template/menu.php on line 528
Warning: Undefined array key "us" in /web/htdocs/www.mysite.com/home/template/scripts/functions.php on line 115
Deprecated: ucfirst(): Passing null to parameter #1 ($string) of type string is deprecated in /web/htdocs/www.mysite.com/home/template/scripts/functions.php on line 162
Finally, the DEV told me to run a query into my PhPMyAdmin:
SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
result:
#1227 - Access denied; you need (at least one of) the SUPER or SYSTEM_VARIABLES_ADMIN privilege(s) for this operation
i start to think it's incompatible with this host.
Any hint, maybe from someone who uses the same hosting service?