OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Problems during first part of OJS installation

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.

Problems during first part of OJS installation

Postby Guest » Fri Feb 27, 2004 1:52 pm

I have a couple questions about the installation of OJS.

1) Can I install MySQL and PHP onto a personal lap top and then install OJS onto that Lap top just for initial testing of the software (no server)?

2) I have installed MySQL and PHP onto my server here which runs on Windows XP. I posted a question earlier with the problem with all of the NOTICE errors. I have successfully removed the NOTICES thanks to the reply from Kevin. However, I now run into the problem on the same Database Configuration Page on Install :Sorry, an error has occurred: Unable to establish database connection. Is this an error in my MySQL setup?
Guest
 

Re: Problems during first part of OJS installation

Postby kevin » Fri Feb 27, 2004 3:19 pm

1) Can I install MySQL and PHP onto a personal lap top and then install OJS onto that Lap top just for initial testing of the software (no server)?


OJS should work on any platform that can run MySQL, Apache, and PHP (albeit most of our testing is done on Linux).

2) I have installed MySQL and PHP onto my server here which runs on Windows XP. ... However, I now run into the problem on the same Database Configuration Page on Install :Sorry, an error has occurred: Unable to establish database connection. Is this an error in my MySQL setup?


It could be that your MySQL server is not set up correctly or that you entered the connection parameters incorrectly. Assuming your MySQL server is running and you can connect to it from the command-line, you might try editing include/db/db.mysql.inc.php and removing the "@" before the connection statements -- this might give you a more verbose error message from a failed connection.

Code: Select all
if($pconnect) {
        if( !($this->connection = @mysql_pconnect($host, $login, $password)) ) { return false; }
} else {
        if( !($this->connection = @mysql_connect($host, $login, $password)) ) { return false; }
}
kevin
 
Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm


Return to OJS Editorial Support and Discussion

Who is online

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