If you enter the URL of the php script directly into the browser address
bar does the server parse it as php?
Can you share the javascript that is making the ajax request?
In developer mode on your browser do you see any javascript errors?

cheers al

On Fri, 25 Jan 2019 at 11:26, william drescher <[email protected]>
wrote:

> On 1/24/2019 6:36 PM, Walter Lee Davis wrote:
> > Can you try adding a debug page in your web root? Something like <?php
> phpinfo(); ?>. Name that debug.php and visit it in a browser. See if it
> loads as php, and if it does, see if it runs as php. It sounds to me as
> though your apache server is not currently configured to use mod_php and
> interpret the code.
> >
> > Walter
>
> Thank you.  The login page is php and the main page is php and
> both load and are interpreted.  The pages loaded through AJAX are
> the ones not being interpreted.
> bill
> >
> >> On Jan 24, 2019, at 8:05 AM, william drescher <[email protected]>
> wrote:
> >>
> >> I have a large application that runs on a Ubuntu server and uses
> prototype 1.7 and scriptaculous.js 1.9.0.
> >>
> >> I just updated The OS from ubuntu 16.04 LTS to ubuntu 18.04 LTS. The
> login page loads fine, but when the main page loads it displays the php
> script that is loaded via AJAX as text, ie it is not interpreted.
> >> Then. after about 1 second, the page exits and goes back to the login
> page.
> >>
> >> A login failure redirects to the login page without displaying any of
> the main page.  So this is not a login failure.
> >>
> >> Everything was fine under ubuntu 16.04 LTS.
> >>
> >> Any thought as to what might be happening and/or any thoughts on
> debugging it.
> >>
> >> Here is the Apache2 error log:
> >> ...
> >> [Wed Jan 23 09:50:18.803176 2019] [core:notice] [pid 1603] AH00094:
> Command line                                   : '/usr/sbin/apache2'
> >> [Wed Jan 23 14:53:09.818285 2019] [mpm_prefork:notice] [pid 1603]
> AH00169: caugh                                   t SIGTERM, shutting down
> >> [Wed Jan 23 14:53:09.949489 2019] [mpm_prefork:notice] [pid 2933]
> AH00163: Apach                                   e/2.4.29 (Ubuntu)
> configured -- resuming normal operations
> >> [Wed Jan 23 14:53:09.949550 2019] [core:notice] [pid 2933] AH00094:
> Command line                                   : '/usr/sbin/apache2'
> >> [Wed Jan 23 15:02:24.216059 2019] [mpm_prefork:notice] [pid 2933]
> AH00169: caugh                                   t SIGTERM, shutting down
> >> [Wed Jan 23 15:03:17.252870 2019] [mpm_prefork:notice] [pid 1426]
> AH00163: Apach                                   e/2.4.29 (Ubuntu)
> configured -- resuming normal operations
> >>
> >> -bill
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> Groups "Prototype & script.aculo.us" group.
> >> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> >> To post to this group, send email to
> [email protected].
> >> Visit this group at
> https://groups.google.com/group/prototype-scriptaculous.
> >> For more options, visit https://groups.google.com/d/optout.
> >
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Prototype & script.aculo.us" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to
> [email protected].
> Visit this group at
> https://groups.google.com/group/prototype-scriptaculous.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/prototype-scriptaculous.
For more options, visit https://groups.google.com/d/optout.

Reply via email to