[zope-pt] Problemas no createObject via GET

2009-10-03 Por tôpico Leandro Zanuz
Olá Pessoal,

Estou migrando um portal que estava em uma versao mais antiga do Plone para a 
versão 2.5.5.

Tinha um tipo de conteúdo chamado Relatório que ao acessar a pasta de 
Relatorios ela tinha um link para adicionar Novo Relatório que era montado 
assim:

http://site:8080/meuportal/createObject?type_name=Relatorio

Mas nesta versão do 2.5.5 isso não esta mais funcionando, ele exibe a mensagem 
abaixo dizendo que é uma falha de segurança adicionar um novo objeto por GET.

INFO CMFFormController You have triggered the form controller action 
createObject using a GET REQUEST.  This is a potential security hazard.  In 
Plone 3.0 this will FAIL unless you explicitly enable your form to support GET 
requests in the ZMI (or using the .metadata file).

Alguém sabe como resolver esse problema, e qual seria a melhor solução?

Obrigado.
Té+



[zope-pt] Plone-3.3.1-UnifiedInstaller - Ajuda

2009-10-03 Por tôpico simonemedeirosm
Resolvido agradeço pelas ideias.

Acredito que estava ocorrendo o erro devido ao compilador padrão do ubuntu ser 
o dash, modifiquei para bash, e rodou blz. 

[]s

--- Em zope-pt@yahoogrupos.com.br, simonemedeirosm simonemedei...@... 
escreveu

 Oi tentei instalar pelo easy_install da instancia porém ocorreu o erro 
 abaixo. Me surgiu a seguinte dúvida existe algum problema do plone ou PIL com 
 64bit?
 
 /home/Zope/Plone1/Python-2.4/bin# easy_install -i 
 http://dist.repoze.org/plone/latest/simple PIL
 Searching for PIL
 Reading http://dist.repoze.org/plone/latest/simple/PIL/
 Best match: PIL 1.1.6
 Downloading http://dist.repoze.org/plone/latest/PIL-1.1.6.tar.gz
 Processing PIL-1.1.6.tar.gz
 Running PIL-1.1.6/setup.py -q bdist_egg --dist-dir 
 /tmp/easy_install-3LxgNA/PIL-1.1.6/egg-dist-tmp-4mytXm
 _imaging.c:2907: warning: initialization from incompatible pointer type
 _imaging.c:2967: warning: initialization from incompatible pointer type
 path.c:559: warning: initialization from incompatible pointer type
 libImaging/Effects.c:210: warning: âperlin_initâ defined but not used
 libImaging/File.c: In function âImagingOpenPPMâ:
 libImaging/File.c:112: warning: ignoring return value of âfreadâ, declared 
 with attribute warn_unused_result
 libImaging/File.c:119: warning: ignoring return value of âfreadâ, declared 
 with attribute warn_unused_result
 libImaging/Geometry.c:236: warning: âquadratic_transformâ defined but not used
 libImaging/Quant.c: In function ârehash_collideâ:
 libImaging/Quant.c:154: warning: cast to pointer from integer of different 
 size
 libImaging/Quant.c: At top level:
 libImaging/Quant.c:311: warning: âtest_sortedâ defined but not used
 libImaging/Quant.c:676: warning: âcheckContainedâ defined but not used
 libImaging/QuantHash.c:136: warning: â_hashtable_testâ defined but not used
 /usr/bin/ld: /usr/local/lib/libz.a(deflate.o): relocation R_X86_64_32 against 
 `_length_code' can not be used when making a shared object; recompile with 
 -fPIC
 /usr/local/lib/libz.a: could not read symbols: Bad value
 collect2: ld returned 1 exit status
 error: Setup script exited with error: command 'gcc' failed with exit status 1





[zope-pt] Ateracao no zope.conf

2009-10-03 Por tôpico pliniofigueiredo
Ola a todos da comunidade ZOPE/Plone

Primeiramente, gostaria de agradecer a colobaracao daqueles que me ajudaram com 
o problema que havia tendo com a criacao de novos temas.

Porem outros problemas surgiram e eu gostaria novamente da ajuda desta 
comunidade.

Estou instalando ferramentas para Plone, uma delas eh o PLUMI, que eh eh 
ferramente de transmissao de video, como o You Tube.

No Install.txt, fui seguindo normalmente as normas de instalacao, porem uma 
delas pede para criar um ponteiro, no etc/zope.conf

quando alterei o zope.conf, e adcionei a linha:

products /usr/local/Plone/zinstance/prodcuts/plumiX

o meu servidor sumiu, e nao tive mais acesso.

como resolvo isso..?

Obrigado a todos,

Plinio Figueiredo