I'm trying to install Chulan on my server which has Ubuntu 16.04 and php7. I would ideally like to use the demo install script to set everything up. However, the mdchulan.profile install script has some mysql_* statements that don't work in php7, because they have been deprecated in favor of mysqli_* statements. I thought it would be a simple matter of searching and replacing mysql_ with mysqli_, so I did that. But now I'm getting errors saying
mysqli_query() expects at least 2 parameters, 1 given in _md_profile_import_sql()
all over the place. I feel like asking for help now because I'm not sure how exactly I have to change the mysqli statements to make the script work. Can you give me some advice or provide a php7-compatible install script?
Hi,
Can you please describe more about problem with PHP7? We tried to install but it worked normally.
Or you can send us your server infomation, ssh, mysql so then we will help you install theme.
Well, when I try to install the demo, I get this error:
This is because I have php7 installed on my server and not php5. mysql_connect() was deprecated in php7, changed to mysqli_connect().
So, if i go to mdchulan.profile and change mysql_connect() to mysqli_connect(), it begins to work, but throws other errors.
The basic problem is that mdchulan.profile is written for php5, but I'd like to convert it work for php7.
I don't feel comfortable giving you login access to my private server.
You can please go to your account page (http://megadrupal.com/user/mattheweigand) to download older profile and install.
Ok, but I only see the original profile that I purchased there, and I can't even download that anymore.
We changed it to older version for you already. Please try to click onto Md_chulan_install_profile.Zip.
It says access denied.
Please try again. We fixed.
Ok, it downloaded, and it installed. Thanks for your help!
If you'd like to see what I ended up doing with this, check out my site: http://matthew.weigand.guru