concretecms / brand_central

A digital asset management system extension for Concrete CMS.
13 stars 4 forks source link

Error Class 'Concrete\Core\Search\Pagination\View\ConcreteBootstrap3Template' not found #91

Open nileshxische opened 1 year ago

nileshxische commented 1 year ago

@aembler @KorvinSzanto @bitterdev @mesparza5 @wordish

I am facing error when I click on any of the Express objects.

http://examplecom/index.php/dashboard/express/entries/results/f1b4aefa-905d-11e8-b1b2-000c6c0a6826

Error Class 'Concrete\Core\Search\Pagination\View\ConcreteBootstrap3Template' not found

Screenshot 2023-02-13 at 9 53 13 PM
nileshxische commented 1 year ago

Concrete Version is "9.0.2"

PHP Version | "7.4.33"

aembler commented 1 year ago

I don't see anywhere where ConcreteBootstrap3View is referenced in BrandCentral any longer. I think you need to upgrade your package

nileshxische commented 1 year ago

@nileshxische I am already using the 0.68 version

aembler commented 1 year ago

I will add this file back but I don't see anywhere in the code that this file is referenced by the current version of BrandCentral.

nileshxische commented 1 year ago

Can you check our web page http://dams.Xische.com and check if we have setup properly. We also want to discuss possibilities of working with the concretecms/brandcentral team

wordish commented 1 year ago

@nileshxische I've installed Brand Central using the instructions here and don't get that error on that page:

Screenshot 2023-02-16 at 10 24 36

You might try comparing your dependencies and versions with those install instructions to see if there's a difference.

nileshxische commented 1 year ago

Hi @wordish thank you for responding. I did not see any version 1.0.x for brand central. the latest one 0.6.8

Screenshot 2023-02-16 at 10 33 42 PM
wordish commented 1 year ago

It's in the 9.0rc branch: https://github.com/concretecms/brand_central/blob/9.0rc/controller.php

Look in the controller.php file and you'll see it's version 1.0.3.

The repo could probably use some cleanup. Try using the version in that composer.json in the INSTALL.md document.

nileshxische commented 1 year ago

Ok I will try with the instructions. I already have correct version for PHP and ConcreteCMS and for MySQL. Just need to freshly install brand central package.

Can I uninstall the current package from dashboard and then delete the folder and replace it with fresh brand central with the above version that you have mentioned?

Or does it need to be installed only from composer

On Thu, Feb 16, 2023 at 10:40 PM wordish @.***> wrote:

It's in the 9.0rc branch: https://github.com/concretecms/brand_central/blob/9.0rc/controller.php

Look in the controller.php file and you'll see it's version 1.0.3.

The repo could probably use some cleanup. Try using the version in that composer.json in the INSTALL.md document https://github.com/concretecms/brand_central/pull/92/files.

— Reply to this email directly, view it on GitHub https://github.com/concretecms/brand_central/issues/91#issuecomment-1433551326, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZWWF2JAFVO6YJDGNXAQEATWXZYCXANCNFSM6AAAAAAU2SITT4 . You are receiving this because you were mentioned.Message ID: @.***>

wordish commented 1 year ago

@nileshxische you shouldn't need to use Composer. You probably don't need to uninstall either. Just replace the package with the 9.0rc branch version and upgrade it through the dashboard. That should probably work.

nileshxische commented 1 year ago

I did exactly the same. and updated the add on from dashboard. But I am still getting the above error after I click any of the Express Objects. [URL] http://dams.xische.com/index.php/dashboard/express/entries/results/f1b4aefa-905d-11e8-b1b2-000c6c0a6826

Screenshot 2023-02-16 at 10 57 25 PM Screenshot 2023-02-16 at 10 57 11 PM
wordish commented 1 year ago

Can you try installing with the sample composer.json and then when you install the package, choose the full content swap option? I suspect you still have an old theme or something mingled in with the package. It works fine with that configuration.

nileshxische commented 1 year ago
Screenshot 2023-02-16 at 11 07 22 PM
nileshxische commented 1 year ago

my current composer.json looks like this

{ "name": "concrete5/brand_central", "description": "A concrete5 asset management system package", "type": "concrete5-package", "license": "MIT", "minimum-stability": "stable", "require": { "php": "^7.2", "concrete5/core": "^8.5", "google/cloud-vision": "^0.15.4", "ext-zip": "*" } }

nileshxische commented 1 year ago

Hi @wordish I have installed using your instructions using composer. but the landing page looks like this http://dams.xische.com/index.php/

Why is it distorted ? is something wrong with the css ?

Screenshot 2023-02-20 at 2 43 54 PM
wordish commented 10 months ago

Looks like cached CSS. Try clearing the cache