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

using mysql_connect in installation - unsupported since php7 #79

Closed
fiammybe opened this issue Jan 4, 2017 · 4 comments
Closed

using mysql_connect in installation - unsupported since php7 #79

fiammybe opened this issue Jan 4, 2017 · 4 comments
Assignees
Labels

Comments

@fiammybe
Copy link
Member

fiammybe commented Jan 4, 2017

Even though I'm using the PDO connection, the installer still tries to connect to mysql with an unsupported function. When I do the setup on PHP 7.0.9 I get the following :

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp70\htdocs\icms1310\install\page_dbconnection.php:50 Stack trace: #0 {main} thrown in C:\xampp70\htdocs\icms1310\install\page_dbconnection.php on line 50

in file icms1310/install/page_dbconnection.php

@fiammybe fiammybe added the bug label Jan 4, 2017
@fiammybe fiammybe self-assigned this Jan 4, 2017
@fiammybe fiammybe added this to the v1.3.11 milestone Jan 4, 2017
@fiammybe
Copy link
Member Author

okay, like @skenow already mentioned, this is not a simple fix. PHP7 support is a requirement for 2.0 (as it will be the only version still supported by the time we release), so I propose to rewrite this part and make it simpler : only PDO.

@MekDrop
Copy link
Member

MekDrop commented Jan 26, 2017

I already have half needed code in my DB rewrite branch (mongodb and pdo) :) I just need somehow just to finish.

@fiammybe
Copy link
Member Author

fiammybe commented Jan 26, 2017 via email

@MekDrop
Copy link
Member

MekDrop commented Jan 26, 2017

I think you should wait a bit. At current stage my code is messed up ;( I need to find some time to fix it.

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

No branches or pull requests

2 participants