Hiu,
I just installed a brand new server specifically for egw, based on ubuntu 14.04LTS. I found at least two issues.
1st. Everything went fine, until the sitemgr installation, where I got sql insert errors in different modules. It seems it is related to the content of the string, especially this sign: ’ It seems the escape char () is not working as expected.
Database error
Invalid SQL: INSERT INTO egw_sitemgr_modules (module_name,description) VALUES (‘news_admin’,‘This module publishes news from the news_admin application on your website. Be aware of news_admin’s ACL restrictions.’)
ERROR: syntax error at or near "s"
LINE 1: …lication on your website. Be aware of news_admin’s ACL rest…
^ (-1)
2nd. When I login to the new system, the Admin menu has a tree menu structure, but without icons, only texts. Icons have placeholders, but not the real icons. In parallel, clicking on any menu entries do nothing. I only have a user list on the main screen. So, it is impossible to access to the admin menus. Based on the error log, it seems the administrator has no permission to etemplate.
[Mon Oct 27 09:34:08.633618 2014] [:error] [pid 7187] [client 10.0.2.200:44476] Permission denied! (egw_exception_no_permission_app): Megpr\xc3\xb3b\xc3\xa1ltad elind\xc3\xadtani “eTemplate” alkalmaz\xc3\xa1st, de nincs jogosults\xc3\xa1god hozz\xc3\xa1., referer: http://10.0.2.60/index.php?cd=yes
[Mon Oct 27 09:34:08.633676 2014] [:error] [pid 7187] [client 10.0.2.200:44476] #0 /var/www/html/phpgwapi/inc/class.egw.inc.php(236): egw->check_app_rights(), referer: http://10.0.2.60/index.php?cd=yes
[Mon Oct 27 09:34:08.633692 2014] [:error] [pid 7187] [client 10.0.2.200:44476] #1 /var/www/html/phpgwapi/inc/functions.inc.php(87): egw->wakeup2(), referer: http://10.0.2.60/index.php?cd=yes
[Mon Oct 27 09:34:08.633705 2014] [:error] [pid 7187] [client 10.0.2.200:44476] #2 /var/www/html/header.inc.php(106): require_once(’/var/www/html/p…’), referer: http://10.0.2.60/index.php?cd=yes
[Mon Oct 27 09:34:08.633727 2014] [:error] [pid 7187] [client 10.0.2.200:44476] #3 /var/www/html/index.php(64): include(’/var/www/html/h…’), referer: http://10.0.2.60/index.php?cd=yes
[Mon Oct 27 09:34:08.633741 2014] [:error] [pid 7187] [client 10.0.2.200:44476] #4 {main}, referer: http://10.0.2.60/index.php?cd=yes
[Mon Oct 27 09:34:08.633760 2014] [:error] [pid 7187] [client 10.0.2.200:44476] # Instance=default, User=XXXXXXX, Request=GET http://10.0.2.60/index.php?menuaction=etemplate.editor.edit, User-agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/34.0.1847.116 Chrome/34.0.1847.116 Safari/537.36, referer: http://10.0.2.60/index.php?cd=yes
3rd. It seems there are some other issues, I do not know yet, it is related to the weird GUI issue with admin or not. I just paste the error log for your information. I will check this part later.
[Mon Oct 27 09:32:06.383019 2014] [:error] [pid 10106] [client 10.0.2.200:44419] egw_cache::get_provider(Instance) no provider found (error instanciating provider egw_cache_files: egw_cache_files::__construct() can’t create basepath !)!egw_cache::get_provider:511 / egw_cache::get_provider:475 / egw_cache::unsetCache:223 / egw_cache::unsetTree:271 / egw_csrf::validate:69, referer: http://10.0.2.60/setup/applications.php?debug=
[Mon Oct 27 09:32:06.863919 2014] [:error] [pid 10106] [client 10.0.2.200:44419] Database error (egw_exception_db_invalid_sql): Invalid SQL: INSERT INTO egw_sitemgr_modules (module_name,description) VALUES (‘news_admin’,‘This module publishes news from the news_admin application on your website. Be aware of news_admin\‘s ACL restrictions.’)\nERROR: syntax error at or near “s”\nLINE 1: …lication on your website. Be aware of news_admin\‘s ACL rest…\n ^ (-1), referer: http://10.0.2.60/setup/applications.php?debug=
[Mon Oct 27 09:32:06.863973 2014] [:error] [pid 10106] [client 10.0.2.200:44419] #0 /var/www/html/phpgwapi/inc/class.schema_proc.inc.php(841): egw_db->query(‘INSERT INTO egw…’, 82, ‘/var/www/html/s…’), referer: http://10.0.2.60/setup/applications.php?debug=
[Mon Oct 27 09:32:06.863996 2014] [:error] [pid 10106] [client 10.0.2.200:44419] #1 /var/www/html/sitemgr/setup/default_records.inc.php(82): schema_proc->query(‘INSERT INTO egw…’, 82, ‘/var/www/html/s…’), referer: http://10.0.2.60/setup/applications.php?debug=
[Mon Oct 27 09:32:06.864037 2014] [:error] [pid 10106] [client 10.0.2.200:44419] #2 /var/www/html/setup/inc/class.setup_process.inc.php(465): include(’/var/www/html/s…’), referer: http://10.0.2.60/setup/applications.php?debug=
[Mon Oct 27 09:32:06.864056 2014] [:error] [pid 10106] [client 10.0.2.200:44419] #3 /var/www/html/setup/applications.php(174): setup_process->default_records(Array, false), referer: http://10.0.2.60/setup/applications.php?debug=
[Mon Oct 27 09:32:06.864081 2014] [:error] [pid 10106] [client 10.0.2.200:44419] #4 {main}, referer: http://10.0.2.60/setup/applications.php?debug=
[Mon Oct 27 09:32:06.864106 2014] [:error] [pid 10106] [client 10.0.2.200:44419] # Instance=, User=, Request=POST http://10.0.2.60/setup/applications.php, User-agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/34.0.1847.116 Chrome/34.0.1847.116 Safari/537.36, referer: http://10.0.2.60/setup/applications.php?debug=
[Mon Oct 27 09:32:06.864164 2014] [:error] [pid 10106] [client 10.0.2.200:44419] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/phpgwapi/inc/class.Template.inc.php:258) in /var/www/html/phpgwapi/inc/common_functions.inc.php on line 1734, referer: http://10.0.2.60/setup/applications.php?debug=
[Mon Oct 27 09:32:06.864184 2014] [:error] [pid 10106] [client 10.0.2.200:44419] #1 /var/www/html/phpgwapi/inc/common_functions.inc.php(1734): header(‘HTTP/1.1 500 Da…’), referer: http://10.0.2.60/setup/applications.php?debug=
[Mon Oct 27 09:32:06.864208 2014] [:error] [pid 10106] [client 10.0.2.200:44419] #2 [internal function]: egw_exception_handler(Object(egw_exception_db_invalid_sql)), referer: http://10.0.2.60/setup/applications.php?debug=
[Mon Oct 27 09:32:06.864223 2014] [:error] [pid 10106] [client 10.0.2.200:44419] #3 {main}, referer: http://10.0.2.60/setup/applications.php?debug=
[Mon Oct 27 09:32:06.864251 2014] [:error] [pid 10106] [client 10.0.2.200:44419] # Instance=, User=, Request=POST http://10.0.2.60/setup/applications.php, User-agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/34.0.1847.116 Chrome/34.0.1847.116 Safari/537.36, referer: http://10.0.2.60/setup/applications.php?debug=
[Mon Oct 27 09:33:46.845126 2014] [:error] [pid 7187] [client 10.0.2.200:44459] egw_cache::get_provider(Instance) no provider found (error instanciating provider egw_cache_files: egw_cache_files::__construct() can’t create basepath !)!egw_cache::get_provider:511 / egw_cache::get_provider:475 / egw_cache::unsetCache:223 / egw_cache::unsetTree:271 / egw_csrf::validate:69, referer: http://10.0.2.60/setup/applications.php
Best regards,
István