If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading Your Zen Cart / Upgrading to 1.5.x / Can't see products after clicking category from front page after upgrade and plugins

Can't see products after clicking category from front page after upgrade and plugins

Started by spawnie69 on 13 Apr 2023, 7:52 PM · Views: 7,234

Results 1 to 9 of 9
13 Apr 2023, 7:52 PM
#1
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Can't see products after clicking category from front page after upgrade and plugins

I just started a new 1.58a zen store on 8.2.4 php, upgraded from 1.58 database along with the following plugins:

One Page Checkout
Ultimate URLS
Database backup
Square WebPay

Now I get the following internal server error when clicking the category to view an item.
It seems the dbase upgraded ok. I can see my categories and items within my admin.
Any advice?
Attachment 20255

Many thanks

13 Apr 2023, 9:50 PM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Can't see products after clicking category from front page after upgrade and plugins

Remember that while the Zen Cart core is 8.2 ready, not all plugins are; you may need to downgrade to 8.1 until they're fixed.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

14 Apr 2023, 10:32 PM
#4
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Can't see products after clicking category from front page after upgrade and plugins

spawnie69:

I just started a new 1.58a zen store on 8.2.4 php, upgraded from 1.58 database along with the following plugins:

One Page Checkout
Ultimate URLS
Database backup
Square WebPay

Now I get the following internal server error when clicking the category to view an item.
It seems the dbase upgraded ok. I can see my categories and items within my admin.
Any advice?
Attachment 20255

Many thanks

I checked my logs and in My Debug discovered:

[12-Apr-2023 12:38:34 America/Boise] PHP Fatal error:  Trait 'Zencart\Traits\NotifierManager' not found in /XXXXXX/XXXXX/public_html/XXXXXXXX/includes/classes/class.base.php on line 12

I checked that file and found the following:

 */
use Zencart\Traits\NotifierManager;
use Zencart\Traits\ObserverManager;

class base
{
    use NotifierManager;
    use ObserverManager;

    public static function camelize($rawName, $camelFirst = false)
    {
        if ($rawName == "")
            return $rawName;
        if ($camelFirst) {
            $rawName[0] = strtoupper($rawName[0]);
        }
        return preg_replace_callback('/[_-]([0-9,a-z])/', function ($matches) {
            return strtoupper($matches[1]);
        }, $rawName);
    }
}

I also checked my other working new installs w/o upgraded database and with mods mentioned above and the class.base file is the same.

So does that mean by upgrading changed something that is not allowing me to see my products or categories as mentioned?
I also changed my php to 8.1 and still get the same results only on the upgraded site.
Thanks for your help

15 Apr 2023, 1:47 AM
#5
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Can't see products after clicking category from front page after upgrade and plugins

It appears to mean that you are missing the file NotifierManager.php to be found in: CATALOG/includes/classes/traits/

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

15 Apr 2023, 1:59 AM
#6
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Can't see products after clicking category from front page after upgrade and plugins

mc12345678:

It appears to mean that you are missing the file NotifierManager.php to be found in: CATALOG/includes/classes/traits/

I did notice this and appears to be present.

15 Apr 2023, 2:55 AM
#7
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Can't see products after clicking category from front page after upgrade and plugins

Attachment 20256

Here is the file present.

15 Apr 2023, 3:05 AM
#8
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Can't see products after clicking category from front page after upgrade and plugins

Maybe since it was built on 8.2 and upgraded the database caused an issue.
Should I do a clean install on php 8.1 then do the upgrade? Thanks again

18 Apr 2023, 9:20 PM
#9
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

Re: Can't see products after clicking category from front page after upgrade and plugins

I just want to give an update. I reinstalled and uploaded database and all is ok for now since I took out ultimate urls which has not been updated for 1.58a as of yet.