OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



font size block broken with ssl/https

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

font size block broken with ssl/https

Postby Effie » Wed Mar 13, 2013 11:10 am

The font size block no longer works once I moved the OCS site to ssl/https for Chrome and IE. It does seem to work in https for Firefox and Safari. It's a new install at 2.3.5
How can I fix it so that it always works?
Here's an example:
http://staging-ocs-tamucc.tdl.org/staging/
https://staging-ocs-tamucc.tdl.org/staging/
Many Thanks,
Effie Jarrett
Effie
 
Posts: 5
Joined: Tue Mar 20, 2012 12:24 pm

Re: font size block broken with ssl/https

Postby Effie » Tue Mar 19, 2013 7:41 am

Hello again,

I've tried changing my configuration in httpd.conf and ocs.conf with no success in fixing this.
We are moving 15 OCS servers to the most recent version and hopefully to https.
Am I forgetting something in the big picture that is preventing this from working?
Many Thanks,
Effie
--
Senior Systems Administrator
Texas Digital Libraries
The University of Texas at Austin
Effie
 
Posts: 5
Joined: Tue Mar 20, 2012 12:24 pm

Re: font size block broken with ssl/https

Postby asmecher » Tue Mar 19, 2013 9:16 am

Hi Effie,

The font sizer is implemented in lib/pkp/js/sizer.js -- it toggles the enabled/disabled states of the styles/font*.css stylesheets. If you're mixing HTTP and HTTPS in your requests (i.e. redirecting to a HTTPS connection on login), then likely the cookie-based storage of font size preference is not going to work. Are the controls themselves not working, or is the stored preference that's not working?

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: font size block broken with ssl/https

Postby Effie » Fri Mar 29, 2013 8:27 am

Here's the solution:

In config.inc.php change enable_cdn to Off:

enable_cdn = Off

If you changed your code to use "protocol relative urls", I think these problems would go away.

thanks, :)
Effie
Effie
 
Posts: 5
Joined: Tue Mar 20, 2012 12:24 pm


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests