Location of error logs for install?

TomSwirly / 2012-02-07 11:57:57   

Hello. I'm a system administrator helping a user configure indexhibit. We have a couple of other installations in our system that seem to work fine, so I'm rather baffled as to what's going on here.

I had some trouble believing that the user was really entering the correct information, so I finally changed all the passwords myself and tried it - same issue. Moreover, the same credentials get me into the database from the command line.

Also, I don't see *any* activity in the error logs for the server! I looked in both the SQL logs and the Apache logs - nothing - and I also checked to see if the user had overridden error_log or such in his php.ini - it was completely generic.

The system installation redirects the php error log to the Apache error log - in other words, there are no specific PHP error logs. I can see errors and warnings from other PHP programs in the logs...

I took a series of screenshots:

Here's the configuration page, with the error message: http://imgur.com/P4LJP
Here's a page with his temporary SQL password and account: http://imgur.com/pfi9k
Here's me successfully connecting to the database from the command line: http://imgur.com/vullC

(You can't see the password in that last one, but I assure you that I copied and pasted it from the previous screen).

The installation would be at http://ilankatin.com

If I could just see some error logs, I could probably resolve this in a moment...

TomSwirly / 2012-02-07 12:04:41   

As a footnote, I turned on pretty well all error reporting for his account individually - you can see it here: http://ilankatin.com/test.php, and even here: http://ilankatin.com/index.php

...and I can also see these PHP warnings in his Apache log, which seems to prove that messages from indexhibit _are_ making it to the log.

TomSwirly / 2012-02-07 12:13:03   

And one more data point.

I went through the entire process from the start with debugging turned on and I see this message repeated twice on the first page:

Notice: Trying to get property of non-object in /home/ilankatin/public_html/ndxz-studio/helper/html.php on line 18

From reading html.php, it seems as if this behavior should be expected, though, if you haven't set $INDX yet, which can't be set if the program isn't configured yet.

pernin / 2012-02-07 12:13:26   

what I can see is that you have PHP 5.3 with deprecation warnings enabled

There are 2 options:

If you can switch off deprecation warnings that's the best option, they are not really necessary outside a development environment

the other alternative, by far the worse, but it works, is turning off indexhibit's error reporting:

edit ndxz-studio/defaults.php, add:
ini_set('error_reporting', 4096);

not the best, but it works (usually). This should allow indexhibit to install and work correctly, or at least will let us see what else is not working ;)

Vaska A / 2012-02-07 12:20:02   

What version of the mysql is it? There is an odd quirk with newer mysql (which is not so heavily used yet) that can kill and installation, as well.

TomSwirly / 2012-02-07 12:38:23   

I turned the deprecation warnings back off! (index.php starts with them turned off anyway...)

The line in index.php now looks like: error_reporting(E_ALL & ~E_DEPRECATED);

The mysql version is:

mysql Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (x86_64) using readline 6.1

TomSwirly / 2012-02-07 12:50:17   

Oh, and thanks for your help!

pernin / 2012-02-07 12:52:56   

apart from this error when starting the installation procedure:

Notice: Trying to get property of non-object in /home/ilankatin/public_html/ndxz-studio/helper/html.php on line 18

what else happens when you try to install?

TomSwirly / 2012-02-07 13:00:00   

I get to this error message: http://imgur.com/P4LJP

TomSwirly / 2012-02-07 13:00:44   

It would be fairly easy for me to e.g. add debugging statements to the code, if it came down to it.

TomSwirly / 2012-02-07 13:02:03   

And, as above, this image shows you that these credential are correct:

http://i.imgur.com/vullC.png

pernin / 2012-02-07 13:07:47   

huh... Vaska knows a lot more about these issues with mysql... maybe he'll have a look

in the meantime, you could check this

TomSwirly / 2012-02-07 14:59:29   

Oh, thanks... I'll try this later and get back to you!

pernin / 2012-02-07 15:02:07   

If that isn't the prob, check also the last post in the thread linked, there's been reports on that for some mysql installations
http://www.indexhibit.org/forum/thread/748/#post_76560

This thread has been closed, thank you.