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
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

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.

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: No registered users and 1 guest