Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?


Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site

 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Problem with PHP 7.4
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic   

TastelessApple
Advanced Member

USA
442 Posts

Posted - 02/23/2021 :  09:04:54  
Hello,

I recently installed a new version of ECT (7.2.6) and I'm having some trouble with PHP 7.4. Everything works with PHP 5.6 but when I upgrade, I get this error:

Fatal error: Uncaught Error: Class 'mysqli' not found in /public_html/mysite.com/vsadmin/db_conn_open.php:10 Stack trace: #0 /public_html/mysite.com/index.php(5): include() #1 {main} thrown in /public_html/mysite.com/vsadmin/db_conn_open.php on line 10

Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0

This is a complete new install and the db_conn_open.php is using the mysqli connection. I did copy an old database and run the update file on the on it but I don't think that would be causing this problem.

Any thoughts?
Josiah

dbdave
ECT Moderator

USA
9160 Posts

Posted - 02/23/2021 :  09:09:14  
This comes up often when switching to php 7+ from php 5+
There is a thread that covers it here - https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=107737

You likely need to update the db_conn_open file at least..

David

TastelessApple
Advanced Member

USA
442 Posts

Posted - 02/23/2021 :  09:14:33  
Hi David,

I actually saw that thread before posting here, but being a NEW version it is already changed to the <?php...

What else could this be?

Thanks,
Josiah

Phil
ECT Moderator

United Kingdom
7267 Posts

Posted - 02/23/2021 :  10:25:25  
Hi Josiah
Can you check mysqli is enabled/installed on the server?
You can usually do that by uploading a php info file or ask the host



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Edited by - Phil on 02/23/2021 10:27:42

TastelessApple
Advanced Member

USA
442 Posts

Posted - 02/23/2021 :  15:32:38  
I just wanted to circle back around and say it was a server, database configuration issue.

Thanks for your help,
Josiah

Vince
Administrator

39997 Posts

Posted - 02/24/2021 :  02:23:58  
Hi Josiah
Thanks for letting us know the resolution and I'm glad you got it sorted.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
   Topic   
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2020 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000