hi, my website was developed in cakephp, recently it was hacked, and
it keeps giving the below error message, anyone knows how i can fix
it, thanks
Missing Controller
Error: 406.shtmlController could not be found.
Error: Create the class 406.shtmlController below in file: app/
controllers/406.sh
i am using the below codes, took from the bakery, straight
App::import('Xml');
// your XML file's location
$file = "my_xml_file.xml";
// now parse it
$parsed_xml =& new XML($file);
$parsed_xml = Set::reverse($parsed_xml); // this is what i call
magic
// see the returne
i am using the below codes, took from the bakery, straight
App::import('Xml');
// your XML file's location
$file = "my_xml_file.xml";
// now parse it
$parsed_xml =& new XML($file);
$parsed_xml = Set::reverse($parsed_xml); // this is what i call
magic
// see the returne
$parsed_xml = Set::reverse($parsed_xml);
> debug($results); (or var_dump($results))
>
> 2009/6/11 robert123
>
>
>
> > i am using the below codes, took from the bakery, straight
>
> > App::import('Xml');
>
> > // your XML
i am using the below codes, took from the bakery, straight
App::import('Xml');
// your XML file's location
$file = "my_xml_file.xml";
// now parse it
$parsed_xml =& new XML($file);
$parsed_xml = Set::reverse($parsed_xml); // this is what i call
magic
// see the returne
there is no error and session component is added
On Dec 23, 1:56 am, "Nicolás Andrade"
wrote:
> Have you included the Session component?
>
> Do you have any error message?
>
> On Mon, Dec 22, 2008 at 1:37 PM, robert123 wrote:
>
> > I am not su
I am not sure why this happens
i have a TransactionsController
for its action, i found that i cannot store anything in the session or
redirect to another action
but for other controller, i can do those thing, i am not sure why this
happen, will appreciate if anyone can let me know, thanks
--~--
hi, I am using cakephp rc3
I will lose my cakephp session whenever i swtich http to https: or
https to http
anyone knows how to solve this problem, reason being, the user was
adding to the shopping cart, but when the protocol changes from http
to https for checkout:, the shopping cart session is
yes, it was included, as mentioned it was working in testing server,
but not in production environment with the same code, i suspect
somehow the path to write the cache file to tmp/cache/views was not
set correctly, but i dont know where to find it in the cakephp source
code
On Nov 25, 5:54 pm, K
mp directories (web
> server needs write access)?
>
> On 25 Nov 2008, at 17:53, robert123 wrote:
>
>
>
> > hi
>
> > I have enabled caching, in my testing environment, the cache is
> > working well, and generate the views at tmp/cache/views
>
> > so i dep
hi
I have enabled caching, in my testing environment, the cache is
working well, and generate the views at tmp/cache/views
so i deploy the code in the production server, using the same code,
but this time no views are generated at tmp/cache/views
I am not sure the reason, anyone can tell me the
i found the problem, it seems that once i redirect to ssl and then
back to non-ssl, the session is lost
On Nov 24, 10:25 pm, robert123 <[EMAIL PROTECTED]> wrote:
> i discover, the session is lost once i did a redirect to ssl, but i do
> not know the reason why
>
> On Nov 24, 1
i discover, the session is lost once i did a redirect to ssl, but i do
not know the reason why
On Nov 24, 10:11 pm, robert123 <[EMAIL PROTECTED]> wrote:
> hi,
>
> I am not sure where is the bug, or the code that is the problem, so it
> is quite general
>
> anyone knows w
hi,
I am not sure where is the bug, or the code that is the problem, so it
is quite general
anyone knows why is that i keep losing the session, after I upgrade
from cakephp1.2 beta to cakephp1.2 rc3
thanks
--~--~-~--~~~---~--~~
You received this message because
than it's worth IMHO.
>
> Can you clarify a bit what you want to do and where you're stuck?
>
> On 5 Oct 2008, at 10:32, robert123 wrote:
>
>
>
> > hi
>
> > in my database there is a field
>
> > which is name_en_gb
>
> > in my model
&g
hi
in my database there is a field
which is name_en_gb
in my model
i wanted it to read the field, but display it as the field
name
can anyone let me know how to do it, thank you
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
i have parent model, it has two hasmany child model,
in the model class, I tried to model this relation by writing two time
in the parent model class
var $hasMany = array('Childclass1' =>
array('className' =>
'Childclass1');
var $hasMany = array('Childclas
wrote:
> On Sat, May 31, 2008 at 3:06 PM, robert123 <[EMAIL PROTECTED]> wrote:
>
> > anyone knows why cakephp session is gone when it is redirect from http
> > to https:
>
> This is not CakePHP specific - http <&g
anyone knows why cakephp session is gone when it is redirect from http
to https:
Thank you
www.generics.ws
www.genericsmed.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group,
I have the same problem and I did not manage to find many answer to
this question., it took me a while to solve the problem, to clarify,
I got it working by
$this->Email->filePaths = array('/home/username/');
$this->Email->attachments =array('article_button.png');
$this->Email->to
have to made the write functions for the session helper
work in the view. Thank you
www.generics.ws
www.genericsmed.com
On May 25, 9:20 pm, "Jonathan Snook" <[EMAIL PROTECTED]> wrote:
> On Sun, May 25, 2008 at 1:38 AM, robert123 <[EMAIL PROTECTED]> wrote:
> > C
I have a multi language website with caching
At the view there is some no cache tag to record which locale the
user is currently in and it has to be stored in the session.
So I need to store data into session at the view page,
Strangely this statement works
$session->read('Config.language');
hi,
I need to use the session component in the view, but the view is
cached, hence it will not go to the controller,
in the view there is nocache tag, in between the nocache tag, there is
some code where I need to store some data into the session, but I am
not sure how to call the session compon
Maybe there's a way to do what you want in the
> controller.
>
> Also, are you sure you want 'Config.language'? Unless you're setting
> the locale, you really should choose a different name, unless you're
> not using Cake's localisation classes.
>
I am trying to write some data into the session object at the view,
below is the statement, but it will not write into it session, anyone
can
help? Thanks
On May 25, 8:28 am, robert123 <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to write some data into the session obj
Hi,
I am trying to write some data into the session object at the view,
below is the statement, but it will write into it session, anyone can
help? Thanks
$session->write('Config.language', 'data');
www.generics.ws
www.genericsmed.com
--~--~-~--~~~---~--~~
You
Right now I have a shopping_cart_product model. it belows to product
model , below is the model code
I caching all product view page, but everytime someone add an product,
the ShoppingCartProduct, gets update and all my cached product view is
deleted, is there anyway I can stop the clearing of ca
hello,
I am not sure does this help, but I am able to get caching to work in
cakephp1.2 beta for my multilanguage site,
at the products_controller, there is a show action I put something
like this
var $cacheAction = array('en_gb/products/show/' => '72 hour',
'zh_tw
hi,
In the validation.php file in the libs folder,
the validation rule is
$cards = array('all' => array('amex' => '/^3[4|7]\\d{13}$/',
'bankcard' => '/^56(10\\d\\d|022[1-5])\\d{10}$/',
This seem like a very basic question, but I did not manage to find the
answer to this questions,
Anyone knows how to disable validation before saving it to the model.
I only manage to find notes on how to disable individual rules, but
not on the whole validation.
Thanks
www.generics.ws
www.gene
lash sends a different userAgent on
> certain browser - set Session.checkAgent = false to prevent this from
> screwing with your app.
>
> Cheers,
> Adam
>
> On May 9, 11:50 am, robert123 <[EMAIL PROTECTED]> wrote:
>
> > hi,
>
> > I am using Cake build (1.2.0
hi,
I am using Cake build (1.2.0.6311 beta), it does not occur very
frequently, but my session will just drop off with no apparent reason.
Sometime the session will last for a few hours, but sometime it only
last for a few minutes,
I am sorry the problem is so general, because I am not sure wher
Thank you,
I found the error, because I keep using __() function at the
$this->Session->setFlash($message, '');
that is
$this->Session->setFlash(__(some error message), '');
hence it always appear as the first message on the html.
www.generics.ws
www.genericsmed.com
On May 6, 2:34 am, Sli
hi,
I think I found the problem, it seem that
var $cacheAction = array('testmenu'=>'60'); is not working
when use the below format everyworks, thank you everyone for the help
var $cacheAction = "+1 hour";
www.generics.ws
www.genericsmed.com
On M
Thanks for replying, but I comment the
$this->cacheAction = true; in the testmenu method, the view stop
generating in the cache folder. Any Idea why is it so, thanks
www.generics.ws
On May 2, 9:23 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Fri, May 2, 2008
gt; wrote:
> paste the controller code to the bin, you're not writing to the db ?
>
>
>
> On Fri, May 2, 2008 at 1:22 PM, robert123 <[EMAIL PROTECTED]> wrote:
>
> > Yes it is 0, I am not debugging
>
> > www.generics.ws
>
> > On May 2, 6:54 pm, &quo
Yes it is 0, I am not debugging
www.generics.ws
On May 2, 6:54 pm, "Marcin Domanski" <[EMAIL PROTECTED]> wrote:
> is debug = 0 ?
>
>
>
> On Fri, May 2, 2008 at 2:17 AM, robert123 <[EMAIL PROTECTED]> wrote:
>
> > I am using the latest Cake build
I am using the latest Cake build (1.2.0.6311 beta)
I have enable caching on my system by the two statement in the core
file
Configure::write('Cache.disable', false);
Configure::write('Cache.check', true);
The first time I accessed the url, a cache view is generated in app
\tmp\cache\views.
Bu
Hi, I am using recent Cake build (1.2.0.6311 beta), I am also working
on a Multi-language site, same like you, I prefix the locale in front
the controller, like
en-gb/controller/action
rus/controller/action
and I enable the cache, cache view generate in app\tmp\cache\views
have the
file name l
am using the latest cakephp Beta: 1.2.0.6311 with i18n
For every page access I add the below statement at the beforeFilter
function in the app_controller to change the locale for the user
Configure::write('Config.language', "en-gb");
I also enable caching, and for every url, I will prefix the
hello,
I am implementing i18n, but dont seem to get answer to the above
question, so hope some one can help me
I set up two languages in my app: 'en-gb' and 'rus'.
In core.php I added:
define('DEFAULT_LANGUAGE', 'en-gb');
Configure::write('Config.language', 'en-gb');
In my app_controller befor
In the cakephp 1.2 cookbook
http://book.cakephp.org/view/161/localization-internationalizat
There is a section
$this->L10n = new L10n();
$this->L10n->get("en");
Configure::write('Config.language', "en");
I read that configure will change the whole application settings. Is
this correct way to
guage')
www.genericsmed.com
On Apr 22, 10:16 pm, robert123 <[EMAIL PROTECTED]> wrote:
> Hi, I am trying to implementi18nincakephpfordatabasemodelling
>
> There is a good solutions at
>
> http://www.palivoda.eu/2008/04/i18n-in-cakephp-12-database-content-tr...
>
> but I have tried
Hi, I am trying to implement i18n in cakephp for database modelling
There is a good solutions at
http://www.palivoda.eu/2008/04/i18n-in-cakephp-12-database-content-translation-part-2/
but I have tried to use it without any success, anyone can give an
example of how to implement it.
Thank you
Hi, I want to develop website using cakephp in Chinese and English
using utf8 encoding I am trying to use cakephp 1.2 version, I have
been searching around the web on the docs on i18n, but it is rather
scatter, below are a few problems where I have difficulties, hopefully
anyone can help me, than
45 matches
Mail list logo