[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[H-source-users] R: Problems with running a custom instance
From: |
Antonio Gallo |
Subject: |
[H-source-users] R: Problems with running a custom instance |
Date: |
Mon, 29 Oct 2012 20:50:32 +0000 (GMT) |
--- Dom 28/10/12, Michał Masłowski <address@hidden> ha scritto:
> Da: Michał Masłowski <address@hidden>
> Oggetto: [H-source-users] Problems with running a custom instance
> A: address@hidden
> Data: Domenica 28 ottobre 2012, 18:42
> Hello. I'm trying to configure
> a custom instance of h-source (for
> h-client testing), I did what was stated in README.txt
> (changing DB,
> USER, PWD, HOST and DOMAIN_NAME in Config/Config.php).
>
> I think this change is needed to create the tables:
>
> Index: tables.sql
> ===================================================================
> --- tables.sql (revision 389)
> +++ tables.sql (working copy)
> @@ -402,7 +402,7 @@
> `comm_year` char(15) NOT NULL,
> `id_hard` int(10) unsigned NOT NULL,
> `pci_id` char(10) NOT NULL,
> - `subtype` char(25)) NOT NULL,
> + `subtype` char(25) NOT NULL,
> `driver` varchar(50) NOT NULL,
> `interface` char(15) NOT NULL DEFAULT
> 'not-specified',
> `bios` char(20) NOT NULL DEFAULT
> 'not-specified',
>
> Now visiting the main page gives this error:
>
> Notice: Undefined offset: 0 in
> /home/mtjm/h-source/Application/Controllers/BaseController.php
> on line 156 Fatal error: Call to a member function render()
> on a non-object in
> /home/mtjm/h-source/Application/Controllers/BaseController.php
> on line 156
>
> Is it a known issue? What should I do to fix it?
Thanks for the signaling of the typo inside tables.sql
I've solved the issue, it should work now.
Antonio