frebbsd 6.2 phplogcon 2.5.23 blank pages

Everything which is related to the installation of phpLogCon.

frebbsd 6.2 phplogcon 2.5.23 blank pages

Postby ilyanix » Wed Jan 14, 2009 8:08 am

hi all...
i have some strange trouble with phplogcon on my freebsd
i install phplogcon from freebsd ports in httpd.conf im add

Code: Select all
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps

    Alias /syslog "/usr/local/www/phplogcon"
    <Directory "/usr/local/www/phplogcon">
        AllowOverride None
        Options Indexes FollowSymLinks
        Order deny,allow
        Allow from all
    </Directory>



then i create config.php
$touch /usr/local/www/phplogcon/config.php
$chmod 666 /usr/local/www/phplogcon/config.php

when i try open page in my brouser or with curl (http://my-ip/syslog i have nothing =( no page, no html code, no errors, only in my httpd-access.log

Code: Select all
    "GET /syslog/ HTTP/1.1" 200 - "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008122011 Firefox/2.0.0.12
with mozilla, or whith curl
Code: Select all
    "GET /syslog/ HTTP/1.1" 200 - "-" "curl/7.18.0 (i386-portbld-freebsd6.2) libcurl/7.18.0 OpenSSL/0.9.7e zlib/1.2.3"



I'm also try get http://my-ip/syslog/index.php or http://my-ip/syslog/install.php and get same result =(
when i start index.php from cli it work correct
Code: Select all
$ pwd
/usr/local/www/phplogcon
$ php index.php


   Critical Error occured   -   Errordetails:
   Error, main configuration file is missing!<br><br><center><b>Click <a href="./install.php">here</a> to Install PhpLogCon!</b><br><br></center>

   Terminating now!
$


my php work correctly i test it with test index.php

Code: Select all
    <?php
    phpinfo();
    ?>


and i see php info page.

P.S. i try debug on in php.ini and httpd.conf but not see any errors.
P.P.S. ssory for my English is not my native lang =)
ilyanix
New
 
Posts: 2
Joined: Wed Jan 14, 2009 7:27 am

phpLogCon professional services

  • Custom phpLogCon configuration?
  • Maintenance Contract?
  • Installation support?

Re: frebbsd 6.2 phplogcon 2.5.23 blank pages

Postby rgerhards » Wed Jan 14, 2009 8:29 am

umm.. that sounds scary. I don't know what could cause that. Andre, the main developer, is on nice vacation this week. So if nobody else has an idea, I guess we need to wait until he either has nothing better to do than look at the forum ;) or wait until monday...

Rainer
User avatar
rgerhards
Site Admin
 
Posts: 2647
Joined: Thu Feb 13, 2003 11:57 am

Re: frebbsd 6.2 phplogcon 2.5.23 blank pages

Postby ilyanix » Wed Jan 14, 2009 8:34 am

=(((
ok, will be patient.
for info, my software versions is:
Code: Select all
# uname -r
6.2-RELEASE
# pkg_info | egrep "apache|php5-5|phplogcon"
apache-2.2.3        Version 2.2 of Apache web server with prefork MPM.
php5-5.2.8          PHP Scripting Language
phplogcon-2.5.23    Web Based Syslog Review
#
ilyanix
New
 
Posts: 2
Joined: Wed Jan 14, 2009 7:27 am

Re: frebbsd 6.2 phplogcon 2.5.23 blank pages

Postby crolim » Sat Jan 17, 2009 7:10 pm

Hi. I was able to reproduce the problem in a clean freebsd installation.
The cause seems to be missing dependencies. After installing the port lang/php5-extensions with default options, the page contents appeared to me.
I will track the necessary extensions and add them to the port. For now, I am using the following:
Code: Select all
php5-ctype-5.2.8    The ctype shared extension for php
php5-dom-5.2.8      The dom shared extension for php
php5-extensions-1.2 A "meta-port" to install PHP extensions
php5-filter-5.2.8   The filter shared extension for php
php5-hash-5.2.8     The hash shared extension for php
php5-iconv-5.2.8    The iconv shared extension for php
php5-json-5.2.8     The json shared extension for php
php5-pdo-5.2.8      The pdo shared extension for php
php5-pdo_sqlite-5.2.8 The pdo_sqlite shared extension for php
php5-posix-5.2.8    The posix shared extension for php
php5-session-5.2.8  The session shared extension for php
php5-simplexml-5.2.8 The simplexml shared extension for php
php5-spl-5.2.8      The spl shared extension for php
php5-sqlite-5.2.8   The sqlite shared extension for php
php5-tokenizer-5.2.8 The tokenizer shared extension for php
php5-xml-5.2.8      The xml shared extension for php
php5-xmlreader-5.2.8 The xmlreader shared extension for php
php5-xmlwriter-5.2.8 The xmlwriter shared extension for php
crolim
Avarage
 
Posts: 20
Joined: Sat Jan 17, 2009 6:59 pm

Re: frebbsd 6.2 phplogcon 2.5.23 blank pages

Postby alorbach » Mon Jan 19, 2009 10:32 am

Hi,

please take a look into the error log from your webserver, most likely located in /var/log/apache2/ or /var/log/httpd/. The error log will contain details about the error, blank pages are a result of suppressed error details.

best regards,
Andre Lorbach
User avatar
alorbach
Site Admin
 
Posts: 1129
Joined: Thu Feb 13, 2003 11:55 am

Re: frebbsd 6.2 phplogcon 2.5.23 blank pages

Postby crolim » Wed Jan 21, 2009 4:27 pm

I did update the FreeBSD port. Now it has the correct dependencies for PHP extensions:
www/php5-session
graphics/php5-gd
textproc/php5-xml

An OPTIONs menu was also added, in case of the user wants to install MySQL support or any PDO driver for database access.
crolim
Avarage
 
Posts: 20
Joined: Sat Jan 17, 2009 6:59 pm

Re: frebbsd 6.2 phplogcon 2.5.23 blank pages

Postby alorbach » Wed Jan 21, 2009 4:50 pm

Which means now phpLogCon is working?

regards,
Andre
User avatar
alorbach
Site Admin
 
Posts: 1129
Joined: Thu Feb 13, 2003 11:55 am

Re: frebbsd 6.2 phplogcon 2.5.23 blank pages

Postby rgerhards » Wed Jan 21, 2009 5:22 pm

so this means there now is a fully functional port of phpLogCon in the FreeBSD ports tree? That's cool news - time for a small celebration, isn't it? ;)

Rainer
User avatar
rgerhards
Site Admin
 
Posts: 2647
Joined: Thu Feb 13, 2003 11:57 am

Re: frebbsd 6.2 phplogcon 2.5.23 blank pages

Postby crolim » Thu Jan 22, 2009 5:04 am

Yes. The correction was already committed into the ports tree and the dependency issue is gone.
And Ilya's setup is working too.

regards,
Cristiano Rolim
crolim
Avarage
 
Posts: 20
Joined: Sat Jan 17, 2009 6:59 pm

Re: frebbsd 6.2 phplogcon 2.5.23 blank pages

Postby rgerhards » Thu Jan 22, 2009 9:09 am

excellent, thanks guys :) This is very, very good news!
User avatar
rgerhards
Site Admin
 
Posts: 2647
Joined: Thu Feb 13, 2003 11:57 am

Google Ads



Return to Installation

Who is online

Users browsing this forum: No registered users and 0 guests

cron