Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roudcube 1.6.1 errors #28

Open
nikolya-prodigy opened this issue Mar 9, 2023 · 7 comments
Open

Roudcube 1.6.1 errors #28

nikolya-prodigy opened this issue Mar 9, 2023 · 7 comments

Comments

@nikolya-prodigy
Copy link

nikolya-prodigy commented Mar 9, 2023

Hello, thank you very much for your work.
Installed the plugin on Rouncube 1.6.1
I have errors in the log file.
There are no new entries in the database.
In the Rouncube settings in the Attachments section there is only a 'Save' button.
MariaDB+Ubuntu server 22.04+PHP8.1

cat /var/www/roundcube/logs/errors.log 
[09-Mar-2023 15:46:56 +0300]: PHP Error: Failed to load plugin file /var/www/roundcube/plugins/roundcube_toolbox/roundcube_toolbox.php in /var/www/roundcube/program/lib/Roundcube/rcube_plugin_api.php on line 193 (GET /?_task=settings&_action=plugin.toolbox)
[09-Mar-2023 15:46:56] PHP Warning:  Undefined array key "customise_blankpage" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 137
[09-Mar-2023 15:46:56] PHP Warning:  Undefined array key "blankpage_type" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:56] PHP Warning:  Undefined array key "blankpage_url" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:56] PHP Warning:  Undefined array key "blankpage_image" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:56] PHP Warning:  Undefined array key "blankpage_custom" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:56] PHP Warning:  Undefined array key "additional_css" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 229
[09-Mar-2023 15:46:56] PHP Deprecated:  file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated in /var/www/roundcube/plugins/toolbox/toolbox.php on line 229
[09-Mar-2023 15:46:57 +0300]: PHP Error: Failed to load plugin file /var/www/roundcube/plugins/roundcube_toolbox/roundcube_toolbox.php in /var/www/roundcube/program/lib/Roundcube/rcube_plugin_api.php on line 193 (GET /?_task=settings&_action=plugin.toolbox.edit&_section=aliases&_framed=1)
[09-Mar-2023 15:46:57] PHP Warning:  Undefined array key "customise_blankpage" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 137
[09-Mar-2023 15:46:57] PHP Warning:  Undefined array key "blankpage_type" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:57] PHP Warning:  Undefined array key "blankpage_url" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:57] PHP Warning:  Undefined array key "blankpage_image" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:57] PHP Warning:  Undefined array key "blankpage_custom" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:57] PHP Warning:  Undefined array key "additional_css" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 229
[09-Mar-2023 15:46:57] PHP Deprecated:  file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated in /var/www/roundcube/plugins/toolbox/toolbox.php on line 229
[09-Mar-2023 15:46:57] PHP Warning:  Undefined variable $addr in /var/www/roundcube/plugins/toolbox/toolbox.php on line 645
[09-Mar-2023 15:46:57] PHP Warning:  Undefined array key 1 in /var/www/roundcube/plugins/toolbox/toolbox.php on line 645
[09-Mar-2023 15:46:57] PHP Warning:  Undefined array key 1 in /var/www/roundcube/plugins/toolbox/toolbox.php on line 648
[09-Mar-2023 15:46:57] PHP Warning:  Undefined variable $addr in /var/www/roundcube/plugins/toolbox/toolbox.php on line 645
[09-Mar-2023 15:46:57] PHP Warning:  Undefined array key 1 in /var/www/roundcube/plugins/toolbox/toolbox.php on line 645
[09-Mar-2023 15:46:57] PHP Warning:  Undefined array key 1 in /var/www/roundcube/plugins/toolbox/toolbox.php on line 648
[09-Mar-2023 15:46:57] PHP Warning:  Undefined variable $addr in /var/www/roundcube/plugins/toolbox/toolbox.php on line 645
[09-Mar-2023 15:46:57] PHP Warning:  Undefined array key 1 in /var/www/roundcube/plugins/toolbox/toolbox.php on line 645
[09-Mar-2023 15:46:57] PHP Warning:  Undefined array key 1 in /var/www/roundcube/plugins/toolbox/toolbox.php on line 648
[09-Mar-2023 15:46:57] PHP Warning:  Undefined variable $addr in /var/www/roundcube/plugins/toolbox/toolbox.php on line 645
[09-Mar-2023 15:46:57] PHP Warning:  Undefined array key 1 in /var/www/roundcube/plugins/toolbox/toolbox.php on line 645
[09-Mar-2023 15:46:57] PHP Warning:  Undefined array key 1 in /var/www/roundcube/plugins/toolbox/toolbox.php on line 648
[09-Mar-2023 15:46:57] PHP Warning:  Undefined variable $addr in /var/www/roundcube/plugins/toolbox/toolbox.php on line 645
[09-Mar-2023 15:46:57] PHP Warning:  Undefined array key 1 in /var/www/roundcube/plugins/toolbox/toolbox.php on line 645
[09-Mar-2023 15:46:57] PHP Warning:  Undefined array key 1 in /var/www/roundcube/plugins/toolbox/toolbox.php on line 648
[09-Mar-2023 15:46:57 +0300]: PHP Error: Failed to load plugin file /var/www/roundcube/plugins/roundcube_toolbox/roundcube_toolbox.php in /var/www/roundcube/program/lib/Roundcube/rcube_plugin_api.php on line 193 (GET /?_task=settings&_action=plugin.toolbox.edit&_section=forward&_framed=1)
[09-Mar-2023 15:46:57] PHP Warning:  Undefined array key "customise_blankpage" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 137
[09-Mar-2023 15:46:57] PHP Warning:  Undefined array key "blankpage_type" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:57] PHP Warning:  Undefined array key "blankpage_url" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:57] PHP Warning:  Undefined array key "blankpage_image" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:57] PHP Warning:  Undefined array key "blankpage_custom" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:57] PHP Warning:  Undefined array key "additional_css" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 229
[09-Mar-2023 15:46:57] PHP Deprecated:  file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated in /var/www/roundcube/plugins/toolbox/toolbox.php on line 229
[09-Mar-2023 15:46:58 +0300]: PHP Error: Failed to load plugin file /var/www/roundcube/plugins/roundcube_toolbox/roundcube_toolbox.php in /var/www/roundcube/program/lib/Roundcube/rcube_plugin_api.php on line 193 (GET /?_task=settings&_action=plugin.toolbox.edit&_section=vacation&_framed=1)
[09-Mar-2023 15:46:58] PHP Warning:  Undefined array key "customise_blankpage" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 137
[09-Mar-2023 15:46:58] PHP Warning:  Undefined array key "blankpage_type" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:58] PHP Warning:  Undefined array key "blankpage_url" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:58] PHP Warning:  Undefined array key "blankpage_image" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:58] PHP Warning:  Undefined array key "blankpage_custom" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:58] PHP Warning:  Undefined array key "additional_css" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 229
[09-Mar-2023 15:46:58] PHP Deprecated:  file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated in /var/www/roundcube/plugins/toolbox/toolbox.php on line 229
[09-Mar-2023 15:46:58] PHP Warning:  Undefined array key "active" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 799
[09-Mar-2023 15:46:58] PHP Warning:  Undefined array key "activefrom" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 807
[09-Mar-2023 15:46:58] PHP Warning:  Undefined array key "activeuntil" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 815
[09-Mar-2023 15:46:58] PHP Warning:  Undefined array key "interval_time" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 828
[09-Mar-2023 15:46:58] PHP Warning:  Undefined array key "subject" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 836
[09-Mar-2023 15:46:58] PHP Warning:  Undefined array key "body" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 852
[09-Mar-2023 15:46:58 +0300]: PHP Error: Failed to load plugin file /var/www/roundcube/plugins/roundcube_toolbox/roundcube_toolbox.php in /var/www/roundcube/program/lib/Roundcube/rcube_plugin_api.php on line 193 (GET /?_task=settings&_action=plugin.toolbox.edit&_section=purge&_framed=1)
[09-Mar-2023 15:46:58] PHP Warning:  Undefined array key "customise_blankpage" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 137
[09-Mar-2023 15:46:58] PHP Warning:  Undefined array key "blankpage_type" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:58] PHP Warning:  Undefined array key "blankpage_url" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:58] PHP Warning:  Undefined array key "blankpage_image" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:58] PHP Warning:  Undefined array key "blankpage_custom" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:58] PHP Warning:  Undefined array key "additional_css" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 229
[09-Mar-2023 15:46:58] PHP Deprecated:  file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated in /var/www/roundcube/plugins/toolbox/toolbox.php on line 229
[09-Mar-2023 15:46:59 +0300]: PHP Error: Failed to load plugin file /var/www/roundcube/plugins/roundcube_toolbox/roundcube_toolbox.php in /var/www/roundcube/program/lib/Roundcube/rcube_plugin_api.php on line 193 (GET /?_task=settings&_action=plugin.toolbox.edit&_section=preview&_framed=1)
[09-Mar-2023 15:46:59] PHP Warning:  Undefined array key "customise_blankpage" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 137
[09-Mar-2023 15:46:59] PHP Warning:  Undefined array key "blankpage_type" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:59] PHP Warning:  Undefined array key "blankpage_url" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:59] PHP Warning:  Undefined array key "blankpage_image" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:59] PHP Warning:  Undefined array key "blankpage_custom" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:46:59] PHP Warning:  Undefined array key "additional_css" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 229
[09-Mar-2023 15:46:59] PHP Deprecated:  file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated in /var/www/roundcube/plugins/toolbox/toolbox.php on line 229
[09-Mar-2023 15:46:59] PHP Warning:  Undefined array key "toolbox_message_preview" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 919
[09-Mar-2023 15:46:59] PHP Warning:  Undefined array key "toolbox_markasread_doubleclick" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 926
[09-Mar-2023 15:47:00 +0300]: PHP Error: Failed to load plugin file /var/www/roundcube/plugins/roundcube_toolbox/roundcube_toolbox.php in /var/www/roundcube/program/lib/Roundcube/rcube_plugin_api.php on line 193 (GET /?_task=settings&_action=plugin.toolbox.edit&_section=attachments&_framed=1)
[09-Mar-2023 15:47:00] PHP Warning:  Undefined array key "customise_blankpage" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 137
[09-Mar-2023 15:47:00] PHP Warning:  Undefined array key "blankpage_type" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:47:00] PHP Warning:  Undefined array key "blankpage_url" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:47:00] PHP Warning:  Undefined array key "blankpage_image" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:47:00] PHP Warning:  Undefined array key "blankpage_custom" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 142
[09-Mar-2023 15:47:00] PHP Warning:  Undefined array key "additional_css" in /var/www/roundcube/plugins/toolbox/toolbox.php on line 229
[09-Mar-2023 15:47:00] PHP Deprecated:  file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated in /var/www/roundcube/plugins/toolbox/toolbox.php on line 229

@gianlucagiacometti
Copy link
Owner

in config.inc.php:

$config['plugins'] = [
...
    'toolbox',
...
];

and the folder must be /plugins/toolbox

@nikolya-prodigy
Copy link
Author

in config.inc.php:

$config['plugins'] = [
...
    'toolbox',
...
];

and the folder must be /plugins/toolbox

configured as it should be

$config['plugins'] = [ 'acl', 'managesieve', 'userinfo', 'jqueryui', 'contextmenu', 'zipdownload', 'redundant_attachments', 'attachment_reminder', 'toolbox', ];

root@mail:/var/www/roundcube/plugins# ls | grep toolbox
toolbox

@gianlucagiacometti
Copy link
Owner

Ok thanx.

  1. Did you create the DB tables and view? I do not use MariaDB. You may use the mysql.initial.sql, but you should check that no errors occur
  2. If this is ok, please share your configuration

@nikolya-prodigy
Copy link
Author

Yes, mysql.initial.sql loads without error

MariaDB [(none)]> USE roundcube;
Database changed
MariaDB [roundcube]> SHOW FULL TABLES;
+------------------------------+------------+
| Tables_in_roundcube | Table_type |
+------------------------------+------------+
| cache | BASE TABLE |
| cache_index | BASE TABLE |
| cache_messages | BASE TABLE |
| cache_shared | BASE TABLE |
| cache_thread | BASE TABLE |
| collected_addresses | BASE TABLE |
| contactgroupmembers | BASE TABLE |
| contactgroups | BASE TABLE |
| contacts | BASE TABLE |
| dictionary | BASE TABLE |
| filestore | BASE TABLE |
| identities | BASE TABLE |
| responses | BASE TABLE |
| searches | BASE TABLE |
| session | BASE TABLE |
| system | BASE TABLE |
| toolbox_customise_domains | BASE TABLE |
| toolbox_customise_skins | BASE TABLE |
| toolbox_customise_skins_view | VIEW |
| users | BASE TABLE |
+------------------------------+------------+
20 rows in set (0,000 sec)
20 rows in set (0,000 sec)

MariaDB [roundcube]> DESCRIBE toolbox_customise_domains;
+-------------+--------------+------+-----+---------------------+-------------------------------+
| Field | Type | Null | Key | Default | Extra |
+-------------+--------------+------+-----+---------------------+-------------------------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| domain_name | varchar(255) | NO | | NULL | |
| purge_trash | int(11) | NO | | 0 | |
| purge_junk | int(11) | NO | | 0 | |
| modified | datetime | NO | | current_timestamp() | on update current_timestamp() |
| modified_by | varchar(255) | NO | | NULL | |
+-------------+--------------+------+-----+---------------------+-------------------------------+
6 rows in set (0,001 sec)

MariaDB [roundcube]> DESCRIBE toolbox_customise_skins;
+-----------------------------+---------------+------+-----+---------------------+-------------------------------+
| Field | Type | Null | Key | Default | Extra |
+-----------------------------+---------------+------+-----+---------------------+-------------------------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| toolbox_customise_domain_id | int(11) | YES | | NULL | |
| skin | varchar(255) | YES | | NULL | |
| customise_blankpage | tinyint(1) | NO | | 0 | |
| blankpage_type | text | YES | | NULL | |
| blankpage_image | text | YES | | NULL | |
| blankpage_url | varchar(1024) | YES | | NULL | |
| blankpage_custom | text | YES | | NULL | |
| customise_css | tinyint(1) | NO | | 0 | |
| additional_css | text | YES | | NULL | |
| customise_favicon | tinyint(1) | NO | | 0 | |
| favicon | text | YES | | NULL | |
| customise_logo | tinyint(1) | NO | | 0 | |
| customised_logo | text | YES | | NULL | |
| modified | datetime | NO | | current_timestamp() | on update current_timestamp() |
| modified_by | varchar(255) | NO | | NULL | |
+-----------------------------+---------------+------+-----+---------------------+-------------------------------+
16 rows in set (0,001 sec)

MariaDB [roundcube]> DESCRIBE toolbox_customise_skins_view;
+---------------------+---------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+---------------------+---------------+------+-----+---------+-------+
| domain_name | varchar(255) | YES | | NULL | |
| skin | varchar(255) | YES | | NULL | |
| customise_blankpage | tinyint(1) | NO | | 0 | |
| blankpage_type | text | YES | | NULL | |
| blankpage_image | text | YES | | NULL | |
| blankpage_url | varchar(1024) | YES | | NULL | |
| blankpage_custom | text | YES | | NULL | |
| customise_css | tinyint(1) | NO | | 0 | |
| additional_css | text | YES | | NULL | |
| customise_logo | tinyint(1) | NO | | 0 | |
| customised_logo | text | YES | | NULL | |
+---------------------+---------------+------+-----+---------+-------+
11 rows in set (0,001 sec)

config.inc.php.txt

@ibragims
Copy link

Hi
I Have same problems.
Roundcube Webmail 1.6.1

@gianlucagiacometti
Copy link
Owner

I'll update my servers and I'll check it next weekend

@ibragims
Copy link

ibragims commented Sep 1, 2023

I'll update my servers and I'll check it next weekend

Hi, some news? =D
thnanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants