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

Find us on Facebook

Follow us on Twitter

View our YouTube channel

 All Forums
 PHP (Unix / Linux / Apache) versions
 Cannot add the incfunctions.php without crashing s
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic   

Advanced Member

124 Posts

Posted - 06/19/2020 :  12:03:37  
I really need some help with this. I have a couple things going on I don't understand. The website works on the old server. This is the last site to move.

I'm moving the site over to a newer VPS, so I can close down an outdated one. I have successfully migrated the site over to the new server, and have most of it up and functioning, everything EXCEPT ECT. I have updated all the plugins, Wordpress and the theme itself all to current versions. I am able to login to the WordPress Dashboard, but ECT admin is not accessible.

1.). When I go to /vsadmin I just get the following error message:

Fatal error: Uncaught Error: Call to undefined function mysql_query() in /home/steinbri/public_html/vsadmin/inc/incfunctions.php:1810 Stack trace: #0 /home/steinbri/public_html/vsadmin/inc/incfunctions.php(63): ect_query('SELECT adminEma...') #1 /home/steinbri/public_html/vsadmin/inc/incloginfunctions.php(21): getadminsettings() #2 /home/steinbri/public_html/vsadmin/admin.php(15): include('/home/steinbri/...') #3 {main} thrown in /home/steinbri/public_html/vsadmin/inc/incfunctions.php on line 1810

2.). If I disable ALL the plugins, I get the following message:

"There has been a critical error on your website.
Learn more about debugging in WordPress." [link to:]

cPanel is current version. I'm running PHP ver. 7.3.

When I copy the following into my themes header.php (InkThemes "Woodpecker") on the migrated account, it completely crashes the site. Currently, I DO NOT have this inserted at the top of header.php, so am getting the error "No incfunctions.php file" on Garden Center items ( This is an expected outcome, but needed the site up.

include "vsadmin/db_conn_open.php";
include "vsadmin/inc/languagefile.php";
include "vsadmin/includes.php";
include "vsadmin/inc/incfunctions.php";
include "vsadmin/inc/metainfo.php"; ?><!DOCTYPE html>


My thoughts are that it must be something in cpanel, apache or php. Any thoughts would help.

Scott McLaughlin
Heartland Hosting, LLC


39042 Posts

Posted - 06/20/2020 :  16:03:04  
Hi Scott
Have you made these changes to your db_conn_open.php file for PHP7 ?

If you don't make the changes for the db_conn_open.php then the old style database connections are used and you get the error...

Call to undefined function mysql_query()


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