OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Help with fixing wrong slashes when installing ojs

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
This forum is meant for general questions about the usability of OJS from an everyday user's perspective: journal managers, authors, and editors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OJS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OJS:

1. Read the documentation. We've written documentation to cover from OJS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OJS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OJS Technical Support subforum; if you have a development question, try the OJS Development subforum.

Help with fixing wrong slashes when installing ojs

Postby Shahid » Sun Aug 28, 2005 8:02 pm

Hi,
I've just started a fresh install of OJS 2.0.1 with apache 2.0.54 on Windows 2000.

I keep getting double slashes after the base URL eg:
http://abc.edu.au//index.php/index/install

also the "Journal Help" link on the install page has the following url:
javascript:openHelp('http://abc.edu.au\index.php/index/help')

which also looks incorrect.

Can anyone please help with this issue. Is there any php or apache configuration that I've missed.

The interesting thing is that before I reinstalled this machine I had ojs 1.1.8 working fine under windows 2000.

Appreciate any help.
regards
Shahid
Shahid
 

Postby Guest » Mon Aug 29, 2005 8:10 pm

Now here's some weird behaviour of OJS which I discoverd:

If I place the OJS installation files in the DocumentRoot (apache2/htdocs) of the Apache server. The slashes are all wrong as in my previous post. ie:
Install Location: apache2/htdocs/
Wrong URL: http://abc.edu.au//index.php/index/install

But if I put these same files in a folder under the DocumentRoot then it works fine. The slashes are correct. ie:
Install Location: apache2/htdocs/ojs/
Correct URL: http://abc.edu.au/index.php/index/install

I wonder why this would be happening. atleast i've found a workaround to get his thing up and running. But it is odd that OJS cant seem to reference paths correctly if it is placed in the DocumentRoot folder.

Any ideas.

thanks
Guest
 

Apache on Windows

Postby ramon » Fri Sep 02, 2005 5:08 am

Shahid,

You need to change the address bars in php.ini and httpd.conf (if there are any) to forward slashes for the system to work.

On Windows, Apache is installed with backslashes (ex: C:\Apache\htdocs) and it should be C:/Apache/htdocs...
ramon
 
Posts: 929
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Postby Guest » Wed Sep 14, 2005 10:53 pm

thanks ramon,
I have been using forward slashes in the http.conf file for directory paths.

In php.in there is only one entry with a back lash:
extension_dir = "d:\php"
I've changed that to forward as well.

But that did not fix the double slashes after base url eg:
http://abc.edu.au//index.php/index/install

Now I have found other OJS sites with the same problem in their URL eg:

http://bulletin-am.fsid.cvut.cz//index. ... ue/current
http://ojs.gc.cuny.edu//index.php/situations
http://cdmadmin.math.ucalgary.ca//about.php
http://www.joals.org//index.php/current

So I am not the only one experiencing this oddity in OJS installation.
Guest
 

URL Problems

Postby ramon » Thu Sep 15, 2005 12:02 pm

Shahid,


I've seen that happen frequently on networks running windows. I don't know what could cause this. Similar problems include adding stuff that's not there to the url, like a adm/ in the middle.

Only using Firefox I've been able to see this happening and being able to at least change the url to the correct one.

I've never been able to reproduce this where I work, so I can't tell you if it's a proxy problem, windows problem, network config problem, firewall.

Most of the times, though, the double slashes do not cause a problem. I don't know with version 2.x
ramon
 
Posts: 929
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Have same problem

Postby Guest » Mon Oct 10, 2005 3:55 pm

I have the same problem trying to install OJS on a Windows-based hybrid server. Hwever, I am using pgsql instead of mysql. I have however changed from the root directory to a subdirectory "ojs'

I have a new problem now "no input file specified'?

I am not sure what to write in the database driver section? pgsql or postgresql? I tried both with the same result.

Sincerely,

Nabil El-Khodari
webmaster at nilebasin.net
http://nilebasin.net/ojs/
Guest
 

Postby asmecher » Tue Oct 11, 2005 3:25 pm

See http://pkp.sfu.ca/support/forum/viewtopic.php?p=1501#1501.

Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 8668
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Yahoo [Bot] and 2 guests