typicms / base Goto Github PK
View Code? Open in Web Editor NEWMultilingual CMS built with Laravel.
License: MIT License
Multilingual CMS built with Laravel.
License: MIT License
Hi,
I am trying to install the CMS on local machine, using MAMP and get the following error after being asked for my database password:
SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected
I've tried including the below snippet within the config/database.php file, which helps (as without it I get a different error), but doesn't resolve this issue.
'unix_socket' => '/Applications/MAMP/tmp/mysql/mysql.sock',
Any help would be greatly appreciated.
Regards,
Mat
So I found an interesting edge case.
if I do artisan typicms:create Tagcollection
everything works fine
However if I do artisan typicms:create TagCollection
with a camel case I get this in the admin portal
Looks like a case sensitive fs issue, in the vein of this https://laracasts.com/discuss/channels/general-discussion/homestead-and-case-sensitivity
(Or is it splitting on the second capital letter and inserting an underscore?)
Next ErrorException: No hint path defined for [tag_collections]. (View: /home/vagrant/Code/MyCatsProject/resources/views/vendor/core/admin/index.blade.php) in /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:112
Stack trace:
#0 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php(44): Illuminate\View\Engines\CompilerEngine->handleViewException(Object(InvalidArgumentException), 1)
#1 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php(59): Illuminate\View\Engines\PhpEngine->evaluatePath('/home/vagrant/C...', Array)
#2 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/View/View.php(147): Illuminate\View\Engines\CompilerEngine->get('/home/vagrant/C...', Array)
#3 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/View/View.php(118): Illuminate\View\View->getContents()
#4 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/View/View.php(83): Illuminate\View\View->renderContents()
#5 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Http/Response.php(53): Illuminate\View\View->render()
#6 /home/vagrant/Code/MyCatsProject/vendor/symfony/http-foundation/Response.php(197): Illuminate\Http\Response->setContent(Object(Illuminate\View\View))
#7 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Router.php(1030): Symfony\Component\HttpFoundation\Response->__construct(Object(Illuminate\View\View))
#8 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(94): Illuminate\Routing\Router->prepareResponse(Object(Illuminate\Http\Request), Object(Illuminate\View\View))
#9 [internal function]: Illuminate\Routing\ControllerDispatcher->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#10 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#11 /home/vagrant/Code/MyCatsProject/vendor/typicms/core/src/Http/Middleware/UserPrefs.php(26): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#12 [internal function]: TypiCMS\Modules\Core\Http\Middleware\UserPrefs->handle(Object(Illuminate\Http\Request), Object(Closure))
#13 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array)
#14 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#15 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#16 /home/vagrant/Code/MyCatsProject/vendor/typicms/core/src/Http/Middleware/JavaScriptData.php(39): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#17 [internal function]: TypiCMS\Modules\Core\Http\Middleware\JavaScriptData->handle(Object(Illuminate\Http\Request), Object(Closure))
#18 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array)
#19 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#20 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#21 /home/vagrant/Code/MyCatsProject/vendor/typicms/core/src/Http/Middleware/AdminLocale.php(38): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#22 [internal function]: TypiCMS\Modules\Core\Http\Middleware\AdminLocale->handle(Object(Illuminate\Http\Request), Object(Closure))
#23 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array)
#24 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#25 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#26 /home/vagrant/Code/MyCatsProject/vendor/typicms/core/src/Http/Middleware/Authorization.php(27): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#27 [internal function]: TypiCMS\Modules\Core\Http\Middleware\Authorization->handle(Object(Illuminate\Http\Request), Object(Closure))
#28 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array)
#29 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#30 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#31 /home/vagrant/Code/MyCatsProject/app/Http/Middleware/Authenticate.php(28): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#32 [internal function]: App\Http\Middleware\Authenticate->handle(Object(Illuminate\Http\Request), Object(Closure))
#33 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array)
#34 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#35 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#36 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(64): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#37 [internal function]: Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle(Object(Illuminate\Http\Request), Object(Closure))
#38 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array)
#39 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#40 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#41 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#42 [internal function]: Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#43 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array)
#44 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#45 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#46 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#47 [internal function]: Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))
#48 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array)
#49 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#50 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#51 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(59): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#52 [internal function]: Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))
#53 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array)
#54 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#55 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#56 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#57 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#58 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(96): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#59 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(54): Illuminate\Routing\ControllerDispatcher->callWithinStack(Object(TypiCMS\Modules\TagCollections\Http\Controllers\AdminController), Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'index')
#60 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Route.php(174): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request), 'TypiCMS\\Modules...', 'index')
#61 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Route.php(140): Illuminate\Routing\Route->runController(Object(Illuminate\Http\Request))
#62 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Router.php(703): Illuminate\Routing\Route->run(Object(Illuminate\Http\Request))
#63 [internal function]: Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#64 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#65 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#66 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#67 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Router.php(705): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#68 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Router.php(678): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
#69 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Router.php(654): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#70 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(246): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
#71 [internal function]: Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
#72 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#73 /home/vagrant/Code/MyCatsProject/vendor/barryvdh/laravel-debugbar/src/Middleware/Debugbar.php(49): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#74 [internal function]: Barryvdh\Debugbar\Middleware\Debugbar->handle(Object(Illuminate\Http\Request), Object(Closure))
#75 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array)
#76 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#77 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#78 /home/vagrant/Code/MyCatsProject/vendor/edvinaskrucas/notification/src/Krucas/Notification/Middleware/NotificationMiddleware.php(58): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#79 [internal function]: Krucas\Notification\Middleware\NotificationMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#80 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array)
#81 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#82 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#83 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(44): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#84 [internal function]: Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
#85 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array)
#86 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#87 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#88 /home/vagrant/Code/MyCatsProject/vendor/typicms/core/src/Http/Middleware/PublicLocale.php(50): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#89 [internal function]: TypiCMS\Modules\Core\Http\Middleware\PublicLocale->handle(Object(Illuminate\Http\Request), Object(Closure))
#90 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array)
#91 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#92 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#93 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(62): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#94 [internal function]: Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
#95 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array)
#96 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#97 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#98 /home/vagrant/Code/MyCatsProject/vendor/dingo/api/src/Http/Middleware/Request.php(95): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#99 [internal function]: Dingo\Api\Http\Middleware\Request->handle(Object(Illuminate\Http\Request), Object(Closure))
#100 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(124): call_user_func_array(Array, Array)
#101 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
#102 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#103 [internal function]: Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
#104 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(102): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#105 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(132): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#106 /home/vagrant/Code/MyCatsProject/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(99): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
#107 /home/vagrant/Code/MyCatsProject/public/index.php(53): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#108 {main}
(how to use typicms with Angular material as frontend to have a beautiful design?
Hi TypiCMS developer,
You have done a very very good work, congratulations and thank you very very much for publishing it open source.
I am trying to make a website for a friend who speaks German, English and French, so I tried to modify the code but no success at all. Maybe a milestone to add language management system would be a very good next step.
I do a little work on lostideaslab.com, and I thought I may can do a little for TypiCMS, what do you think?
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'hrv_social.typicms_pages' doesn't exist (SQL: select * from typicms_pages
where (select count(*) from typicms_page_translations
where typicms_page_translations
.page_id
= typicms_pages
.id
and status
= 1 and locale
= en) >= 1 and module
!= )
This occurs on either manual installation or attempt @ auto installation on Laravel Framework version 5.1.26 (LTS). Any direction would be helpful.
I have fresh TypiCMS/Base repo installed (composer install, created mysql 5.7 database).
When I run php artisan migrate
I get this:
[Illuminate\Database\QueryException] SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint (SQL : alter table 'typicms_permission_user' add constraint 'permission_user_use r_id_foreign' foreign key ('user_id') references 'typicms_users' ('id') on delete cascade)
[PDOException] SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint
Hey,
There is any online demo for this CMS?
Thanks!
After a clean installation. My admin dashboard shows variables from the template without parsing them. Something like :
{{ model.created_at | dateFromMySQL:'short' }} {{ model.title }} {{ model.title }} ({{ model.locale }}) {{ model.historable_table }} {{ model.action }} {{ model.user_name }}
Any solutions ?
Thank you
hi I have a problem in the events Module, when I created an event it is not displayed in the frontend
FatalErrorException in Container.php line 698:
Maximum function nesting level of '100' reached, aborting!
Hi,
I just tried an install of the 2.0/L5 series
I got similar mysql issue as reported by others in closed issue #3
But install does proceed after a manual setup of env file
However installation then appears to be short of a lot of modules, such as:
Categories, Projects, News, Events, Places, Partners
These will install with a manual inclusion in composer
but then no migration, or dashboard views etc
Is this something that is coming?
Regards
l.
i have install other projects like yours and it was laravel 5 and it works but this one i can not becauase i have to install Node and Bower think it wont work out
i hope any suggestion for that
Thank you in advance
I have a fresh install of TypiCMS, everything runs smoothly on local XAMPP.
This error appears when I try to upload a file (image) in the admin section for the Pages, New, Events, Slides, Categories, Projects.
I am talking about the single file upload form. The multiple upload form (dropzone js) for galleries works fine.
Here is the error :
FatalErrorException in RedirectResponse.php line 11:
Cannot use Symfony\Component\HttpFoundation\File\UploadedFile as UploadedFile because the name is already in use
The image is still uploaded and cropped though. Error seems to appear after the file manipulation.
Update : Tested online on my host, and everything works fine : no errors. It is probably due to a limitation of my local installation. You can close this issue.
...
this isnt really a good idea.
at least ask me the question, or offer suggestion it might be necessary if things dont work.
also about pulling in all those node bower modules to the local install - couldnt they be global
regards
l.
I created a new module named "News" by executing command: composer require typicms/news. I also added providers in config/app.php, have publish views and migrations and migrated the database too.
The only problem I am facing is that whenever the url I given, it redirects me to the root directory of my project, that is, http://localhost/mywebsite/public/
Even, if I give invalid route like http://localhost/mywebsite/public/foobar, instead of showing me error, it again redirects to the root directory.
I have checked the htaccess and routes.php file and there is no modifications.
Regards:
Adnan
i follow all steps menthoied
Create a new project
composer create-project typicms/base mywebsite
Enter the newly created folder
cd mywebsite
DB migration and seed, user creation, npm installation, bower installation and directory rights
php artisan typicms:install
Go to http://mywebsite.local/admin and log in.
installation was successful but
the page without any css styling and no css found at all !!
Hello,
Is there a better documentation available? I would like to try TypiCMS out, but i need some custom content types and page layouts.
Hi,
How can i get $model in master.blade because i have error var not found? I think that master.blade should be getting from pages/public/ but now is getting from views/public/ and that is why this error shows.
Copied Directory [\vendor\typicms\core\src\resources\views\errors] To [\resources\views\errors]
Publishing Complete!
------------------
Setting up database...
[ErrorException]
Undefined offset: 1
I tried composer create-project typicms/base
. I am getting an error
PHP Fatal error: Class 'Memcached' not found in /var/www/typicms/vendor/laravel/framework/src/Illuminate/Cache/MemcachedConnector.php on line 51
I don't have php5-memcached extension installed. However My point is I don't want to use Memcache What If I want to use redis. Can you please suggest what else should I do to make it work
Hey,
I get 500 Error from Nginx when I install the package.
I've tried to install the original Laravel package and it works with the exact same settings.
thanks very much for this, been looking forward to it.
But it doesnt install. I downloaded zip, unzip and...
$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- typicms/base v2.0.0 requires typicms/core ~1.8 -> no matching package found.
- Installation request for typicms/base 1.0.0 -> satisfiable by typicms/base[1.0.0].
- typicms/files v2.0.0 requires typicms/core ~2.0.0 -> satisfiable by typicms/core[v2.0.0, v2.0.1, v2.0.2].
- typicms/core v2.0.0 requires typicms/base ~2.0.0 -> satisfiable by typicms/base[v2.0.0, v2.0.1, v2.0.2, v2.0.3].
- typicms/core v2.0.1 requires typicms/base ~2.0.0 -> satisfiable by typicms/base[v2.0.0, v2.0.1, v2.0.2, v2.0.3].
- typicms/core v2.0.2 requires typicms/base ~2.0.0 -> satisfiable by typicms/base[v2.0.0, v2.0.1, v2.0.2, v2.0.3].
- Can only install one of: typicms/base[v2.0.1, 1.0.0].
- Can only install one of: typicms/base[v2.0.2, 1.0.0].
- Can only install one of: typicms/base[v2.0.3, 1.0.0].
- Installation request for typicms/files ~2.0.0 -> satisfiable by typicms/files[v2.0.0].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
after php artisan typicms:install , my web http://localhost/cms/public/admin get error:
FatalErrorException in Container.php line 698:
Maximum function nesting level of '100' reached, aborting!
mysql defualt engine does not default foregin key ,
so edit Modules\Menu\Database\Migrations\2015_04_02_184200_create_widgets_table.php ,
add
Except the admin url, all the module routes are ignored and not even shown using 'php artisan route:list'
Only the pages route is considered and it looks like it is overriding the others. Trying events/{slug} for example throw a 404 error.
...
GET|HEAD | {uri}||TypiCMS\Modules\Pages\Http\Controllers\PublicController@uri|publicAccess,publicLocale |
SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) (View: /srv/www/dev11.local/resources/views/errors/404.blade.php)
just my first and fresh installation
Hi!
I cannot find if there is removed function to put page under other page as child or there is some issue?
And if it is new way, so how to make submenus?
And what suggestions about optimization of queries ?
With the tableset of 10376 records I got query timings showed in attachment.(front side)
39 seconds is baaaaaddd.....
in the backend side i got 6 second for select all from typicms_news and 55 second fo select all from typicms_news_translations.
it's all about All() method from repositories
limiting to about 2500 records shorts timings, but it's not the point for frontend...
i though about:
What' you can suggest also ?
Is it a way to optimize All() in any way ?
I've also done some VARCHAR-->CHAR tables optimization but with no significant results...
PS: Anyway - the module generator rocks and it's really helpful :)
after add provider, run php artisan
, following:
php artisan
[Illuminate\Database\QueryException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'typ.typicms_tags
' doesn't exist (SQL: select `tag` from `typicms_tags`)
[PDOException]
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'typ.typicms_tags
' doesn't exist
hello,
Good Job with the CMS. However, I keep getting the above error when installing the db. what could be the issue.. or is it a problem with Mamp?
Thanks
I'm having problems with your artisan typicms:install command. Specifically, when I respond to the prompts for Database Name, Username, and Password, it fails with the message:
[Illuminate\Database\QueryException]
SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for u
ser ''@'localhost' to database 'assist' (SQL: CREATE DATABASE IF NOT EXISTS
`assist`)
Please note that I get this message _despite the fact that I typed in a username and password_. Am I doing something wrong or is there something else that I should be doing?
Hi,
This error has been appear on composer update
on Laravel 5.2:
Class 'TypiCMS\Modules\Roles\Providers\ModuleProvider' not found
on command:
composer update
- Removing typicms/core (2.7.31)
- Installing typicms/core (2.7.32)
We are facing the following error when trying to install the CMS with "composer create-project typicms/base typicms4":
SQLSTATE[42000] [1044] Access denied for user ''@'localhost' to database 'forge'
EloquentHistory
CacheDecorator
HistoryInterface
has colliding function name empty()
this resulting in:
syntax error, unexpected 'empty' (T_EMPTY), expecting identifier (T_STRING)
on PHP 5.6.14
Changing name to f.e. clear() seems to be good workaround and quick fix, but need another steps to bring back history clear function online.
I can not edit page. When I press edit button editor opens, but there is no content in ckeditor, nor meta information...
If I add some content now and save the page - that new content will be displayed on front end, but when I come back to edit that page again, ckeditor is empty...
Any idea why is this happening?
[Symfony\Component\Debug\Exception\FatalErrorException]
Class 'Memcached' not found
Left top corner has msg:
Untitled website
following err msg in sidebar :
FatalErrorException in helpers.php line 49: Maximum function nesting level of '100' reached, aborting!
in helpers.php line 49
at FatalErrorException->__construct() in HandleExceptions.php line 127
at HandleExceptions->fatalExceptionFromError() in HandleExceptions.php line 112
at HandleExceptions->handleShutdown() in HandleExceptions.php line 0
at app() in helpers.php line 157
at config() in TypiCMS.php line 90
at TypiCMS->title() in Facade.php line 207
at Facade::__callStatic() in MasterViewComposer.php line 10
at TypiCMS::title() in MasterViewComposer.php line 10
at MasterViewComposer->compose() in Factory.php line 467
at call_user_func_array:{G:\Documents\Dropbox\zc\vagrant\www\typ2\vendor\laravel\framework\src\Illuminate\View\Factory.php:467}() in Factory.php line 467
at Factory->Illuminate\View\{closure}() in Dispatcher.php line 221
at call_user_func_array:{G:\Documents\Dropbox\zc\vagrant\www\typ2\vendor\laravel\framework\src\Illuminate\Events\Dispatcher.php:221}() in Dispatcher.php line 221
at Dispatcher->fire() in Factory.php line 497
at Factory->callComposer() in View.php line 105
at View->renderContents() in View.php line 81
at View->render() in Renderable.php line 15
at SidebarAppend->render() in 1a20227eda05613a36efec504123390d line 18
in PhpEngine.php line 40
at PhpEngine->evaluatePath() in CompilerEngine.php line 58
at CompilerEngine->get() in View.php line 138
at View->getContents() in View.php line 107
at View->renderContents() in View.php line 81
at View->render() in Renderable.php line 15
at SidebarItem->render() in 5899d10898645b4c48d917223e8f9a66 line 9
in PhpEngine.php line 40
at PhpEngine->evaluatePath() in CompilerEngine.php line 58
at CompilerEngine->get() in View.php line 138
at View->getContents() in View.php line 107
at View->renderContents() in View.php line 81
at View->render() in Renderable.php line 15
at SidebarGroup->render() in SidebarManager.php line 131
at SidebarManager->render() in e658fde039370aa0ac9377d08dd04833 line 2
in PhpEngine.php line 40
at PhpEngine->evaluatePath() in CompilerEngine.php line 58
at CompilerEngine->get() in View.php line 138
at View->getContents() in View.php line 107
at View->renderContents() in View.php line 81
at View->render() in f240dd272943d19fe17a4fa2e21ac163 line 39
in PhpEngine.php line 40
at PhpEngine->evaluatePath() in CompilerEngine.php line 58
at CompilerEngine->get() in View.php line 138
at View->getContents() in View.php line 107
at View->renderContents() in View.php line 81
at View->render() in 301cbb0171f86e26080c9cb2ef475e6d line 32
in PhpEngine.php line 40
at PhpEngine->evaluatePath() in CompilerEngine.php line 58
at CompilerEngine->get() in View.php line 138
at View->getContents() in View.php line 107
at View->renderContents() in View.php line 81
at View->render() in Response.php line 51
where could I set site title?
What i need to configure to run it on http://domain.com/subfolder ?
I checked for Laravel and there you need just .htacces RewriteBase set to subfolder.
I set up RewriteBase to /subfolder in .htacces, it works, but then i am redirected to root (http://domain.com/en).
I try to install Modules. Everything was successfully installed and i see the Module names in the admin nav but when i click the Module its 404 error.
Can you tell me what missed it?
so when i install TypcCMS they on cmd or putty ssh it failed to config and complete the installaion
any another way to insall without "php artisan typicms:install" ???
am trying to insall it on the server without Node or Bower
Thank you in advance
no rtl support in the plan?
Error 404
Sorry, this page was not found.
Go to our homepage?
I know someone would not likely do this but in the event they do they will have to manually get to the db to enable one of the languages to fix this error.
hi,
How can I disable Multi in TypiCMS ? Most of my sites are EN only and need to remove the /en/ from the URL
Hello,
firstly very good job! I have a fresh install of TypiCMS, everything runs smoothly on homestead. When I tried to install News module everything was OK in backend - the option News in menu has appeared, but in frontend I got the following error:
ErrorException in UrlGenerator.php line 307: Route [en.news.feed] not defined. (View: /home/vagrant/Code/typiCMS/resources/views/vendor/core/public/_feed-links.blade.php) (View: /home/vagrant/Code/typiCMS/resources/views/vendor/core/public/_feed-links.blade.php) (View: /home/vagrant/Code/typiCMS/resources/views/vendor/core/public/_feed-links.blade.php)
Could you please help me with this issue?
Thanks in advance,
George
Hi Samuel,
We have a project with an admin module which has to manage thousands of records. I noticed that the API is serving the entire dataset and then the paging is done with angular. For small tables this is convenient but for large ones it takes forever to load. Have you thought about adding some limits in the database requests and using ajax for loading each page?
Nasko.
Not sure if you can reproduce, but for me the admin backend is breaking with all versions if IE (9-Edge)
I've tested this on an existing project, and a fresh installation of typicms
The site works correct on Chrome, Safari, and Firefox
Here's the error I'm seeing
TypeError: Object doesn't support this action
at Anonymous function (http://pretendco.com/js/admin/components.min.js:13:22704)
at i (http://pretendco.com/js/admin/components.min.js:4:21865)
at Anonymous function (http://pretendco.com/js/admin/components.min.js:4:20272)
at i (http://pretendco.com/js/admin/components.min.js:4:21865)
at Anonymous function (http://pretendco.com/js/admin/components.min.js:4:22458)
at r (http://pretendco.com/js/admin/components.min.js:4:21488)
at i (http://pretendco.com/js/admin/components.min.js:4:21822)
at Anonymous function (http://pretendco.com/js/admin/components.min.js:5:11916)
at m (http://pretendco.com/js/admin/components.min.js:5:1481)
at s (http://pretendco.com/js/admin/components.min.js:4:30008)
And After unminifying components.js
TypeError: Object doesn't support this action
at Anonymous function (http://pretendco.com/js/admin/components.min.js:52609:9)
at invoke (http://pretendco.com/js/admin/components.min.js:15631:9)
at enforcedReturnValue (http://pretendco.com/js/admin/components.min.js:15470:7)
at invoke (http://pretendco.com/js/admin/components.min.js:15631:9)
at Anonymous function (http://pretendco.com/js/admin/components.min.js:15430:13)
at getService (http://pretendco.com/js/admin/components.min.js:15577:11)
at injectionArgs (http://pretendco.com/js/admin/components.min.js:15600:9)
at invoke (http://pretendco.com/js/admin/components.min.js:15623:7)
at Anonymous function (http://pretendco.com/js/admin/components.min.js:20882:11)
at nodeLinkFn (http://pretendco.com/js/admin/components.min.js:19954:11)
And the Screen shot
Note: The news model here has a couple hundred entries that are not appearing
Any advice would be much appericaited.
I have received the error bellow during TypiCms installation:
php composer.phar create-project typicms/base mywebsite ... Generating autoload files PHP Fatal error: Class 'Memcached' not found in /var/www/projects/dev/typicms/vendor/laravel/framework/src/Illuminate/Cache/MemcachedConnector.php on line 51 [Symfony\Component\Debug\Exception\FatalErrorException] Class 'Memcached' not found Script php artisan clear-compiled handling the post-install-cmd event returned with an error [RuntimeException] Error Output: PHP Fatal error: Class 'Memcached' not found in /var/www/pro jects/dev/typicms/vendor/laravel/framework/src/Illuminate/Cache/MemcachedCo nnector.php on line 51 php artisan typicms:install PHP Fatal error: Class 'Memcached' not found in /var/www/projects/dev/typicms/vendor/laravel/framework/src/Illuminate/Cache/MemcachedConnector.php on line 51 [Symfony\Component\Debug\Exception\FatalErrorException] Class 'Memcached' not found
I have tried to install Memcached. But I've recceived this message:
aptitude install php5-memcached The following NEW packages will be installed: php5-memcached{b} 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 39.1 kB of archives. After unpacking 151 kB will be used. The following packages have unmet dependencies: php5-memcached : Depends: php5-common (= 5.5.25-1~dotdeb+7.1) but 5.6.9+dfsg-0+deb8u1 is installed. The following actions will resolve these dependencies: Keep the following packages at their current version: 1) php5-memcached [Not Installed]
Change php5-common would produce some problems. I've tried to install only Memcached, but the error haven't changed.
What must I do?
I'm trying to get TypiCMS configured and even after granting access to the "Public" group in the dashboard, the api endpoints return 401 error until I actually log in.
Where it seems to be getting hung up is the app/HTTP/Middleware/Authenticate L19-29
The call is getting passed through this no matter the settings, however if I disable this, then the dashboard doesn't redirect correctly.
Any advice.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.