As the developers of Open Journal Systems, Open Conference Systems, Open Harvester Systems, and Open Monograph Press, the PKP team are experts in helping journal managers and conference organizers make the most of their online publishing projects. PKP Publishing Services offers support for:

As a customer of PKP Publishing Services, you will not only receive direct, personalized support from the PKP Development Team, but will be contributing to the ongoing development of the PKP applications. All funds raised by PKP Publishing Services go directly toward enhancing our free, open source software. For more information, please contact us.

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.

You just need to specify the correct database connection parameters on the installation page, and the configuration file will be written automatically using those values. In particular, make sure you choose the right Database Driver and enter the correct values for Host, Username, Password, and Database Name.

Is that good enough to make the connection? My server does run the required version of mysql. Somehow, this code to me looks inadequate. As well, I have installed the files in a folder called OSJ2 in the public_html directory. Not sure that was correct either.

This depends on how your host has set up PHPMyAdmin; you might be able to create a database using it. In any case, OJS requires a database and you won't be able to proceed with installation until you can provide OJS with the connection information it needs.

This depends on how your host has set up PHPMyAdmin; you might be able to create a database using it. In any case, OJS requires a database and you won't be able to proceed with installation until you can provide OJS with the connection information it needs.

Regards,Alec SmecherOpen Journal Systems Team

The error I get now is:

DB Error: Table 'my_databasename.sessions' doesn't exist

At least it is getting closer, right? Do I have to setup tables and have a key index field?

Have you followed the install instructions? See docs/README. I suspect you're trying to use OJS without having gone through the installation procedure; the database tables haven't been created yet, which is part of the installation process.

I suspect you've unpacked OJS and edited the configuration file to fill in the database connection parameters etc. This is missing most of the installation process. Rather than editing the configuration file, just point your web browser to OJS's index.php and follow the instructions on the screen. You may need to restore the configuration file (config.inc.php) back to the version that was shipped with OJS.

I restored the original config.inc.php and uploaded it to the OSJ2 directory and got these error messages. When I change "Installed=OFF" to "On" I get the Database connectin failed message.

Warning: unlink(/home/mywebsite/public_html/ojs2/cache/fc-locale-list.php): Permission denied in /home/mywebsite/public_html/ojs2/classes/cache/FileCache.inc.php on line 52

Warning: unlink(/home/mywebsite/public_html/ojs2/cache/fc-locale-list.php): Permission denied in /home/mywebsite/public_html/ojs2/classes/cache/FileCache.inc.php on line 52

Warning: Cannot modify header information - headers already sent by (output started at /home/mywebsite/public_html/ojs2/classes/cache/FileCache.inc.php:52) in /home/mywebsite/public_html/ojs2/classes/template/TemplateManager.inc.php on line 179

Fatal error: Smarty error: unable to write to $compile_dir '/home/mywebsite/public_html/ojs2/cache/t_compile'. Be sure $compile_dir is writable by the web server user. in /home/mywebsite/public_html/ojs2/lib/smarty/Smarty.class.php on line 1095

I suspect you've unpacked OJS and edited the configuration file to fill in the database connection parameters etc. This is missing most of the installation process. Rather than editing the configuration file, just point your web browser to OJS's index.php and follow the instructions on the screen. You may need to restore the configuration file (config.inc.php) back to the version that was shipped with OJS.

Regards,Alec SmecherOpen Journal Systems Team

Hi Alec

On second try it has worked! I changed permissions a little on the folders necessary and reinstalled config.php.inc