Jump to content

[Resolved] CC6 beta2 install issue


wallitin

Recommended Posts

I installed CC6 beta2 on why laptop running Ubuntu 14.04 for testing.

The CC6 beta2 installation kept failing.

 

My /var/log/apache2/error.log file showed an error:

   access denied for user 'www-data'@'localhost' (using password NO) in /var/www/html/classes/db/mysqli.class.php

 

Although, I found the problem to be in /var/www/html/setup/setup.install.php on line 90:

$connect = mysql_connect( ... );

 

It's only a test to see if a connection could be made. I commented it out and added $connect = 1.

I also commented out a couple of ifs and an else and let everything inbetween run.

CubeCart installed.

 

I see in the file /classes/autoloader.class.php about line 117 it tests to see if the function mysqli_connect() exists.

Could this be used in setup.install.php?

Link to comment
Share on other sites

Welcome wallitin! Glad to see you made it to the forums.

 

The programmers will certainly need to determine which PHP extension is available for connecting to the database prior to that point in the setup.

 

This has been done for CC6 beta3.

 

Thank you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...