MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
Link to showslow result not correct
Current time: 08-15-2020, 06:55 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Link to showslow result not correct
08-01-2011, 08:24 AM
Post: #1
Link to showslow result not correct
On the webpagetest test result screen, there is a link called "See in ShowSlow" which points to: http://hostname/showslow/beacon/yslow/details/?url=http%3A%2F%2Fwhatever.com%2F#webpagetest

this URL should not point to "../showslow/beacon/yslow/details/?..." but to "../showslow/details?..." (also notice removal of the forward slash in front of the question mark)

To correct this, add a parameter to settings.ini (I called it "showslowbase") and put in the path to the showslow base location. For example:

;showslow beacon
showslow=http://g1lwltreport.dc1.corp.gd:8080/showslow/beacon/yslow

;showslow base
showslowbase=http://g1lwltreport.dc1.corp.gd:8080/showslow

Then, in result.inc, change line 102:

from:

echo '<br><a href="'.$settings['showslow'].'/details/?url='.urlencode(FixUrlSlash($url)).'#webpagetest' . '">See in ShowSlow</a>';

to:

echo '<br><a href="'.$settings['showslowbase'].'/details?url='.urlencode(FixUrlSlash($url)).'#webpagetest' . '">See in ShowSlow</a>';
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Link to showslow result not correct - mverkerk - 08-01-2011 08:24 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)