List Info

Thread: maia website not working.




maia website not working.
country flaguser name
Netherlands
2007-08-11 06:37:09
Hi list,

I ran into a little problem trying to get maia to run.
according to the 
configtest.php file I should be pretty much ok, but when I
run login.php all 
I see is an empty page. when I use the browser to view the
document source 
there is nothing at all. which i think would suggest some
php problem. But i 
can't find the reason.

I scanned the apache logs and also found a (probably
unrelated) "warning" in 
the config file which I fixed.

Notice: Use of undefined constant PEAR_LOG_DEBUG - assumed
'PEAR_LOG_DEBUG' in 
maia/config.php on line 79
 
Notice: Use of undefined constant PEAR_LOG_DEBUG - assumed
'PEAR_LOG_DEBUG' in 
maia/config.php on line 82

I found that putting quotes around 'PEAR_LOG_DEBUG' made the
warning go away.

But It still didn't make it run.

I tried the trunk as well just to be sure and found that it
contained similair 
quote bugs.

Notice: Use of undefined constant MAIA_VERSION - assumed
'MAIA_VERSION' in 
maia/smarty.php on line 195

I did get some output here, but mostly "make sure what
your doing" warnings, 
so I gave that up.

Does anyone have any idea as to why I don't get any output?
I put the results of configtest.php below here.

thanks!

Mark Hannessen.

File Permissions  OK 
PHP  OK: 5.2.3 
register_globals  OK 
Smarty Template Engine  OK: Found Smarty in
/lib/php/Smarty/Smarty.class.php 
WDDX Support  OK: WDDX support available 
MySQL Support  OK: MySQL support available
PostgreSQL Support  SKIPPED: PostgreSQL support not
available 
Database Support  OK: Database support is ok 
PEAR  OK: 1.6.1 
PEAR::Mail_Mime  OK: 1.5.2 
PEAR:B  OK:
1.7.12 DB.php installed as: /lib/php/DB.php 
Database Version  OK: No minimum specified yet... Installed:
4.1.11 
PEAR::Pager  OK: 2.4.4 
PEAR::Net_Socket  OK: 1.0.8 
PEAR::Net_SMTP  OK: 1.2.10 
PEAR::Auth_SASL  OK: 1.0.2 
PEAR::Net_IMAP  OK: 1.1.0beta1
PEAR::Net_POP3  SKIPPED: Not installed. This PHP extension
is required to 
authenticate maia against POP3. 
PEAR::Log  OK: 1.9.11 
PEAR::Image_Color  OK: 1.0.2 
PEAR::Image_Canvas  OK: 0.3.1 
PEAR::Image_Graph  SKIPPED: Found version: 0.7.2 -
Image_Graph >= 0.7.2 
recommended, but there is a bug in 0.7.2 that requires a
small patch. See 
http://w
ww.maiamailguard.org/maia/ticket/326 for more details
and the patch. 
PEAR::Numbers_Roman  OK: 0.2.0 
PEAR::Numbers_Words  OK: 0.15.0 
IMAP library  OK: 2004 
LDAP library  OK 
MCrypt library  OK: 2.5.7 with Blowfish and CBC 
BC math library  OK 
gd graphics library  OK: bundled (2.0.34 compatible)
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

Re: maia website not working.
country flaguser name
Canada
2007-08-11 14:03:57
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Hannessen wrote:
> Hi list,
> 
> I ran into a little problem trying to get maia to run.
according to the 
> configtest.php file I should be pretty much ok, but
when I run login.php all 
> I see is an empty page. when I use the browser to view
the document source 
> there is nothing at all. which i think would suggest
some php problem. But i 
> can't find the reason.

Blank pages point to errors in PHP scripts, and usually this
is
explained in your PHP logs, or your web server's logs as
some sort of
error.  Usually the lines to look for refer specifically to
"errors"
(which are fatal), not "warnings" or
"notices" (which are non-fatal, but
may still point to configuration problems).


> I scanned the apache logs and also found a (probably
unrelated) "warning" in 
> the config file which I fixed.
>
> Notice: Use of undefined constant PEAR_LOG_DEBUG -
assumed 'PEAR_LOG_DEBUG' in 
> maia/config.php on line 79
>  
> Notice: Use of undefined constant PEAR_LOG_DEBUG -
assumed 'PEAR_LOG_DEBUG' in 
> maia/config.php on line 82
> 
> I found that putting quotes around 'PEAR_LOG_DEBUG'
made the warning go away.

There should have been no reason to do this; you suppressed
an
informational notice by essentially changing a variable name
to a string
constant, which silences the notice but defeats the
variable's purpose.
 Get rid of those quotes, they don't belong there.

There's some mystery to why that constant (PEAR_LOG_DEBUG)
was not
defined, however, since your configtest.php reports that you
do have the
PEAR::Log module installed.

If you have $debug_popup set to true in config.php, you
should be seeing
a popup window appear whenever you try to load a Maia page
and a notice,
warning, or error occurs.  If the popup is not appearing
(and you have
$debug_popup set to true), then the problem involves
PEAR::Log somehow.
 In that case, set $debug_popup to false.


> But It still didn't make it run.

That's understandable; that was a "notice", rather
than an "error", so
it was not the cause of the blank page.  Look further in the
web logs
for something that explicitly reports an
"error"--that's what should
point you to the cause.


> I tried the trunk as well just to be sure and found
that it contained similair 
> quote bugs.
> 
> Notice: Use of undefined constant MAIA_VERSION -
assumed 'MAIA_VERSION' in 
> maia/smarty.php on line 195

These are not "quote bugs"; there is no need for
quotes around variables
like MAIA_VERSION, they are defined in the constants.php
file, and in
other PHP scripts that are supposed to be included at the
beginning of
the PHP scripts that reference them.  Putting quotes around
them will
silence the notices, but it won't solve the problem that
those notices
are trying to alert you to.

I'm a bit concerned about your comment about using the trunk
version,
and this may point to the problem.  The trunk version is
alpha code for
the 1.1.x series, whereas the release version is the 1.0.x
series.
These two are not database-compatible, and there will be
code
incompatibilities as well.  If you've got a mixture of
release code and
trunk code, and/or you're trying to use trunk code on a
1.0.x database,
you're going to get all sorts of strange errors--that may
well be what
you're experiencing here.

- --
Robert LeBlanc <rjlrenaissoft.com>
Renaissoft, Inc.
Maia Mailguard <http://www.maiamail
guard.com/>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGvggdGmqOER2NHewRAsGqAJwPIgRN7hP1XewnUlgWJqaO3qAJpQCe
IbBu
GM2SLXj98SAI1E9OSZ8Djm8=
=uUeP
-----END PGP SIGNATURE-----
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )