OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Index Page Question

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.

Index Page Question

Postby Pamela » Wed Apr 25, 2007 12:02 pm

Hi There,
I'm working on customising Ojs for a client and intergrading some parts of it into another cms site. What I'm noticing is similar to what this site does http://theharrow.com which I found a link to in another post.
When you enter the site and come to the main index.php page and are NOT logged in as a user... the horizontal navigation menu with the links, sits half way down the page. The journal I've installed is also doing this..but when I log in the nav. menu moves up to where it should be. I've been looking through the code but cant seem to figure this out. I would like to make the menu stay in the same place wether logged in or not. I've seen a few sample sites on the main pkp.sfu.ca site..but didnt notice the menu doing that and was not logged into their site.

if anyone knows...I'm a bit stumped with this :?:

Thanks
Pamela
 
Posts: 11
Joined: Wed Apr 25, 2007 11:50 am

Postby asmecher » Wed Apr 25, 2007 12:26 pm

Hi Pamela,

I'm guessing at this point, but I've seen strange page rendering behavior with IE when the main content "pane" is too wide for the spot it sits in, either due to wide content like a banner image, or due to mismatching widths specified in a modified CSS file. If Firefox draws the page properly but IE jumps content down by half a page, you might look into that.

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: 9072
Joined: Wed Aug 10, 2005 12:56 pm

Postby Pamela » Wed Apr 25, 2007 1:09 pm

Thanks for responding so quickly!

I checked in firefox and you are right, it seems to look how I want in that browser but not in IE. Once I log into the journal in IE it looks fine though. Now to figure out what is causing this, there is a banner image but it's the same throughout the site. same with the cms file, it doesnt change through the site either. Interesting, Do you think it might be the main index.php file?
Pamela
 
Posts: 11
Joined: Wed Apr 25, 2007 11:50 am

Postby asmecher » Wed Apr 25, 2007 3:05 pm

Hi Pamela,

Try saving two copies of the web page to your local hard disk, one with an account logged in, one without. Then do a comparison with whatever tools you've got (I use diff on Linux) of the two files. That should give you some idea of what's causing the problem.

The differences will depend on your journal config and any modifications you've made, but on my development machine, the only major difference is that when I'm logged in, there is a "Logged In As..." message on the right-hand sidebar. When not logged in, there is a login form. This is defined in templates/common/sidebar.tpl (depending on the version you're using).

If you're using a custom stylesheet, does removing it correct the problem?

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: 9072
Joined: Wed Aug 10, 2005 12:56 pm

Postby Pamela » Wed Apr 25, 2007 4:56 pm

Hi Again,
I tried viewing the source and comparing it but the only differences I can see are the few extra block options listed once someone logs in. When I paste this same code into front page it looks the way it does in firefox, its lined up how it should be. I dont have a custom CMS file up, using the one it came with and changed only the colours on it, I compared it to an origional and found no differences. It wasnt lined up when I installed the program either so I don't think it's somthing I changed.

I'm also noticing that I cant upload any files in the submission area as an author, I tried .doc .txt .pdf then tried changing the address of the directry folder but no luck.

I was thinking I could reinstall it but it doesnt make much sense as both these issues were here from the start. These 2 things seem to be the only I'm stuck on, I spent most of today trying to figure it out, then found this forum :)
Pamela
 
Posts: 11
Joined: Wed Apr 25, 2007 11:50 am

Postby asmecher » Wed Apr 25, 2007 5:12 pm

Hi Pamela,

There are links to a few discussions of upload problems at http://pkp.sfu.ca/support/forum/viewtopic.php?t=1616.

As for the page layout problem, could you take a screenshot and send it to me?

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: 9072
Joined: Wed Aug 10, 2005 12:56 pm

Postby Pamela » Thu Apr 26, 2007 8:49 am

I've taken 2 screen grabs of the page :)

1st one when Im not logged in, youll see the navigation and main content is down at the bottom of the page.

http://www.media-3-design.com/notloggedin.jpg


The second is when Im logged in, the navigation and main content moves up and sits where it should be sitting.

http://www.media-3-design.com/loggedin.jpg

Like you mentioned yesterday though, It doesnt do this in the firefox browser, seems to be something with IE

Thanks for the link to the uplaod issues, I'll go take a look now and see if I can resolve this problem :)
Pamela
 
Posts: 11
Joined: Wed Apr 25, 2007 11:50 am

Postby Pamela » Thu Apr 26, 2007 9:15 am

would this cause errors with the prog? (I' got these when I installed it)

config.inc.php is writable (optional): Yes
public/ is writable: Yes
cache/ is writable: Yes
cache/t_cache/ is writable: NO
cache/t_compile/ is writable: Yes
cache/_db is writable: NO

In my Cache folder there is only one folder:
"cache/t_compile/ is writable: Yes "


these 2 folders do not exsist:
cache/t_cache/ is writable: NO
cache/_db is writable: NO

I'm trying to figure out the reason for not being able to uplaod files, I did look at the other posts, one was similar to my problem I'm still trying to resolve it :) Just curious if the 2 folder that do not exsist could be an issue? Should I create these folder manually?
Pamela
 
Posts: 11
Joined: Wed Apr 25, 2007 11:50 am

Postby asmecher » Thu Apr 26, 2007 10:14 am

Hi Pamela,

Those file permissions warnings won't cause author upload problems, but you should definitely fix them anyway (including creating the two empty directories and making them writable). The one you need to check permissions on for the upload issue is the "files" path, which is configured in config.inc.php under the "files_dir" directive.

From your screenshots, I'd guess that the font changes associated with your CSS modifications have made the login fields too wide for the space they're in. Try shortening the length of those input fields (which you'll find in templates/common/sidebar.tpl in the current release, although they'll move when OJS 2.2 is released).

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: 9072
Joined: Wed Aug 10, 2005 12:56 pm

Postby Pamela » Thu Apr 26, 2007 11:06 am

Thanks again for your help with this!
I'll try what you've suggested. I have noticed a few other journals do the same thing with the main page so I'll see if I can figure it out this afternoon.

I'll keep you posted :)
Pamela
 
Posts: 11
Joined: Wed Apr 25, 2007 11:50 am

Postby Pamela » Fri Apr 27, 2007 6:53 am

The issue with the layout seems to have soemthing to do with IE6. I've noticed this on other people journals when using IE and the problem seems to fix itself when using firefox. I was hoping my bf would know so went by his place to show him, when we went to the main index page it looked fine on his computer. He updated to IE 7 a few weeks ago so assuming there is something new in IE 7 that supports a certain setting that IE6 does not. Theres not much I can do about this.

The issue I was having uploading files is due to php safemode being turned on on the servers my client is using. It took quite a while to find this and unfortunately cannot be turned off manually, hopefully her hosting company turns is willing to turn it off.
Pamela
 
Posts: 11
Joined: Wed Apr 25, 2007 11:50 am

Postby asmecher » Fri Apr 27, 2007 9:04 am

Hi Pamela,

Are you able to verify whether a stock OJS installation suffers this problem with IE7? If you have a moment, check what happens if you remove any CSS changes you've put in place.

There are a few discussions in this forum of safe mode; basically, if the most restrictive form of safe mode is turned on, PHP's directory creation is broken and OJS won't work. Unfortunately there doesn't appear to be anything we can do to work around it. This configuration is quite rare amongst hosts, however.

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: 9072
Joined: Wed Aug 10, 2005 12:56 pm

Postby Pamela » Sun Apr 29, 2007 12:37 pm

Hi Again,
With IE7 everything seems look fine, it appears the same as it does with firefox. Its seems to be IE6 that has the layout issue. I didnt change anything in the style sheet other then the websites colours, even if I replace it with the origional style sheet, the navigation on the main index.php page when I'm not logged in appears half way down the page.
Im not sure what browser you are using but the journal I have up is at http://www.eyecarereview.ca/journal I dont know if you'll see what Im seeing, I'm going to have a few people check with different browsers and see how many see it like I do and how many see it where it should be. The odd thing is when I am logged in, no matter what browser Im using the site looks exactly how it should.

The upload issue seems to be the folder directory. Its creates 2 folders inside the /file directory, when I set the permissions to 777 they reset themselves 755. I've mention this problem to my client and am hoping her hosting company will be willing to remove the safemode permission. no other folders seem to do this except these two.
Pamela
 
Posts: 11
Joined: Wed Apr 25, 2007 11:50 am

Postby asmecher » Mon Apr 30, 2007 10:52 am

Hi Pamela,

Do you experience the same problem with http://pkp.sfu.ca/ojs/demo/testdrive?

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: 9072
Joined: Wed Aug 10, 2005 12:56 pm

Postby Pamela » Tue May 01, 2007 6:02 am

Yes I do, the Journal looks how mine looks when not logged in.

Here is a grab of what I see

http://www.media-3-design.com/grab.jpg
Pamela
 
Posts: 11
Joined: Wed Apr 25, 2007 11:50 am

Next

Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot], Carla, Yahoo [Bot] and 6 guests