Help needed to install 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
The Public Knowledge Project Support Forum is moving to

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.

Help needed to install OJS

Postby Arulselvan » Wed Feb 25, 2004 9:38 pm

Apologize for asking the fundamental question, perhaps I don't any other options except this...

I transferred all the files to my webserver. When I started the installation process I encountered this problem:

Fatal error: Call to undefined function: loadlocale() in /home/newstabs/www/HTML/14ls/journal/install.php on line 79


A timely help will certainly solves this problem.


Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm

Postby kevin » Thu Feb 26, 2004 6:17 pm

First, check that the file include/ exists. This file is supposed to be included by include/

If that file does exist, can you tell me what version of PHP you are running and what the value of the include_path setting is in your php.ini configuration? It's possible that either this setting includes a directory with a different "" file (so the wrong file gets included) or doesn't include ".".

If you can't or don't want to change your php.ini, you might try changing the line that looks like:

Code: Select all

ini_set("include_path",  dirname(__FILE__) . ":" . ini_get("include_path"));


Code: Select all

ini_set("include_path",  dirname(__FILE__) . ":.:" . ini_get("include_path"));

in both install.php and include/common.php


Installation help

Postby Arulselvan » Fri Feb 27, 2004 11:17 pm

Yes I did, still I am facing the same problem.

As you mentioned, I don't have permission to edit php.ini file.

Error message indicates line 80:

if(isset($locale)) {
// change locale
$HTTP_COOKIE_VARS['journalLocale'] = $locale;
setcookie("journalLocale", $locale);

// load language files
loadLocale($HTTP_COOKIE_VARS['journalLocale'], "install"); ===this is 8th line.

What sort modification I need to incorporate?

Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm

Postby kevin » Sat Feb 28, 2004 12:08 am

Yes, "include/" (which is included by "include/") is apparently not being included. Do you see an error like "Failed opening '' for inclusion" (and similar errors for "" and "") as well? Or do you just get the "Call to undefined function" error? If you just see this one error, my guess is that you have another file named "" somewhere -- check if there is more than one file named "" in your OJS directory or include path.

You might also want to take a look at the contents of "include/" -- perhaps that file has become empty or corrupted.

Return to “OJS Editorial Support and Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest