Giter Club home page Giter Club logo

Comments (9)

bigmike7801 avatar bigmike7801 commented on August 22, 2024

I'm getting a simialr message. For me it says:

Missing Database Table
Error: Table d_s__stores for model DS_Store was not found in datasource default.

This happens even if I switch to CakePlugin::load('Admin'); as suggested above.

from admin.

sk-zk avatar sk-zk commented on August 22, 2024

.DS_Store is the Mac version of desktop.ini, maybe this file exists in some folder and Cake or the plugin tried to do something with it?

from admin.

bigmike7801 avatar bigmike7801 commented on August 22, 2024

Yeah I was kind of thinking the same thing, but still find it kind of odd that it would do that.

from admin.

yusuf avatar yusuf commented on August 22, 2024

If you look at the plugin code /Pluign/Admin/Controller/AdminAppController.php

line 121, plugin actually load and loop all the files in the application App/Model folder using cakephp Folder Utility

I have limited the files to *.php, update the plugin and let me know how it goes...

Also note you will need to load with

CakePlugin::load('Admin', array('bootstrap' => true));

So the plugin bootstrap file Plugin/Config/bootstrap.php will be loaded

from admin.

Tomicapo avatar Tomicapo commented on August 22, 2024

Hi, I'm having the same problem. I really can't see what I'm doing wrong...
Checking a little I found that on
/plugins/Admin/Config/bootstrap.php line: 62
the code should be:

if (isset($parts[1]) && !empty($parts[1])) {

instead of:

if (isset($parts[1])) {

from admin.

Tomicapo avatar Tomicapo commented on August 22, 2024

Also:
/plugins/Admin/Controller/AdminAppController.php line: 114
should be:

$iconPath = App::pluginPath('Admin') .'webroot' . DS . 'img' . DS . 'admin_icons';

I have the plugin in another folder. This fixes it.

from admin.

Tomicapo avatar Tomicapo commented on August 22, 2024

One last thing. links to bootstrap css and responsive css are broken.
I fixed all these things and got your plugin up and running!
It's quite cool!
Cheers!

from admin.

yusuf avatar yusuf commented on August 22, 2024

Can u create a pull request with those changes (for the benefit of all) :)

from admin.

mostafamb avatar mostafamb commented on August 22, 2024

Hi Tom , i am facing the same problem , but could you explain more about"links to bootstrap css and responsive css are broken."
Thanks

from admin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.