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

Installation Xoops 2.5.8 issue #139

Closed
Vinz80 opened this issue Jul 5, 2016 · 11 comments
Closed

Installation Xoops 2.5.8 issue #139

Vinz80 opened this issue Jul 5, 2016 · 11 comments

Comments

@Vinz80
Copy link

Vinz80 commented Jul 5, 2016

Hi,

I managed to install Xoops 2.5.7.2 without any problem on my website (free.fr).
But I have an issue when I install Xoops 2.5.8 (RC1 or RC2).
Steps 1 to 8 : no problem
Step 9 (Initial settings) : I fill in the blanks and when I click on Next, it goes back to the step 6 (Databas configuration).

Thanks,
Regards,
Vincent Ulmer (France)

@mambax7
Copy link
Collaborator

mambax7 commented Jul 5, 2016

Can you try the latest code from here?
Also, can you check on your error logs?
Thank you for trying XOOPS and for reporting the issue....

@Vinz80
Copy link
Author

Vinz80 commented Jul 5, 2016

Hi,

I,'ve tried XoopsCore25-2.5.8, XoopsCore25-2.5.8-RC1 et XoopsCore25-2.5.8-RC2. Same issue.
No error displayed.
Is there an error log file ?

Regards,
Vincent

@mambax7
Copy link
Collaborator

mambax7 commented Jul 5, 2016

It's possible that they don't have the mysqli driver, and only the mysql (without the "i" )
Check with your admin about it, and also ask them for send you the "error logs"

@geekwright
Copy link
Contributor

Looking at the code, the symptoms described would occur if we could not connect to the database. Since we already connected in the previous step (presumably with the same credentials) that is unexpected.

First, I would double check that mainfile.php and xoops_data/data/secure.php were written correctly and contain the correct database credentials.

@Vinz80
Copy link
Author

Vinz80 commented Jul 5, 2016

The page_dbconnection.php is using mysqli and the database connection is successfull. So I don't think the problem is with mysqli.

@Vinz80
Copy link
Author

Vinz80 commented Jul 5, 2016

There is no database credentials in mainfile.php and the database credentials in xoops_data/data/secure.php are correct.

@cesagonchu
Copy link
Member

vinyz, I sent you a private message on frxoops.

@Vinz80
Copy link
Author

Vinz80 commented Jul 7, 2016

cesagonchu, I don't know how to see your private message since I haven't any account on frxoops.
mambax7, I noticed that my website hosting has a lot of php function limitations. I signed up with egeon.info and the installation is now successful.
Many thanks for your work, help and reactivity.
Regards,
Vincent

@mambax7
Copy link
Collaborator

mambax7 commented Jul 7, 2016

I am very happy to hear that things are working for you with the new host.
However, if you could identify what are the differences, and why XOOPS 2.5.8 didn't install on (free.fr), that would be very helpful for future questions.
Maybe you could contact the support people from (free.fr) to find out?
Thank you!

geekwright added a commit to geekwright/XoopsCore25 that referenced this issue Jul 9, 2016
This condition is handled differently in mysqli that in the
mysql extension, so in some cases error information would not
be reported correctly, i.e. during install as in XOOPS#139.
@geekwright
Copy link
Contributor

Sorry. With cesagonchu on the job, I though this was is good hands 😉

I would like to know exactly what was happening. We could make sure to handle the error more gracefully at least. But, I doubt we will get that information 😦

I suspect this was some sort of odd MySQL configuration. The jump back to step 6 happens explicitly in install/page_siteinit.php when the call to ->isConnectable() returns false.

There does appear to be some issues in making the error information available. And in 2.5.8 under the mysqli extension, we are not getting the connection error information, and not interpreting the connection error condition correctly. #145 corrects these issues.

@Vinz80
Copy link
Author

Vinz80 commented Jul 9, 2016

There is no support or log on my free webhosting. Just sometimes an error message. But it's not the case here.
The one thing I have found on my webhosting is some php limitations :
The following functions are not allowed : http://www.free.fr/assistance/943.html#step-947
Regards,
Vincent

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

4 participants