Search found 6 matches
- 11 Jan 2021, 03:39
- Forum: Laravel package
- Topic: New site creating commands works in terminal but not from shell_exec() PHP command
- Replies: 7
- Views: 2885
Re: New site creating commands works in terminal but not from shell_exec() PHP command
In the admin panel, there is tab called types in that tab contain the attribute, catalog lists, media, plugins, and lot more... and each table contain their own attributes [ex:- Domain:media, code:default, label:Standard]. php artisan aimeos:setup <new site code> when I create a new site using this ...
- 05 Jan 2021, 03:46
- Forum: Laravel package
- Topic: New site creating commands works in terminal but not from shell_exec() PHP command
- Replies: 7
- Views: 2885
Re: New site creating commands works in terminal but not from shell_exec() PHP command
$site = $this->argument( 'site' ); $ctx = $this->getLaravel()->make( 'aimeos.context' )->get( false, 'command' ); $config = $ctx->getConfig()->set( 'setup/site', $site ); $dbconfig = $conf->get( 'resource', [] ); foreach( $dbconfig as $rname => $dbconf ) { if( strncmp( $rname, 'db', 2 ) !== 0 ) { u...
- 04 Jan 2021, 03:02
- Forum: Laravel package
- Topic: user groups
- Replies: 3
- Views: 1647
Re: user groups
Assign the admin and editor group to all newly created sites. Is it possible to assign those groups while creating a new site? because I want admin and editor groups for every site that I'm going to create newly.
- 01 Jan 2021, 11:05
- Forum: Laravel package
- Topic: user groups
- Replies: 3
- Views: 1647
user groups
How do I use user groups [admin, editor] common way for all the sites that I created?
OS windows
Laravel Version 7
PHP 7.3
OS windows
Laravel Version 7
PHP 7.3
- 01 Jan 2021, 10:54
- Forum: Laravel package
- Topic: New site creating commands works in terminal but not from shell_exec() PHP command
- Replies: 7
- Views: 2885
Re: New site creating commands works in terminal but not from shell_exec() PHP command
can you mention the code example for that create a new site with the default attributes under the above situation
- 24 Dec 2020, 18:12
- Forum: Laravel package
- Topic: New site creating commands works in terminal but not from shell_exec() PHP command
- Replies: 7
- Views: 2885
New site creating commands works in terminal but not from shell_exec() PHP command
New site creating commands works in terminal but not from shell_exec() PHP command
command*
$output = shell_exec("cd .. && php artisan aimeos:setup $companyName ");
PHP version 7.3.1
laravel 7
OS - windows
command*
$output = shell_exec("cd .. && php artisan aimeos:setup $companyName ");
PHP version 7.3.1
laravel 7
OS - windows