Re: Class 'Horde_Dav_Storage_Sql' not found
Ronny Forberger <[email protected]> Wed, 24 Aug 2016 17:01:47 +0200
| Newsgroups | gmane.comp.horde.kronolith |
|---|---|
| Message-ID | <[email protected]> |
Am 24.08.2016 um 16:17 schrieb Michael J Rubinsky: > > Quoting Michael J Rubinsky <[email protected]>: > >> Quoting Ronny Forberger <[email protected]>: >> >>> Am 24.08.2016 um 15:53 schrieb Michael J Rubinsky: >>>> >>>> Quoting Ronny Forberger <[email protected]>: >>>> >>>>> Am 24.08.2016 um 15:45 schrieb Michael J Rubinsky: >>>>>> >>>>>> Quoting Ronny Forberger <[email protected]>: >>>>>> >>>>>>> Am 24.08.2016 um 15:29 schrieb Michael J Rubinsky: >>>>>>>> >>>>>>>> Please do not top post. >>>>>>>> >>>>>>>> Quoting Ronny Forberger <[email protected]>: >>>>>>>> >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> it's already installed: >>>>>>>>> >>>>>>>>> horde/Horde_Dav is already installed and is the same as the >>>>>>>>> released >>>>>>>>> version 1.1.3 >>>>>>>>> install failed >>>>>>>>> >>>>>>>>> The class is still not found. I cannot connect to the calender >>>>>>>> >>>>>>>>> Any ideas? >>>>>>>> >>>>>>>> Did you use the system-wide pear or did you install using a >>>>>>>> separate >>>>>>>> pear? Check that you are using the correct pear and include_path? >>>>>>>> Maybe try clearing the autoloader_cache, if you are using one. >>>>>>>> Other >>>>>>>> than that, no other ideas. >>>>>>>> >>>>>>> I am using the pear in /usr/share/pear . The include_path points >>>>>>> there. >>>>>>> I cleared the cache, but it didn't help. >>>>>>> >>>>>>> The class is still not found. Where does the php file for the >>>>>>> missing >>>>>>> class have to reside (relative to horde pear directory)? >>>>>> >>>>>> Horde/Dav/Storage/Sql.php >>>>>> >>>>> This file does not exist. > > You can also use: pear list-files Horde/Horde_Dav to see where the > files were installed. Might help you track down your config issue. This command showed that it had installed the Dav classes to /usr/share/pear/Horde/Dav but it didn't. I reinstalled Horde_Dav and now it's working. Thanks. > > >>>> Then it wasn't installed correctly. >>>> >>>> Do you see the other Horde/* libraries at the location you expect to? >>> Yes. >>>> >>>> >>>> What does: pear config-show -c horde show? >>> Configuration (channel pear.horde.org): >>> ======================================= >>> Auto-discover new Channels auto_discover <not set> >>> Default Channel default_channel pear.php.net >>> HTTP Proxy Server Address http_proxy <not set> >>> PEAR server [DEPRECATED] master_server pear.php.net >>> Default Channel Mirror preferred_mirror pear.horde.org >>> Remote Configuration File remote_config <not set> >>> PEAR executables directory bin_dir /usr/bin >>> PEAR documentation directory doc_dir /usr/share/doc/pear >>> PHP extension directory ext_dir /usr/lib64/php/modules >>> Base Horde directory horde_dir /usr/share/pear/Horde >>> PEAR directory php_dir /usr/share/pear >> ^^^ >> This is not correct, horde_dir should be the web root for Horde, not >> the pear directory containing the pear libraries. >> >> i.e., If your pear directory is /usr/share/pear, then >> /usr/share/pear/Horde should contain Horde's pear libraries, not the >> applications. >> >>> PEAR Installer cache directory cache_dir /var/cache/php-pear >>> PEAR configuration file cfg_dir /etc/pear >>> directory >>> PEAR data directory data_dir /usr/share/pear-data >>> PEAR Installer download download_dir /tmp/pear/download >>> directory >>> Systems manpage files man_dir /usr/share/man >>> directory >>> PEAR metadata directory metadata_dir /var/lib/pear >>> PHP CLI/CGI binary php_bin /usr/bin/php >>> php.ini location php_ini <not set> >>> --program-prefix passed to php_prefix <not set> >>> PHP's ./configure >>> --program-suffix passed to php_suffix <not set> >>> PHP's ./configure >>> PEAR Installer temp directory temp_dir /var/tmp >>> PEAR test directory test_dir /usr/share/tests/pear >>> PEAR www files directory www_dir /var/www/html >>> Cache TimeToLive cache_ttl 3600 >>> Preferred Package State preferred_state stable >>> Unix file mask umask 22 >>> Debug Log Level verbose 1 >>> PEAR password (for password <not set> >>> maintainers) >>> Signature Handling Program sig_bin /usr/bin/gpg >>> Signature Key Directory sig_keydir /etc/pearkeys >>> Signature Key Id sig_keyid <not set> >>> Package Signature Type sig_type gpg >>> PEAR username (for username <not set> >>> maintainers) >>> User Configuration File Filename /root/.pearrc >>> System Configuration File Filename /etc/pear.conf >>> >>>> >>>> If you view the phpinfo() page via Horde (either using the test.php >>>> page, or the admin->phpshell page) does it show the include_path you >>>> expect? >>> Yes, it shows >>> include_path >>> /usr/share/pear/Horde/lib:/usr/share/pear/Horde/lib:.:/usr/share/pear:/usr/share/php >>> >>> >>> >>> >>> /usr/share/pear is in there. >>>> >>>> >>>>>>> >>>>>>> Further ideas? >>>>>>> >>>>>>>> >>>>>>>>> Best regards, >>>>>>>>> Ronny >>>>>>>>> >>>>>>>>> Am 24.08.2016 um 14:58 schrieb Michael J Rubinsky: >>>>>>>>>> >>>>>>>>>> Quoting Ronny Forberger <[email protected]>: >>>>>>>>>> >>>>>>>>>>> Hi, >>>>>>>>>>> >>>>>>>>>>> I am getting the error message in kronolith that Class >>>>>>>>>>> 'Horde_Dav_Storage_Sql' will not be found. >>>>>>>>>>> >>>>>>>>>>> I installed through pear on CentOS 7. >>>>>>>>>>> >>>>>>>>>>> Also the server says "Error when communicating with the server" >>>>>>>>>>> when >>>>>>>>>>> clicking the calendar. >>>>>>>>>>> >>>>>>>>>>> The class seems not installed. Any ideas what to do? >>>>>>>>>> >>>>>>>>>> Yes, install it. >>>>>>>>>> >>>>>>>>>> pear install Horde/Horde_Dav >>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Best regards, >>>>>>>>>>> Ronny Forberger >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> ___________________________________ >>>>>>>>>>> Ronny Forberger >>>>>>>>>>> ronnyforberger at ronnyforberger.de >>>>>>>>>>> PGP: http://www.ronnyforberger.de/pgp/email-encryption.html >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> kronolith mailing list >>>>>>>>>>> Frequently Asked Questions: http://wiki.horde.org/FAQ >>>>>>>>>>> To unsubscribe, mail: [email protected] >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> ___________________________________ >>>>>>>>> Ronny Forberger >>>>>>>>> ronnyforberger at ronnyforberger.de >>>>>>>>> PGP: http://www.ronnyforberger.de/pgp/email-encryption.html >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> -- >>>>>>> ___________________________________ >>>>>>> Ronny Forberger >>>>>>> ronnyforberger at ronnyforberger.de >>>>>>> PGP: http://www.ronnyforberger.de/pgp/email-encryption.html >>>>>> >>>>>> >>>>>> >>>>> >>>>> -- >>>>> ___________________________________ >>>>> Ronny Forberger >>>>> ronnyforberger at ronnyforberger.de >>>>> PGP: http://www.ronnyforberger.de/pgp/email-encryption.html >>>> >>>> >>>> >>> >>> -- >>> ___________________________________ >>> Ronny Forberger >>> ronnyforberger at ronnyforberger.de >>> PGP: http://www.ronnyforberger.de/pgp/email-encryption.html >> >> >> >> -- >> mike >> The Horde Project >> http://www.horde.org >> https://www.facebook.com/hordeproject >> https://www.twitter.com/hordeproject > > > > > -- ___________________________________ Ronny Forberger ronnyforberger at ronnyforberger.de PGP: http://www.ronnyforberger.de/pgp/email-encryption.html -- kronolith mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected]