Após efetuar os passos do vídeo feito no "Tira-dúvidas Cacic 3.0" me ocorreu este erro. Peço ajuda. obrigado.
Marcio
www-data@debian01:/srv/gerente$ php composer.phar install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
PHP Fatal error: Class 'Bc\Bundle\BootstrapBundle\BcBootstrapBundle' not found in /srv/gerente/app/AppKernel.php on line 24
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-install-cmd event terminated with an exception
[RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command.
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [packages1] ... [packagesN]
Autor: Marcio Paruolo
99 comentários
{
public function registerBundles()
{
$bundles = array(
// ...
new Braincrafted\Bundle\BootstrapBundle\BraincraftedBootstrapBundle(),
);
// ...
}
}
e em: www.softwarepublico.gov.br/dotlrn/clubs/cacic/forums/message-view?message_id=115320949  e o problema muda para [Symfony\Component\Yaml\Exception\ParseException]
Reference "TestCase.php" does not exist at line 35 (near "excluded_names: [*TestCase.php, *Test.php]").
Script Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache handling the post-install-cmd event terminated with an exception [RuntimeException]
An error occurred when executing the "'cache:clear --no-warmup'" command.
src Adiciona inserção da impressora via PUT no Cocar 16 hours ago
web Mudanças para funcionar atrás do balanceador de carga 4 months ago
.gitignore [FIX] Exclusao de registros em listagens via DataTable 3 months ago
LICENSE Merge da versão 3.0 para o Trunk 9 months ago
README.md Merge da versão 3.0 para o Trunk 9 months ago
UPGRADE.md Merge da versão 3.0 para o Trunk 9 months ago
composer.json Tentativa de corrigir bug do IP vazio nas coletas 2 months ago
composer.lock Corrige erro nas impressoras e bug da coleta 23 days ago
composer.phar [FIX] Exclusao de registros em listagens via DataTable 3 months ago cacic - Revision 1707: /cacic/tags/3.0b1/gerente/web ..
app.php
app_dev.php
apple-touch-icon.png
bundles/
config.php
downloads/
favicon.ico
img/
instalador/
robots.txt
upload/
root@debian01:/srv/cacic/web# ls -la
total 80
drwxr-xr-x 11 www-data www-data 4096 Out 18 23:30 .
drwxr-xr-x 7 www-data www-data 4096 Out 18 19:48 ..
-rwxr-xr-x 1 www-data www-data 1100 Out 18 19:32 app_dev.php
-rwxr-xr-x 1 www-data www-data 10784 Out 18 19:32 apple-touch-icon.png
-rwxr-xr-x 1 www-data www-data 834 Out 18 19:32 app.php
drwxr-xr-x 4 www-data www-data 4096 Out 18 23:30 assetic
drwxr-xr-x 2 www-data www-data 4096 Out 18 23:30 assets
drwxr-xr-x 2 www-data www-data 4096 Out 18 23:29 bundles
-rwxr-xr-x 1 www-data www-data 5746 Out 18 19:57 config.php
drwxr-xr-x 2 www-data www-data 4096 Out 18 23:30 css
-rwxr-xr-x 1 www-data www-data 3774 Out 18 19:32 favicon.ico
drwxr-xr-x 2 www-data www-data 4096 Out 18 19:57 fonts
drwxr-xr-x 2 www-data www-data 4096 Out 18 23:30 images
drwxr-xr-x 2 www-data www-data 4096 Out 18 19:32 img
drwxr-xr-x 6 www-data www-data 4096 Out 18 19:32 instalador
drwxr-xr-x 2 www-data www-data 4096 Out 18 23:29 js
-rwxr-xr-x 1 www-data www-data 106 Out 18 19:32 robots.txt
deb apt.postgresql.org/pub/repos/apt/ squeeze-pgdg main apt-get update
apt-get install postgresql-9.3 e modificar:
editor /etc/php5/conf.d/suhosin.ini
^+w suhosin.executor.include.whitelist
+ suhosin.executor.include.whitelist = phar ou dica do site symfony o restante da instalação transcorreu normalmente, sem algum aviso de erro. Só quando navega no link Downloads mostra erro no backend inválido.
gpg --keyserver subkeys.pgp.net --recv 7FCC7D46ACCC4CF8
gpg --export --armor ACCC4CF8 | sudo apt-key add - editor /etc/apt/sources.list
deb apt.postgresql.org/pub/repos/apt/ squeeze-pgdg main apt-get update
apt-get install postgresql-9.3 sudo apt-get install python g++ make checkinstall
src=$(mktemp -d) && cd $src
wget -N nodejs.org/dist/node-latest.tar.gz
tar xzvf node-latest.tar.gz && cd node-v*
./configure
sudo fakeroot checkinstall -y --install=no --pkgversion $(echo $(pwd) | sed -n -re's/.+node-v(.+)$/\1/p') make -j$(($(nproc)+1)) install
sudo dpkg -i node_* cd /usr/local/lib/node_modules
npm install less editor /etc/php5/apache2/php.ini
[Date]
; Defines the default timezone used by the date functions
; php.net/date.timezone
date.timezone = America/Sao_Paulo /etc/init.d/apache2 restart cd /srv
git clone github.com/lightbase/cacic
chown -R www-data.www-data cacic
ln -s /srv/cacic/web /var/www/cacic
/etc/init.d/apache2 restart su - postgres
$ createuser -D -R -S -w cacic
$ createdb -w -O cacic cacic
$exit editor /etc/postgresql/9.3/main/pg_hba.conf
host cacic cacic 127.0.0.1/32 trust
host cacic cacic localhost trust su - postgres
$ /etc/init.d/postgresql restart
$ psql -U cacic -h localhost cacic
$exit su - www-data
$ bash
$ cd /srv/cacic
$ cd app/config
$ cp cacic-dist-parameters.yml parameters.yml
$ editor /srv/cacic/app/config/parameters.yml
parameters:
database_driver: pdo_pgsql
database_host: 127.0.0.1
database_port: null
database_name: cacic
database_user: cacic
database_password: null
mailer_transport: smtp
mailer_host: 127.0.0.1
mailer_user: null
mailer_password: null
locale: pt_BR
secret: d7c123f25645010985ca27c1015bc76797
database_path: null
$exit Instalação dos vendors
editor /etc/php5/conf.d/suhosin.ini
^+w suhosin.executor.include.whitelist
+ suhosin.executor.include.whitelist = phar ou dica do site symfony
+ suhosin.executor.include.whitelist = "phar" dica do video su - www-data
$ bash
$ cd /srv/cacic
$ php composer.phar install
$exit su - www-data
$ bash
$ cd /srv/cacic
$ php app/console doctrine:schema:update --force
$ php app/console assets:install --symlink
$ php app/console assetic:dump
$exit
cd /srv/cacic
php app/console doctrine:fixtures:load apt-get install proftpd-basic
editor /etc/proftpd/proftpd.conf
# Use this to jail all users in their homes
DefaultRoot ~ # Users require a valid shell listed in /etc/shells to login.
# Use this directive to release that constrain.
RequireValidShell off adduser --shell /bin/false --home /var/www/html/ftpcacic ftpcacic mkdir /var/www/html/ftpcacic/agentes
chown ftpcacic.ftpcacic /var/www/html/ftpcacic/agentes
/etc/init.d/proftpd restart
12/05 11:45:35 Liberando as conexões de Saída para o serviço FTP
12/05 11:45:35 Liberando as conexões de Saída para o InstallCACIC
12/05 11:45:35 Liberando as conexões de Saída para o ChkSIS
12/05 11:45:35 Fazendo contato com Gerente WEB.
12/05 11:45:35 Comm: PROBLEMAS DURANTE A COMUNICAÇÃO:
12/05 11:45:35 Comm: Endereço: 192.168.3.251/ws/get/config
12/05 11:45:35 Comm: Mensagem: OBS: o diretório ws não encontrei