[Pkg-owncloud-maintainers] Bug

Thomas Müller thomas.mueller at tmit.eu
Tue Jul 10 11:51:47 UTC 2012


Am Dienstag, dem 10.07.2012 um 13:47 schrieb Leonard:
> I'm using the mysql backend.
> Here are the results:
> 
>         -- phpMyAdmin SQL Dump
>         -- version 3.4.11deb1
>         -- http://www.phpmyadmin.net
>         --
>         -- Host: localhost
>         -- Generation Time: Jul 10, 2012 at 01:44 PM
>         -- Server version: 5.5.24
>         -- PHP Version: 5.4.4-2
>         
>         SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
>         SET time_zone = "+00:00";
>         
>         
>         /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT
>         */;
>         /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS
>         */;
>         /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION
>         */;
>         /*!40101 SET NAMES utf8 */;
>         
>         --
>         -- Database: `owncloud`
>         --
>         
>         -- --------------------------------------------------------
>         
>         --
>         -- Table structure for table `oc_appconfig`
>         --
>         
>         CREATE TABLE IF NOT EXISTS `oc_appconfig` (
>           `appid` varchar(255) NOT NULL DEFAULT '',
>           `configkey` varchar(255) NOT NULL DEFAULT '',
>           `configvalue` longtext NOT NULL
>         ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
>         
>         --
>         -- Dumping data for table `oc_appconfig`
>         --
>         
>         INSERT INTO `oc_appconfig` (`appid`, `configkey`, `configvalue`)
>         VALUES
>         ('core', 'installedat', '1341850896.1636'),
>         ('core', 'lastupdatedat', '1341851797.4709'),
>         ('core', 'public_gallery', 'gallery/sharing.php'),
>         ('core', 'remote_contacts', 'appinfo/remote.php'),
>         ('core', 'remote_carddav', 'appinfo/remote.php'),
>         ('core', 'public_files', '/apps/files_sharing/get.php'),
>         ('core', 'public_webdav', '/apps/files_sharing/get.php'),
>         ('core', 'remote_calendar', 'appinfo/remote.php'),
>         ('core', 'remote_caldav', 'appinfo/remote.php'),
>         ('core', 'public_calendar', 'calendar/share.php'),
>         ('core', 'public_caldav', 'calendar/share.php'),
>         ('core', 'remote_files', '/apps/files/appinfo/remote.php'),
>         ('core', 'remote_webdav', '/apps/files/appinfo/remote.php'),
>         ('core', 'remote_ampache', '/apps/media/remote.php'),
>         ('core', 'remote_core.css', '/core/minimizer.php'),
>         ('core', 'remote_core.js', '/core/minimizer.php');
>         
>         /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
>         /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS
>         */;
>         /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
>         
>         
> It's probably the leading / that are missing infront of some items?
> 

Afaik the entries should look like this:
         ('core', 'remote_contacts', '/apps/contacts/appinfo/remote.php'),
         ('core', 'remote_carddav', '/apps/contacts/appinfo/remote.php'),
         ('core', 'remote_calendar', '/apps/calendar/appinfo/remote.php'),
         ('core', 'remote_caldav', '/apps/calendar/appinfo/remote.php'),

Can you please change these database entries and let me know if this works.
Any we need a BTS report as well - RC from my point of view.

Thanks a lot,

Thomas

> On Mon, 2012-07-09 at 22:24 +0200, Thomas Müller wrote:
> > Am Montag, dem 09.07.2012 um 20:09 schrieb Leonard:
> > > Hey,
> > > 
> > > just installed the Owncloud Debian package (testing), but getting this
> > > error when trying to use the cal/carddav functionality:
> > > 
> > > [Mon Jul 09 20:04:57 2012] [error] [client 127.0.0.1] PHP Notice:
> > > Undefined offset: 2 in /usr/share/owncloud/remote.php on line 21
> > > [Mon Jul 09 20:04:57 2012] [error] [client 127.0.0.1] PHP Warning:
> > > require_once(/usr/share/owncloudappinfo/remote.php): failed to open
> > > stream: No such file or directory in /usr/share/owncloud/remote.php on
> > > line 25
> > > [Mon Jul 09 20:04:57 2012] [error] [client 127.0.0.1] PHP Fatal error:
> > > require_once(): Failed opening required
> > > '/usr/share/owncloudappinfo/remote.php' (include_path='/usr/share/owncloud/lib:/usr/share/owncloud/config:/usr/share/owncloud/3rdparty:/usr/share/owncloud:/usr/share/owncloud/apps:/usr/share/owncloud/lib:.:/usr/share/php:/usr/share/pear:/usr/share/owncloud') in /usr/share/owncloud/remote.php on line 25
> > > 
> > > Did I do something wrong or is this a bug?
> > > 
> > > Regards,
> > > Leonard
> > > 
> > 
> > Hi,
> > 
> > which database backend are you running sqlite or mysql?
> > Please execute query are send me the results:
> > select * from oc_appconfig where appid='core'
> > 
> > THX,
> > 
> > Thomas
> > 
> > 
> > 
> 
> 
> 
> _______________________________________________
> Pkg-owncloud-maintainers mailing list
> Pkg-owncloud-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-owncloud-maintainers



More information about the Pkg-owncloud-maintainers mailing list