If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading Your Zen Cart / Upgrading to 1.5.x / Debug File with autoload_func.php

Debug File with autoload_func.php

Started by honrheart on 25 Jul 2022, 4:20 PM · Views: 1,012

Results 1 to 2 of 2
25 Jul 2022, 4:20 PM
#1
honrheart avatar

honrheart

Zen Follower

Join Date:
Jul 2008
Posts:
139
Plugin Contributions:
0

Debug File with autoload_func.php

Z/C Version 1.5.7d
PHP 7.4
PrivateArea from Custom Scriptz

When trying to access privatearea I get a 500 error (the store & admin area work fine), debug file shows this

PHP Warning: Invalid argument supplied for foreach() in /home1/xxxxxx/public_html/store/includes/autoload_func.php on line 20

That line in autoload_func.php is:

foreach ($initSystemList as $entry) {

I even tried loading the autoload_func.php from 1.56 and then the store & admin area work, but privatearea doesn''t load.

Any help would he appreciated.

25 Jul 2022, 4:43 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,906
Plugin Contributions:
23

Re: Debug File with autoload_func.php

Sincce that item was designed originally for 1.3.8 and PHP 5, I wouold venture a guess that it is not going to play well with your setup.

The GitHub hasn't ben touched in three years either.

It is no longer commercial and can be modified by anyone.

Perhaps contacting Diego could persuade him to take a look.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com