pagespeed_admin links don't work and entire page throws invalid JSON error in browser

35 views
Skip to first unread message

Matthew Austin

unread,
Jun 9, 2017, 7:08:05 AM6/9/17
to mod-pagespeed-discuss
Hi All,

My /pagespeed_admin page causes the following in browser console:

Uncaught Error: Invalid JSON string: <!DOCTYPE html>
<html><head><style>@charset "UTF-8";span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,li,fieldset,form,label,legend,tbody,tfoot,thead,tr{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline}body{line-height:1;color:#000;background:#fff}input::-moz-focus-inner{border:0}a{color:#15c;cursor:pointer;text-decoration:none}a:visited{color:#61c}a:hover{text-decoration:underline}a:active{color:#d14836;text-decoration:underline}.pagespeed-show-number{color:green;overflow:hidden;padding:5px 0 0 10px}.pagespeed-underline-link{color:#00008b;text-decoration:underline}.pagespeed-hidden-offscreen{left:-9999px;position:absolute}.pagespeed-admin-body{font-family:sans-serif;font-size:12px}.pagespeed-admin-tabs{font-size:16px}.pagespeed-sub-tabs{font-size:15px}</style><title>PageSpeed Statistics</title><style>table,th,td{padding:2px}thead{font-family:sans-serif;font-size:18px;font-style:normal;font-weight:bold}.pagespeed-stats-name{text-align:left}.pagespeed-stats-value{text-align:right}.pagespeed-stats-number-of-changes{text-align:center}.pagespeed-stats-first-column{width:600px}.pagespeed-stats-third-column{width:200px}</style>
</head><body class='pagespeed-admin-body'><div class='pagespeed-admin-tabs'>
<b>Pagespeed Admin</b> &nbsp;&nbsp;
<a href='statistics' style='color:darkblue;text-decoration:underline;'>Statistics</a> &nbsp;&nbsp; <a href='config'>Configuration</a> <a href='spdy_config'>(SPDY)</a> &nbsp;&nbsp; <a href='histograms'>Histograms</a> &nbsp;&nbsp; <a href='cache'>Caches</a> &nbsp;&nbsp; <a href='console'>Console</a> &nbsp;&nbsp; <a href='message_history'>Message History</a> &nbsp;&nbsp; <a href='graphs'>Graphs</a> &nbsp;&nbsp; </div><hr/>
<pre id='stat'>timestamp_:                                 1497003376782
cache_time_us:                                   12549146
cache_hits:                                           530
cache_misses:                                        6744
cache_backend_hits:                                  6611
......
......

And so on. Basically, the entire html response

Additionally, none of the links work

Any help is very much appreciated

Thanks
Matt

Joshua Marantz

unread,
Jun 9, 2017, 8:24:22 AM6/9/17
to mod-pagespeed-discuss
Can you share the relevant sections of your pagespeed.conf file?

What version of mod_pagespeed are you running?

--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/e5ccaccb-7b9e-4258-9f31-30de9c187379%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Matthew Austin

unread,
Jun 9, 2017, 8:49:33 AM6/9/17
to mod-pagespeed-discuss
Hi there,

Thanks for the prompt reply but I think it has something to do with My Magento website setup as it is working fine on another domain on same server.

Thanks again
Matt

Rj

unread,
Aug 6, 2018, 8:03:59 AM8/6/18
to mod-pagespeed-discuss
Hello Guys 

I  have this issue on Magento website too....Please can you let me know how it will be resolve?



Reply all
Reply to author
Forward
0 new messages