[PHP] PHP 4.1.2 problem with IE

2002-04-22 Thread Dave Sugar

  A client of ours has recently upgraded from PHP 4.0.6 to PHP 4.1.2 and now
they are receiving complaints from users of their website that they
frequently are getting 'Page Not found' errors when going to the website.

  The Website was developed under PHP 4.0.6.  And the index.html file is
just a forward to the main PHP page.  But going straight to the main page
does not seem to make any difference.  I have seen some error reports at
http://bugs.php.net about seemingly similar problems and the answer is 'It
is an Apache Configuration Problem'.  But I have not seen any real answer
and to what the problem is or how to solve this problem.  I can't believe
that no one else is having similar problems.

  Any help in to how to solve this problem would be greatly appreciated.  I
have already spent a whole lot of time looking into this and don't know what
else to try to solve the problem (besides going back to version 4.0.6 of
PHP).

  The live website is running on Solaris version 8 on a Sparc processor.  I
don't know all the details of the hardware.  But it is PHP 4.1.2, Apache
1.3.14.

  Options to configure when compiling PHP are as follows:
--with-apxs --with-mysql=/web/tech/mysql --with-gd --with-jpeg-dir=/usr/loca
l/lib --enable-debug=no  --enable-track-vars=yes  --with-oracle=/oracle/prod
uct/8.0.5 --enable-trans-sid --enable-magic-quotes


  Thanks for the help
  Dave Sugar
  [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP 4.1.2 problem with IE

2002-04-22 Thread Dave Sugar

The error page being shown is IE's 'Page Nout Found' error, not an error 404
returned from the server.  The error sounds very similar to an error posted
to bugs.php.net here (http://bugs.php.net/bug.php?id=15794).  It also has
the feel of this error, but the same solution does not seem to make a
difference (http://bugs.php.net/bug.php?id=9433)

The forward page is using the HTTP meta tag, as follows:




 Glencoe Instructor Management
 





I don't see any errors in the Apache logs regarding this (in error.log).  I
also don't see the page sent to the client (in server.log).

I'm not sure I understand you final question about "What's in the file
system where the file is supposed to be?"  There is the file login.php which
is where the index.html is forwarding to but it shows the 'Page not found'
error in IE.

Just to note, I am unable to reproduce the problem running in Netscape 6.2
(havn't tried other browsers).  I also

This site is virtual hosted (as you will see in the Apache Config below).
But one of the items posted to bugs.php.net made refernece to this as the
problem.  But I also see it on a NON-virtual hosted site.

Once again, thanks for the help.
Dave Sugar
[EMAIL PROTECTED]

I have posted the entire Apache Config file, but I think this overkill:

#
### Main Server Common Config ###
#
###
###
###
### Variable Secion
###
User gdpim.glencoe.com
Group gdpim.glencoe.com
Listen 198.45.24.71:80
Listen 198.45.24.71:9000

ServerAdmin [EMAIL PROTECTED]
ServerRoot /web/sites/gdpim.glencoe.com
###
### Core System Config
###
# LoadModule env_module /usr/local/apache_1.3.14/libexec/mod_env.so
# LoadModule config_log_module
/usr/local/apache_1.3.14/libexec/mod_log_config.so
# LoadModule mime_module/usr/local/apache_1.3.14/libexec/mod_mime.so
# LoadModule negotiation_module
/usr/local/apache_1.3.14/libexec/mod_negotiation.so
# LoadModule status_module
/usr/local/apache_1.3.14/libexec/mod_status.so
# LoadModule includes_module
/usr/local/apache_1.3.14/libexec/mod_include.so
# LoadModule autoindex_module
/usr/local/apache_1.3.14/libexec/mod_autoindex.so
# LoadModule dir_module /usr/local/apache_1.3.14/libexec/mod_dir.so
# LoadModule cgi_module /usr/local/apache_1.3.14/libexec/mod_cgi.so
# LoadModule asis_module/usr/local/apache_1.3.14/libexec/mod_asis.so
# LoadModule imap_module/usr/local/apache_1.3.14/libexec/mod_imap.so
# LoadModule action_module
/usr/local/apache_1.3.14/libexec/mod_actions.so
# LoadModule userdir_module
/usr/local/apache_1.3.14/libexec/mod_userdir.so
# LoadModule alias_module
/usr/local/apache_1.3.14/libexec/mod_alias.so
# LoadModule access_module
/usr/local/apache_1.3.14/libexec/mod_access.so
# LoadModule auth_module/usr/local/apache_1.3.14/libexec/mod_auth.so
# LoadModule setenvif_module
/usr/local/apache_1.3.14/libexec/mod_setenvif.so
LoadModule rewrite_module
/usr/local/apache_1.3.14/libexec/mod_rewrite.so
LoadModule dbm_auth_module
/usr/local/apache_1.3.14/libexec/mod_auth_dbm.so
# LoadModule php3_module
/usr/local/apache_1.3.9/libexec/libphp3-oracle.so
# Old PHP module -- insecure
# LoadModule php4_module
/usr/local/apache_1.3.9/libexec/libphp4-gd-jpeg.so
# New PHP module
LoadModule php4_module
/web/sites/gdpim.glencoe.com/conf/libphp4-S-gdpim.so

#  Reconstruction of the complete module list from all available modules
#  (static and shared ones) to achieve correct module execution order.
#  [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]
ClearModuleList
AddModule mod_env.c
AddModule mod_log_config.c
AddModule mod_mime.c
AddModule mod_negotiation.c
AddModule mod_status.c
AddModule mod_include.c
AddModule mod_autoindex.c
AddModule mod_dir.c
AddModule mod_cgi.c
AddModule mod_asis.c
AddModule mod_imap.c
AddModule mod_actions.c
AddModule mod_userdir.c
AddModule mod_alias.c
AddModule mod_access.c
AddModule mod_auth.c
AddModule mod_so.c
AddModule mod_setenvif.c
AddModule mod_rewrite.c
# AddModule mod_auth_msql.c
AddModule mod_auth_dbm.c
AddModule mod_perl.c
# AddModule mod_php3.c
AddModule mod_php4.c

SetEnv PERL5LIB /web/sites/gdpim.glencoe.com/site_perl
SetEnv PERLLIB /web/sites/gdpim.glencoe.com/site_perl
Include conf/mod_perl.conf


 php_value include_path ".:/web/sites/gdpim.glencoe.com/conf"


###
### Server Config
###
ServerType standalone
HostnameLookups off
ErrorLog logs/error.log
CustomLog logs/server.log "%h %l %u %t \"%r\" %s %b \"%{Referer}i\"
\"%{User-agent}i\""
PidFile logs/httpd.pid
ScoreBoardFile logs/apache_status
Timeout 600
KeepAlive On
MaxKeepAliveRequests 500
KeepAliveTimeout 30
MinSpareServers 1
MaxSpareServers 20
StartServers 2
MaxClients 100
MaxRequestsPerChild 800
###
### Document Config
###
TypesConfig /etc/mime.types
AddIconByEncoding (CMP,/icons/compressed

Re: [PHP] PHP 4.1.2 problem with IE

2002-04-23 Thread Dave Sugar

I disagree with your assessment of the situation being related to the
index.html.  If I browse directly to
http://gdpim.glencoe.com/login/login.php (using IE 6.0 on Windows) I get an
error from IE (not from the webserver) saying 'The page cannot be
displayed".  It is the same error that I get if I enter the URL
http://127.0.0.1 and I don't have a webserver running on my local machine.

Also, the problem doesn't always show up.  Only some times.  There are times
you can browse right to http://gdpim.glencoe.com/login/login.php and it
works first time out.  Sometimes you see the error pages and press refresh
several times before you see the correctly built page.

Thanks again for your assistance
Dave Sugar
[EMAIL PROTECTED]

"Richard Archer" <[EMAIL PROTECTED]> wrote in message
news:p05100315b8ea3acf218b@[210.49.237.250]...
> At 5:30 PM -0400 22/4/02, Dave Sugar wrote:
>
> >The forward page is using the HTTP meta tag, as follows:
> > 
> >I don't see any errors in the Apache logs regarding this (in error.log).
I
> >also don't see the page sent to the client (in server.log).
>
> Hi Dave,
>
> This implies Explorer is failing to interpret the meta refresh properly,
> and is not contacting the server to request the correct page.
>
> It seems to be working fine on the limited versions of IE I have here.
>
> Try using the full URL in that tag:
> http://gdpim.glencoe.com/login/login.php";>
>
>
> Another option (and this is how I always set these redirections up)
> is to set up an index.php file containing:
>
>  header("Status: 404 Condition Intercepted");
> header("Location: http://gdpim.glencoe.com/login/login.php";);
> ?>
>
> You will also need to add "index.php" to the DirectoryIndex line
> in httpd.conf:
> DirectoryIndex index.cgi index.pl index.html index.htm index.php
>
>
> >I have posted the entire Apache Config file, but I think this overkill:
>
> Too much information is better than not enough :)
>
>  ...R.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php