Koozali.org: home of the SME Server

installing new module: Kronolith/nag = just a blank screen

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
grepping for isWarning
« Reply #15 on: February 18, 2004, 12:00:11 AM »
Hi

Because I was unable to find isWarning in other places than this 2 below:

./docs/CHANGES:[jan] Remove deprecated DB::isWarning() calls.
./kronolith/lib/Driver/sql.php:            if (DB::isError($this->db) || DB::isWarning($this->db)) {

AND one of them say deprecated...

I take a decision: comment out that line!
So I did as below:


            /* Connect to the SQL server using the supplied parameters. */
            $this->db = &DB::connect($this->params, true);
/* Jader comment... will this fix it??
            if (DB::isError($this->db) || DB::isWarning($this->db)) {
                Horde::fatal($this->db, __FILE__, __LINE__);
            }
end of Jáder comment */

            /* Enable the "portability" option. */
            $this->db->setOption('optimize', 'portability');

            $this->connected = true;
        }

        return true;
    }


Voilá! Now I can enter in Kronolith... BUT
I cannot register anything...
See my /var/log/messages:

Feb 17 19:39:24 aguia sshd[1853]: Accepted password for root from 192.168.13.50 port 4302
Feb 17 19:39:24 aguia sshd(pam_unix)[1855]: session opened for user root by (uid=0)
Fev 17 19:55:08 aguia httpd: PHP Warning:  html(HTML/Select.php): failed to open stream: Arquivo ou di
retório não encontrado in /home/httpd/html/horde/kronolith/lib/Event.php on line 452
Fev 17 19:55:08 aguia httpd: PHP Warning:  html(): Failed opening 'HTML/Select.php' for inclusion (inc
lude_path='.:/usr/share/pear') in /home/httpd/html/horde/kronolith/lib/Event.php on line 452
Fev 17 19:55:08 aguia httpd: PHP Fatal error:  Cannot instantiate non-existent class:  html_select in
/home/httpd/html/horde/kronolith/lib/Event.php on line 453
Fev 17 19:55:33 aguia httpd: PHP Warning:  html(HTML/Select.php): failed to open stream: Arquivo ou di
retório não encontrado in /home/httpd/html/horde/kronolith/lib/Event.php on line 452
Fev 17 19:55:33 aguia httpd: PHP Warning:  html(): Failed opening 'HTML/Select.php' for inclusion (inc
lude_path='.:/usr/share/pear') in /home/httpd/html/horde/kronolith/lib/Event.php on line 452
Fev 17 19:55:33 aguia httpd: PHP Fatal error:  Cannot instantiate non-existent class:  html_select in
/home/httpd/html/horde/kronolith/lib/Event.php on line 453
Feb 17 19:57:21 aguia sshd[1919]: Accepted password for root from 192.168.13.50 port 4339


I´m still getting errors... this Event.php file on line 452 has a include to a  Select.php file that I was unable to find!



Can I have a broken Kronolith rpm ?
Where I can get one updated?
I have installed:

[root@aguia root]# rpm -qa|grep kronolith
kronolith-1.0-1es
e-smith-kronolith-0.8.1-01db
[root@aguia root]#

Thanks by all help!
...

Offline DanB35

  • *****
  • 764
  • +0/-0
    • http://www.familybrown.org
installing new module: Kronolith/nag = just a blank screen
« Reply #16 on: February 25, 2004, 11:45:06 PM »
I don't think you have a "broken" kronolith RPM, but what you're seeing looks pretty strange to me.  Are you sure that the sql.php file you modified came with the RPM?

I'd say it looks like the Select.php file that it's looking for is part of another PEAR class called HTML.  Do you have that installed?  If not, try installing it.

I've used this RPM under SME 5.6, but not under any later version.
......

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
reformat??
« Reply #17 on: February 26, 2004, 01:50:25 AM »
Dan

I think I´ll reformat and start over...

I have a SME 5.6 with patch 6 and PHP upgrade from the above link... I don´t know WHAT is going wrong... or why!

I know that I cannot do anymore:pear install Log
It don´t work (read above to see message!)
So I do pear download Log-1.6.7.tgz (as above!)
and pear install Log-1.6.7.tgz ...
and my problems started to happen!

Could you please verify that the howto (and update it if this is the case)still is valid for you (I don´t know if you have a spare machine like me...)

Or just say what Is should to do and I´ll reformat my HDD and start from scratch again! :D

Thanks by your patience...

Jáder
...

Offline DanB35

  • *****
  • 764
  • +0/-0
    • http://www.familybrown.org
installing new module: Kronolith/nag = just a blank screen
« Reply #18 on: February 27, 2004, 09:40:09 PM »
Just noticed something--you're using Kronolith 1.0?  I have an RPM out (since July) of 1.1.  I think that may be the problem--sorry that hadn't clicked for me earlier.
......

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
now with Kronolith 1.1
« Reply #19 on: March 01, 2004, 12:13:49 PM »
Dan,

I have reformated and reinstalled from scratch...
NOTHING!

I´m still using pear download Log-1.6.7.tgz and pear install Log-1.6.7.tgz.

Anda after install Kronolith (1.1) and nag rpms I get NAG working but kronolith not!

Here is my /var/log/messages:

Mar  1 05:11:54 aguia HORDE[1218]: [imp] Login success for admin@abandonemicrosoft.com [192.168.13.50] to {localhost:143} [on line 83 of "/home/httpd/html/horde/imp/redirect.php"]
Mar  1 05:12:11 aguia httpd: PHP Warning:  main(Date/Calc.php): failed to open stream: Arquivo ou diretório não encontrado in /home/httpd/html/horde/kronolith/lib/base.php on line 63
Mar  1 05:12:11 aguia httpd: PHP Fatal error:  main(): Failed opening required 'Date/Calc.php' (include_path='.:/usr/share/pear') in /home/httpd/html/horde/kronolith/lib/base.php on line 63

:( I´ll try fix it tonight (now it´s time to go to work!) :)

Thanks
Jáder
...

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
new reinstall
« Reply #20 on: March 09, 2004, 01:18:26 AM »
I reinstalled everything:
SME 5.6 updt 6
PHP upgrade
Kronolith 1.1 this time...

pear download log-1.6.7
pear install log-1.6.7
pear install Date
/sbin/e-smith/signal-event horde-update

login on webmail=ok
click on calendar=ok (show screen)
create new event :(     don´t work!

I don´t get any error...that I can find at least!
But nothing changes!

Anyone can help me?
An new howto would be fine...
Or just tell me what version of each file you have if you have a SME5.6u6...

I can reinstall this server each time to test... no problem...

Thanks

Jáder
...

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Solved!!!! Kronolith was not saving events
« Reply #21 on: March 12, 2004, 01:52:03 AM »
Hello everyone!

After a long research using google I found other people with same problem as me: Kronolith was not working!

One person suggested running the script to create kronolith database again, I do it using:
"
mysql horde < /home/httpd/html/horde/kronolith/scripts/drivers/kronolith.sql
"

and everything appears to work.
I was able to create events and update/modify them!

I´m thinking about to update the HowTo about this... if his owner don´t mind!

Thanks for everyone who try to help!

Jáder
...

brad

installing new module: Kronolith/nag = just a blank screen
« Reply #22 on: March 12, 2004, 02:18:21 AM »
Have you tried upgrading the Horde Framework.  I had this problem on a different linux server and it solved the problem of getting other apps working.

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
installing new module: Kronolith/nag = just a blank screen
« Reply #23 on: March 14, 2004, 10:58:08 PM »
I'm a complete newbie. So I just do as described above. No GREAT NEW ideas... too risky to me :)

But now it's working... almost perfect!
I'm getting an warning about allow_resume_all in navbar.inc line 19 !!!
...