-
Notifications
You must be signed in to change notification settings - Fork 20
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
File not found errors when using plugin #24
Comments
So, is there a /var/lib/roundcube/vendor/autoload.php? |
I used Debian packages for roundcube. My autoload.php seems to be in /usr/share/roundcube/vendor/autoload.php. |
What is the source of autoload.php? ... it is NOT part of roundcube, and is not included with EL6 or EL7 roundcube packages. |
Ah, nevermind... that is kind of hilarious. autoload.php, of course, is a part of Google API Client Library for PHP. How exactly would anyone end up having that mixed into their rcmail install? |
Actually, autoload.php is generated by Composer and used by my plugin to autoload the plugins dependencies (Google API Client Library, also installed by Composer). |
Probably the easiest thing to do, and all that is really needed for simplifying manual installs is just to document it in the readme file. Manual installs: change line #X in google_func.php to refer to the installed path of Google API. |
Hi,
after upgrading roundcube to version 1.0.5, I get the following error when activating google_addressbook:
[25-Mar-2015 19:08:06 Europe/Berlin] PHP Warning: require_once(/var/lib/roundcube/plugins/google_addressbook/../../vendor/autoload.php): failed to open stream: Datei oder Verzeichnis nicht gefunden in /var/lib/roundcube/plugins/google_addressbook/google_func.php on line 10
[25-Mar-2015 19:08:06 Europe/Berlin] PHP Fatal error: require_once(): Failed opening required '/var/lib/roundcube/plugins/google_addressbook/../../vendor/autoload.php' (include_path='/var/lib/roundcube/program/lib:.:/usr/share/php:/usr/share/pear:/usr/share/roundcube/program/lib') in /var/lib/roundcube/plugins/google_addressbook/google_func.php on line 10
I have installed the latest version of google _addressbook via composer.
The text was updated successfully, but these errors were encountered: