Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config.php is messed up so installation fails #158

Open
idclxvii opened this issue May 9, 2014 · 3 comments
Open

config.php is messed up so installation fails #158

idclxvii opened this issue May 9, 2014 · 3 comments

Comments

@idclxvii
Copy link

idclxvii commented May 9, 2014

I am running opendocman in Caucho Quercus 4.0.25 in Glassfish V3 Server. The config.php is created with no proper spacing. As a result, everything is messed up and the definitions inside the config.php cannot be used by the other php's referencing on it which gives exceptions. Here's the copy of the config.php created by setup-config.php:

@stephenlawrence
Copy link
Member

Here is the file that is used to generate the config.php file: https://github.com/opendocman/opendocman/blob/master/config-sample.php

Did you open this file up in an editor after it was generated? I am not really familiar with Caucho Quercus.

@idclxvii
Copy link
Author

Hi sir!

At first, I didn't. I was wondering why OpenDocMan does not install properly even after giving the correct values for database. It connects and creates the SCHEMA but not the tables. It produces errors which led me to the notion of checking how things work. I opened the php's and read through the source codes which later on led me to the conclusion that the config-sample.php was fine but the generated config.php is messed up.

@idclxvii
Copy link
Author

By the way, Quercus is the Java implementation of PHP. Basically, Glassfish runs JSP so I added up Quercus to handle PHP files as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants