Comments (16)
yes, I will find a better way to handle the routes for the frontend, that is way I asked about the panels
I may add config file for the frontend options.
will be fixed in few days
thank you for the time to check this :)
from sky.
New release to address the configuration for multiple panels.
I hope this will fix any issues.
Anyone facing new issues, please feel free to open new one :)
Thank you for using Sky.
from sky.
if you print out
phpinfo();
in any page index.php
for example
do you see the redis-ext ?
restarted apache or nginx ?
from sky.
got same error yesterday on v2
from sky.
I am using
https://github.com/calebporzio/sushi
How It Works Under the hood, this package creates and caches an SQLite database JUST for this model. It creates a table and populates the rows. If for whatever reason, it can't cache a .sqlite file, it will default to using an in-memory sqlite database.
check this also
lara-zeus/bolt#140 (comment)
maybe its folders permissions
from sky.
got same error yesterday on v2
was it a fresh installation or an upgrade?
from sky.
if you print out
phpinfo();
in any pageindex.php
for exampledo you see the redis-ext ?
restarted apache or nginx ?
Yes it shows the redis as enabled
from sky.
if you can install and use sushi
in your app without sky
and see if it runs fine?!
hard for me to debug...
operating system
PHP version
what extension you enable in php
apache or nginx
folders permissions
other packages
from sky.
@atmonshi thanks for the suggestion I tried the Sushi in fresh installation of laravel 10.x and separate project with Sky,
It creates the sushi model files and the sushi-lara-zeus-sky-models-post-status.sqlite
. but still no luck.
Operating System: Ubuntu
PHP 8.2
Apache with folder permission of 777
from sky.
Hi guys, Im getting same issue as reported but I'm on windows and I use mysql as normal and fresh project ..
you guys are talking on the redis , why I would even need that ? can't see at least anything in the documentation talking about it ..
from sky.
I am using
https://github.com/calebporzio/sushi
How It Works Under the hood, this package creates and caches an SQLite database JUST for this model. It creates a table and populates the rows. If for whatever reason, it can't cache a .sqlite file, it will default to using an in-memory sqlite database.
check this also lara-zeus/bolt#140 (comment)
maybe its folders permissions
from sky.
I did installed the Sushi, it seems like Now I can access the posts, pages etc...
But when there are no records in every resources navigation was working fine but after creation of one post, posts.index is inaccessible .
It gives Route [post] not defined.
from sky.
@TapanDerasari can you share your config from adminPanelProvider
also run php artisan route:list to see if sky routes registered or not
from sky.
@atmonshi Here is adminPanelProvider file that I configure after reviewing your demo app code.
AdminPanelProvider.php
$panel->plugins($this->getPlugins());
public function getPlugins(): array
{
return [
SpatieLaravelTranslatablePlugin::make()
->defaultLocales(['en']),
FilamentNavigation::make(),
SkyPlugin::make(),
];
}
and here is the route list result of posts routes
GET|HEAD admin/posts ........................................................... filament.admin.resources.posts.index › LaraZeus\Sky › ListPosts
GET|HEAD admin/posts/create .................................................. filament.admin.resources.posts.create › LaraZeus\Sky › CreatePost
GET|HEAD admin/posts/{record}/edit ............................................... filament.admin.resources.posts.edit › LaraZeus\Sky › EditPost
Create and Edit pages are working but listing page of posts,library and pages not working.
Let me know if anything else requires..
from sky.
Do you have more than one panel?
if so, try to add SkyPlugin::make(),
to the other plugins for testing.
Can you check the file in your vendor folder? and it is the same as:
https://github.com/lara-zeus/sky/blob/3.x/routes/web.php
and here is the route list result of posts routes
You should see something like:
GET|HEAD sky/post/{slug} ............................................................ post › LaraZeus\Sky › Post
from sky.
Yes, I do have multiple panel and after adding the plugin code to the another panel It did started working.
also yes, both web.php
files are identical.
In the route list now there are routes that you mentioned.
But I think this is a bug bcz I don't need the plugin functionality into my another panel. :)
from sky.
Related Issues (20)
- please improve Registering The Plugins in doc HOT 2
- #sky refactor all configs with arrays and allow to config resources
- #sky search result page
- #sky Author Pages
- #sky add authors
- #sky enable the status future by adding a job to publish the posts
- It's not work after clean install HOT 6
- extract FE configuration to config file HOT 1
- [Bug]: post_statuses error HOT 7
- [Bug]: Installation error encountered HOT 8
- #sky add command to create new editor
- [Bug]: Multiple panel FilamentNavigation issue HOT 2
- Non-sequitur package names are confusing and cause extra mental overhead HOT 1
- #sky is active and uncategorized library items
- Post page and page not work [Bug]: HOT 7
- [Bug]: Currently Post and Page count show the same number HOT 1
- [Bug]: Cannot use Closure for fields with `itemType()` HOT 3
- [Bug]: Method Filament\Tables\Columns\SpatieTagsColumn::hasRelationship does not exist. HOT 3
- Issue when using spatie translatable HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sky.