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
 Cannot add the incfunctions.php without crashing s
Author « Topic »  

frameitsam
Advanced Member

USA
131 Posts

Pre-sales questions only
(More Details...)

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: https://wordpress.org/support/article/debugging-in-wordpress/]

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 (http://www.steinbrink.com/categories.php). This is an expected outcome, but needed the site up.

<?php
session_cache_limiter('none');
session_start();
ob_start();
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>

website: https://steinbrink.com/

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

Scott McLaughlin
President
Heartland Hosting, LLC

Vince
Administrator

42462 Posts

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

https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=107737

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()

Vince

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