OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Problem loading stylesheet

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

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Problem loading stylesheet

Postby renatem » Wed May 02, 2007 1:07 pm

Hi,

I wanted to upload my changed stylesheet from the Web interface, but I get the following error message. My file name HAS the extension .css

The images load without problem.

...
Home > User > Journal Management > Journal Setup
Step 5. Customizing the Look

* 5. The Look

Errors occurred processing this form:

* Invalid journal stylesheet format. Accepted format is .css.

5.1 Journal Homepage Header
renatem
 
Posts: 16
Joined: Tue Apr 10, 2007 4:09 pm

Postby asmecher » Wed May 02, 2007 3:04 pm

Hi renatem,

As you might expect, OJS is having trouble determining the type of file you've uploaded. There are a number of posts in this forum discussing how to debug the problem -- search for mime_content_type -- but the most frequent fix, if your server is set up properly, is to remove any comments at the beginning of the CSS file. Comments at the beginning confuse the file type detection process.

Regards,
Alec Smecher
Open Journal Systems Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 8321
Joined: Wed Aug 10, 2005 12:56 pm

Re: Problem loading stylesheet

Postby Sharon Hu » Thu Sep 27, 2007 9:14 am

Thanks Alec!
sharon
Sharon Hu
 
Posts: 2
Joined: Wed Sep 26, 2007 4:34 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 3 guests