Zen Follower
- Join Date:
- Oct 2009
- Posts:
- 444
- Plugin Contributions:
- 0
SQLpatch.php Error When Running Any SQL Statement
I am upgrading my site from v.1.5.8 to v.2.1 and whenever I need to run an SQL statement in the various plugins I get this error and it will not process properly.
As I see the file that error occurring in is a stock Zen Cart file rather than plugin specific, I thought I'd post it here.
This is the error that I receive:
Request URI: /new21/admin/index.php?cmd=sqlpatch&action=execute, IP address: 127.0.0.1, Language id 1
#1 zen_check_config_key() called at [C:\wamp64\www\new21\admin\sqlpatch.php:164]
#2 executeSql() called at [C:\wamp64\www\new21\admin\sqlpatch.php:747]
#3 require(C:\wamp64\www\new21\admin\sqlpatch.php) called at [C:\wamp64\www\new21\admin\index.php:16]
--> PHP Warning: Undefined array key 1 in C:\wamp64\www\new21\admin\sqlpatch.php on line 675.
[16-Jan-2025 13:42:27 UTC] Request URI: /new21/admin/index.php?cmd=sqlpatch&action=execute, IP address: 127.0.0.1, Language id 1
#1 zen_check_config_key() called at [C:\wamp64\www\new21\admin\sqlpatch.php:164]
#2 executeSql() called at [C:\wamp64\www\new21\admin\sqlpatch.php:747]
#3 require(C:\wamp64\www\new21\admin\sqlpatch.php) called at [C:\wamp64\www\new21\admin\index.php:16]
--> PHP Warning: Undefined array key 3 in C:\wamp64\www\new21\admin\sqlpatch.php on line 676.
Could someone give me some ideas on how to fix this?
Thank you....