You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to prototype-s...@googlegroups.com
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
Walter Lee Davis
unread,
Jan 24, 2019, 6:36:19 PM1/24/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to prototype-s...@googlegroups.com
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.
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to prototype-s...@googlegroups.com
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
Alastair Young
unread,
Jan 25, 2019, 6:43:33 AM1/25/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to prototype-s...@googlegroups.com
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
william drescher
unread,
Jan 27, 2019, 7:40:28 AM1/27/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to prototype-s...@googlegroups.com
On 1/25/2019 6:43 AM, Alastair Young wrote:
> 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
Thanks AL
william drescher
unread,
Jan 28, 2019, 6:47:06 AM1/28/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to prototype-s...@googlegroups.com
On 1/25/2019 6:43 AM, Alastair Young wrote:
> 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
>
I fired up the Firefox web console and found no errors (a few
warnings).
As I was looking at the main.php code I saw a missing semicolon
after a heredoc closing identifier and put it in.
The next time I invoked the login script all went well.
Thanks for the suggestions.
--
Bill Drescher
william {at} TechServSys {dot} com
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to prototype-s...@googlegroups.com
On 1/28/2019 6:46 AM, william drescher wrote:
> On 1/25/2019 6:43 AM, Alastair Young wrote:
>> 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
>>
> I fired up the Firefox web console and found no errors (a few
> warnings).
>
> As I was looking at the main.php code I saw a missing semicolon
> after a heredoc closing identifier and put it in.
>
> The next time I invoked the login script all went well.
>
> Thanks for the suggestions.
>
I have no idea why it started working would rather be puzzled
than banging my head against the wall.
-bill