OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



install problem on SUSE 10.0

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, 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.

install problem on SUSE 10.0

Postby jjanmaat » Tue Feb 14, 2006 1:46 pm

Hello,

I am trying to install OCS on a Linux box with SUSE 10.0. System info:

PHP 4.4.0 (cli) (built: Dec 10 2005 15:39:24)
mysql Ver 14.7 Distrib 4.1.13, for suse-linux (i686) using readline 5.0
Apache/2.0.54 (Linux/SUSE)

I have intstalled the mysql extensions for PHP. If I create the database manually, then the second install screen will lead to the tables being created. However, beyond the main screen, I get:



Install Open Conference Systems

Warning: mysql_query(): No database selected in /srv/www/htdocs/conference/include/db/db.mysql.inc.php on line 58

Conference Web Site Settings

Unable to add values to database. Please check that your database configuration is set up correctly.



I have checked that the named account for the conference can create tables, add data, etc. It works. However, it does not seem to be connecting.

From the apache2 error log, the same thing:

[Tue Feb 14 16:24:41 2006] [error] [client 142.167.207.21] PHP Warning: mysql_query(): No database selected in /srv/www/htdocs/conference/include/db/db.mysql.inc.php on line 58, referer: http://descartes.acadiau.ca/conference/install.php

Nothing stands out in the php error log, which I have turned on.

Any suggestions?

Thanks,

John.
jjanmaat
 
Posts: 2
Joined: Tue Feb 14, 2006 1:26 pm

Postby asmecher » Tue Feb 14, 2006 1:56 pm

Hi John,

Have you entered a db_name in the include/db.inc.php configuration file?

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

Thanks

Postby jjanmaat » Tue Feb 14, 2006 6:58 pm

That appears to work. I set that file to writable, as described in the README, but for some reason it did not appear to be modified.

Thanks,

John.
jjanmaat
 
Posts: 2
Joined: Tue Feb 14, 2006 1:26 pm


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests