OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Changing OJS directory

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.

Changing OJS directory

Postby erajabi » Fri Nov 15, 2013 2:46 am

Hi,

I installed the latest version of ojs in a directory e.g., http://www.test.com/OJS/ojs2.4.2/..
Now I want to change the directory and shorten it to e.g., http://www.test.com/openjournal/..., I rename the folder in www, and move the content to one or two level upper. The system works, however the editors don't work. I know that I should change all the links to new path, but I want to know how can I do this task without problem (without effecting on other parts of system)?

Thanks in advance,
Enayat
erajabi
 
Posts: 20
Joined: Thu Sep 05, 2013 8:18 am

Re: Changing OJS directory

Postby JasonNugent » Fri Nov 15, 2013 7:31 am

Hi Enayat,

What isn't working with editors? Are you getting broken links or blank pages? Did you remember to update any paths to files/ directories that might be specified in your config.inc.php file?

Regards,
Jason
JasonNugent
Site Admin
 
Posts: 893
Joined: Tue Jan 10, 2006 6:20 am

Re: Changing OJS directory

Postby asmecher » Fri Nov 15, 2013 7:31 am

Hi Enayat,

Flush your cache, either as Site Administrator, or by deleting all files in the cache/ directory.

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

Re: Changing OJS directory

Postby erajabi » Mon Nov 18, 2013 7:33 am

Hi Alec,

Flushing the cache is good approach that I forgot to do. Thanks.
Also, one of my friends told me not to touch the application for moving it to another address. Just redirect the address using header('Location:...index.php') command.

Kind regards,
Enayat
erajabi
 
Posts: 20
Joined: Thu Sep 05, 2013 8:18 am


Return to OJS Technical Support

Who is online

Users browsing this forum: No registered users and 7 guests