Comments (8)
Hello, @nereauweb. Thank you for using our products.
We could not reproduce the issues you have reported.
Can you please let us know the exact steps you took to install the project?
Thank you
from ct-argon-dashboard-pro-laravel.
Hello, I tried again, this time with non-root user, with same result. I use Apache on Linux CentOs7.
What I did was:
- uploaded the unzipped files
- set permissons for write / read to non-root user and apache
- run "composer install" (successfully: 80 installs, got some suggestions but no warning / errors)
- touched and edited .env
- run "php artisan key:generate" -> application key set succesfully.
- run "php artisan migrate --seed" -> (...) Database seeding completed successfully.
- run "php artisan storage:link" -> The [public/storage] directory has been linked
Got the reported error at this stage
- Tried to run: "php artisan route:cache", got error:
Route cache cleared!
LogicException : Unable to prepare route [api/user] for serialization. Uses Closure.
at /var/www/wope.test/vendor/laravel/framework/src/Illuminate/Routing/Route.ph p:917
913| */
914| public function prepareForSerialization()
915| {
916| if ($this->action['uses'] instanceof Closure) {917| throw new LogicException("Unable to prepare route [{$this-> uri}] for serialization. Uses Closure.");
918| }
919|
920| $this->compileRoute();
921|Exception trace:
1 Illuminate\Routing\Route::prepareForSerialization()
/var/www/wope.test/vendor/laravel/framework/src/Illuminate/Foundation/Cons ole/RouteCacheCommand.php:622 Illuminate\Foundation\Console\RouteCacheCommand::handle()
/var/www/wope.test/vendor/laravel/framework/src/Illuminate/Container/Bound Method.php:32Please use the argument -v to see more details.
- Run "php artisan route:clear" -> Route cache cleared!
- Run "php artisan config: cache" -> Configuration cache cleared! -> Configuration cached successfully!
Still same error. Which is: I can only see the very first page, but can't navigate to any. If I change the / page in the route I get to see it, but again, not to navigate to the others. Result is always:
Not Found
The requested URL /login was not found on this server.
from ct-argon-dashboard-pro-laravel.
I also have a runnin laravel project, my final goal is to use there the template. Could you please suggest the best way to achieve that?
from ct-argon-dashboard-pro-laravel.
I also report my http .conf, is the same configuration (apart for URLs and Path) I use in my other working Laravel project on the same machine:
<VirtualHost *>
DocumentRoot "/var/www/wope.test/public/"
ServerName test.wope.it
<Directory "/var/www/wope.new/public/">
Options FollowSymLinks
ReWriteEngine On
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
from ct-argon-dashboard-pro-laravel.
Sorry, my fault! I left the directory reference to the other project's path... so the problem was not in the code or permission, where I was looking in vain, but in the .conf. Working now.
(I still would appreciate some insight on importing the template to an existing project, if possibile)
Thanks
from ct-argon-dashboard-pro-laravel.
Hello @nereauweb
I'm really glad you solved the issue.
For the template import to an existing project, do you want to import just the template or the Laravel part also?
from ct-argon-dashboard-pro-laravel.
from ct-argon-dashboard-pro-laravel.
Generally speaking you need to import all of the files from the public folder to your project resources and start using the CSS / Javascript files
If in the blade files you need to add new content sections or updates, make sure to use directly HTML content from the Creative Tim template files - that is the best way to take advantage of them.
All the best
from ct-argon-dashboard-pro-laravel.
Related Issues (20)
- User cannot change his password in profile's settings HOT 4
- Page flickers on every load HOT 7
- The Argon Datatables is not Responsive like Material Datatables [Premium Support] HOT 1
- No validation for image upload on user profile HOT 3
- Truly Laravel 8 with Breeze and / or Jetstream HOT 1
- npm run production fails -> 100% - $icon-size-xl - 1 HOT 2
- How can I use the ajax call? HOT 3
- Sidebar Animation HOT 3
- Others Theme? HOT 3
- Range slider Result HOT 2
- Hi, I just can't figure out how to use full calendar. would you have a simple example with controller on how to view and add events? Thanks HOT 3
- Extend Edit and Delete feature to a new custom feature (Customers) HOT 8
- Horizontal scroll bar at the bottom of the page HOT 4
- Seeder Problems HOT 4
- How to work with fullcalendar HOT 1
- [Bug] El boton File browser no se visualiza que documento se sube HOT 4
- Primary color
- css and js not loading HOT 4
- Cant make page number of datatable dynamic [premium support] HOT 4
- Update to latest laravel [premium support] HOT 2
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 ct-argon-dashboard-pro-laravel.