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

Problem with installation #27

Closed
Jessar1994 opened this issue Dec 27, 2015 · 8 comments
Closed

Problem with installation #27

Jessar1994 opened this issue Dec 27, 2015 · 8 comments
Assignees

Comments

@Jessar1994
Copy link

When i have upload all files (phpback_v1.2.0 files from http://www.phpback.org/) to my web hosting company and fill in the details.
for PHPBack installation

(MySQL hostname, MySQL username and password, MYSQL database) & admin name, email, password and click proceed i moving to the next step.

Then i fill in the details there.
Feedback title, Mail email, leaving recaptcha blank because I don't know how it works yet.,
and click proceed. when i came to http://feedback.supportportalen.mobi/install/install2.php i get error.

(HTTP 404-error), im going back to my ftp and take a look at the install map.
The install map is empty. Why?

Then if i go to http://feedback.supportportalen.mobi/ i get error:

A Database Error Occurred
Unable to connect to your database server using the provided settings.
Filename: core/Loader.php
Line Number: 347

Can you explain how I can solve the problem?

https://dl.dropboxusercontent.com/u/42214358/supportportalen/errors/error_install_phpback.mp4

@ivandiazwm ivandiazwm self-assigned this Dec 28, 2015
@ivandiazwm
Copy link
Collaborator

Hi Jessar1994,
The installation process automatically deletes all the installation files.

Please, take a look to the file application/config/database.php (it's generated by the installation). It should contain all the information for connecting to the database and the mysql server: https://github.com/ivandiazwm/phpback/wiki/How-To-install#error-1-config-file-could-not-be-created

I'd recommend you delete all the tables on the database (or delete it and create a new one), delete the database.php file if it exists, upload the installation files aging and reinstall.

I'm trying to reproduce this issue and I'll tell you has soon as I have updates on this, please stay tuned.

@Jessar1994
Copy link
Author

I have tried that, same error :/
I have taked a look in my database after my installation and tables are created by your script.
https://dl.dropboxusercontent.com/u/42214358/supportportalen/errors/DB.PNG

@ivandiazwm
Copy link
Collaborator

Please, verify that database.php has the correct values for connecting to the database.

I've also noticed you've got the No input file specified issue. Please, try this: #21

@Jessar1994
Copy link
Author

It has the correct values.

I have a php file to test the connection: http://feedback.supportportalen.mobi/connsucess.php

I have change the last line to RewriteRule ^(.*)$ index.php?/$0 in the .htaccess file.

still have the error messages:

A Database Error Occurred

Unable to connect to your database server using the provided settings.

Filename: core/Loader.php

Line Number: 347

My mysql user has Read / write permissions.

I will talk to Binero, and ask if there is problem with mysql database.

(I use php version 5.6.14)

I have used this too: http://feedback.supportportalen.mobi/test.php

@ivandiazwm
Copy link
Collaborator

Try changing $db['default']['db_debug'] = TRUE; to $db['default']['db_debug'] = FALSE; in database.php

@Jessar1994
Copy link
Author

Okey, now this error gone:
A Database Error Occurred

Unable to connect to your database server using the provided settings.

Filename: core/Loader.php

Line Number: 347

But when i go to my site: http://feedback.supportportalen.mobi/ i get error: https://dl.dropboxusercontent.com/u/42214358/supportportalen/errors/error_site.PNG

@ivandiazwm
Copy link
Collaborator

Sure no problem.
Could you also try to change the dbdriver? I mean this $db['default']['dbdriver'] = "mysql"; to this $db['default']['dbdriver'] = "mysqli";

@Jessar1994
Copy link
Author

now it looks normal.

it seems to work now. Thanks for all help :)

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