it did not serve anything, silently.
After lots of research, I've found in root directory kdbe.yaml and
kdbe.conf, the later is nginx config. Catalyst read it as well as .yaml
and somehow it made Static::Simple disappointed so much that it did not
serve anything...
On 16.04.2017 9:03, Rajesh Kumar
ac systemd[1]: Failed to start LSB: Apache2 web server.
Mar 3 07:34:03 iac systemd[1]: apache2.service: Unit entered failed state.
Mar 3 07:34:03 iac systemd[1]: apache2.service: Failed with result 'exit-code'.
El Vie, 3 de Marzo de 2017, 6:33, mallah escribió:
The real error message is s
The real error message is somewhere try
systemctl status apache2
To find the error messages or tail the error Logs.
RegdsMallah
Sent from my Samsung Galaxy smartphone.
Original message From: Andrés Chandía
Date: 3/3/17 10:32 (GMT+05:30) To:
ou can configure Catalyst::View::JSON to NOT work on the entire stash.
See 'expose_stash' in the config:
https://metacpan.org/pod/Catalyst::View::JSON
On 11/05/17 20:29, Rajesh Kumar Mallah wrote:
>
> Hi
>
> We need to pass value of variables from one stage of request
> processing
Thanks it did work!
and Thanks again for replying so soon!
Kind Regards
Rajesh Mallah.
lib/MyProj/Schema/Result/MyProjUser.pm
sub myrolecol {
my ($self) = @_;
my $log = Log::Log4perl->get_logger();
$log -> debug ("myrolecol has been called!
r.pm
and it works well. What i need is similar flexibility to specify the
roles of an existing user . I cannot use role_field , role_relation
Regds
Rajesh Kumar Mallah.
Redgrape Technologies ( https://www.redgrape.tech )
Mobile: 09811255597,
Hi ,
Please have a look at WebGUI
http://www.webgui.org/
I am not sure if it uses catalyst though
Regds
Rajesh Kumar Mallah.
Redgrape Technologies ( https://www.redgrape.tech )
Mobile: 09811255597, Land: 011-49044122
Hi Carl ,
why not just use sessions which are available
irrespective of user is logged in or not
$c->session i mean.
Regds
Rajesh Kumar Mallah.
Redgrape Technologies ( https://www.redgrape.tech )
Mobile: 09811255597, Land: 011-49044
global level . The controller modules for each database table are
being (auto)generated by the helper
Catalyst::Helper::Controller::DBIC::API::REST The dataset is being exposed
via REST utilising
Catalyst::Controller::DBIC::API
Can anyone please guide where such a constraint can be put ?
Regds
Rajesh
he controller modules for each database table are
> being (auto)generated by the helper
> Catalyst::Helper::Controller::DBIC::API::REST The dataset is being exposed
> via REST utilising
> Catalyst::Controller::DBIC::API
>
> Can anyone please guide where such a constraint can be pu
society_id =>
$c->user->society_id() } );
}
But is it ok to use "PROTECTED METHODS" ?
Regds
Mallah
>
>
> Ok i do see some light! that I am exploring.
> Sorry for the noise i shall post again if i find a
> solution or otherwise even.
>
>
>
http://s
( disclaimer: I am doing my first catalyst project and was
into Mason before).
regds
mallah.
> Hi,
>
> if you want to do this for to use caching but still force the files to
> get downloaded on a new app version I'd suggest appending a query
> parameter, we use ?v=[% co
gt;> $body =~ s#/static/#/static/ver8291/#g ;
>>>> $c->response->output($body);
}
Thanks.
Regds
mallah.
>
> Dear Catalyst Users ,
>
>
> What would be a good place to post process the HTML output from
> View (TT in my case).
>
> I would want to replace
Dear Dimitar,
the verXXX change everytime there is git commit.
I was able to solve my problem completely for development environment.
For production i would serve static from from apache or lighttpd
with a rewrite rule that would strip off the version numbers.
Embedding version number in urls
Have you gone through ,
http://stackoverflow.com/questions/25277158/run-asynchronous-methods-in-catalyst-perl
could you elaborate a bit on the real problem?
Regds
Mallah.
> Hi all,
>
> I know that catalyst provides some basic support for sending asynch
> response
arameter 'limit' as i configured count_arg as 'limit'
I need a simple example on how to pass the search param
eg i want to recordset to be restricted to member_id=> 368
could anyone kindly help.
I have done my research before approaching this list.
regds
mallah.
__
Firstly thanks for the quick reply,
http://10.100.102.38:3000/api/rest/general/members/368
does respond with single record.
{
"data": {
"group_id": null,
"pan1": null,
"mobile2": null,
"pan2": null,
"pa_city": null,
"email": null,
"membership_no": null,
about usage of Twiggy in Day 12 (Part 3)
regds
mallah.
> Hi all,
>
> I know that catalyst provides some basic support for sending asynch
> responses to clients but the examples & documentation are a bit thin
> on the ground. I was wondering if anybody has had much s
Now Looking into the test scripts that came with the distribution.
Hope to find the solution.
>
> Firstly thanks for the quick reply,
>
>
> http://10.100.102.38:3000/api/rest/general/members/368
> does respond with single record.
>
> {
> "data": {
> "group_id": null,
> "pan1": null,
Dear Dimitar/List ,
indeed the example 1 below was correct.
The confusion resulted form multiple mistakes in my
observations and actions.
Sorry for the noise. Now my primary concern is sorted out.
Regds
mallah.
> There are a couple of ways around that.
>
> 1. Search for that
"holder1": "Smt. Punita Batra"
},
{
"holder1": "Sh.K C Sardana"
},
{
"holder1": "Smt. Sunita Mishra"
},
{
"holder1": "Sh. Vijay Kumar Khanna"
},
{
"
67%',
'search.holder1.-ilike' => '%mis%',
'search.flat_no' => 'A203'
};
search.mobile1.-ilike=%25967%25=%25mis%25_no=A203
Regds
Mallah.
>
> Hi ,
>
> In continuation of previous query kindly guide how to do a
> anchored or unanchored ilike search using
hat under the hood, so not sure what are you
> going after.
>
> You can either use: search=JSON.stringify(object) or construct the search
> passing params like: search.holder.-ilike=%mis%. Both should work out of
> the box.
>
> Regards
>
> On Wed, Mar 1, 2017 at
: DBD::Pg::st
execute failed: ERROR: schema "me" does not exist [for Statement "SELECT
me.holder1 FROM general.members me WHERE ( ( me.member_balance(member_id)
= ? AND me.society_id = ? ) ) ORDER BY member_id" with ParamValues:
1='21', 2='50']
Regds
Mallah.
> Hi,
Thanks , It does return *when* paging related params are passed.
I have now used that result in my code.
Kind Regds
mallah.
> Hi,
>
> it does return it in the totalcount property by default.
>
> The name can be configured with the 'total_entries_arg' config parameter:
>
ht
to be lazy :p )
regds
Rajesh Kumar Mallah.
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http
Ok are you suggesting DBIC::API needs to be enhanced for
JSONP support ?
Regds
Mallah.
> Looks like a code injection attack vector to me...
>
> Patch + Tests for DBIC::API welcome!
>
>
> On 2017-03-09 11:05, Rajesh Kumar Mallah wrote:
>>
>>
>>
&
Thanks for clarifying .
I shall try to see and explore.
regds
mallah.
> If someone wants JSONP support, yes.
>
> Best regards, Alex
>
>
> On 2017-03-16 18:07, Rajesh Kumar Mallah wrote:
>>
>>
>>
>> Ok are you suggesting DBIC::API needs to be enha
ic object (gif,css,js etc).
regds
mallah.
>
> Catalyst-Action-RenderView-0.16_1
> Catalyst-Devel-1.39
> Catalyst-Plugin-ConfigLoader-0.34_1
> Catalyst-Plugin-Static-Simple-0.33
> Catalyst-Runtime-5.90114
>
> I'll try to debug it out, but maybe some
://grokbase.com/t/sc/catalyst/083ev978bd/again-die-in-an-action-chain-does-not-break-the-chain
is there anything to halt the request after the appropriate
HTTP Status and
Headers and
Body
as been setup.
Regds
Rajesh Kumar Mallah.
___
List: C
; equals to ""? Or something else?
>
> gil
>
> On Thu, Mar 02, 2017 at 10:25:27AM -0500, Rajesh Kumar Mallah wrote:
>>
>> Hi ,
>>
>> I want to transform request parameters in GET & POST requests
>> so that any thing whic
$body = \$c->res->body;
$$body = "$cb ($$body);";
$c->res->body($$body);
}
}
regds
mallah.
> Hi ,
>
> How to get JSON response body wrapped in a callback function
> call (a.k.a JSONP) when using Catalyst::Controller::DBIC::API::REST
>
Hi ,
How to perform below search:
select member_id,holder1 from general.members where
member_balance(member_id , '2017-03-14') < 0 ;
there is a function on LHS of the condition
Regds
Mallah.
> Hello Rajesh,
>
> C::C::DBIC::API supports that under the hood, so not sure
ariable ${APACHE_LOG_DIR} is not defined
>> AH00526: Syntax error on line 74 of /etc/apache2/apache2.conf:
>> Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}
>>
>>
>> El Vie, 3 de Marzo de 2017, 11:15, mallah escribió:
>> Have you tried starting apa
to start using the command above.
the above command executes in a subshell , first part populates
env variable , -f is path to main config -e sets level to debug
and -X prevents from detaching from terminal.
regds
mallah.
>
>
> Active Internet connections (only servers)
&g
Thanks, It helps.
regds
Mallah.
> It's just a package and I have in make_schema_at.pl to apply the
> components
> that I want to use:
>
> make_schema_at(
> "My::Schema::${class_name}",
> {
> exclude => qr/_\d+$/,
>
Thanks for that , it looks elegant .
Could you please send some pointer to docs for Traits
approach.
regds
mallah.
> Not sure if that's the best way to do it or if it's a good approach, but I
> have a trait which is applied to all result classes.
>
> TraitFor::Result::Forc
any idea why the error below ?
-e: command not found
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev
mctl try to start using the command above.
the above command executes in a subshell , first part populates
env variable , -f is path to main config -e sets level to debug
and -X prevents from detaching from terminal.
regds
mallah.
>
>
> Active Internet connections (only server
I assume the command keeps running in that state and
while it is doing so , can you check if apache2 listening
on configured port (80) and if it is so does , is it serving
the app in expected manner ?
regds
mallah.
___
List: Catalyst
lled with nothing. On submission the DB raises an exception
that an empty string is being inserted to a integer field.
Hence I feel like having a global filter that turns all blanks to
undef.
The question is where to put this global filter.
Regds
mallah.
___
"pattern" , where pattern is something
specific you put in that section of application.
please look at NDC (nested diagn.. context) of Log4Perl
on how to push a specific prefix.
you may consider using Log4Perl via Log::Log4perl::Catalyst
Regds
Rajesh Mallah.
> I have a
/variables.
Hence my question is is there any mechanism to share data
in Catalyst App other than the stash.
Or should i create a simple perl package and use a global
hash variable in it ?
regds
mallah.
___
List: Catalyst@lists.scsys.co.uk
Thanks , it shall be useful. I would test it sometime.
> Hey,
>
> I just wrote a new module, to support JWT in Catalyst. I would be happy
> about your opinions. Later, I would like to upload it to CPAN.
>
> http://prepan.org/module/nYdTCdrkEHM
>
> Best, Gerhard
>
>
>
I was able to use the controller methods that did not require
$c .
I just used the Module in the script and called the
methods in it and it worked.
Regds
mallah.
>
> Hi ,
>
> I have application logic in controllers which i want to
> reuse from some non-http scripts.
&
45 matches
Mail list logo