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

Installer does not create database #288

Closed
moisseev opened this issue May 23, 2015 · 5 comments
Closed

Installer does not create database #288

moisseev opened this issue May 23, 2015 · 5 comments

Comments

@moisseev
Copy link

After pressing install db only or install db and write cfg in Step 2: Database Settings
the installer does not create database or config file and shows blank window just with header:

Welcome to the web2Project Update Manager!
This system will help you perform ... then we'll load the system.

I have the issue with release 3.2 and later including master.

 # uname -mrs
FreeBSD 10.1-RELEASE i386
# pkg info -q | egrep '(php|apache)'
apache24-2.4.12
mod_php56-5.6.8
php56-5.6.8
php56-gd-5.6.8
php56-mysql-5.6.8
php56-session-5.6.8
php56-zlib-5.6.8
@caseysoftware
Copy link
Member

The system does not create the database on its own. See Step 3 of the installation instructions: http://wiki.web2project.net/index.php?title=Installation (linked from the README)

@moisseev
Copy link
Author

Of course I have created a blank database before run the installer:

mysql> CREATE DATABASE web2project;
mysql> GRANT ALL PRIVILEGES ON web2project.* TO web2project@localhost IDENTIFIED BY 'password';
mysql> flush privileges;
mysql> quit

@caseysoftware
Copy link
Member

Are you getting any messages in your PHP error logs?

Alternatively, can you turn on debug mode and share the error?

Change the zero to a one here:
https://github.com/web2project/web2project/blob/master/base.php#L6

@moisseev
Copy link
Author

I have set ini_set('display_errors', 1); in base.php
After 'Step 2: Database Settings' was completed I got this page:
2015-05-27 17_36_41-web2project update manager - pale moon

No errors has been written into web-server log.

@moisseev moisseev reopened this May 27, 2015
moisseev added a commit to moisseev/web2project that referenced this issue May 30, 2015
@moisseev
Copy link
Author

Mysql driver had switched to mysqli after 3.1 release. In later versions installer hangs with no error if mysql driver is used instead of mysqli.

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