Eventually i changed it to a varbinary(65000) column and it started to
work. In Cakephp 2 it worked with a varchar column. now it needs to be
binary in 3 and have enough space.
On Wednesday, March 16, 2016 at 10:19:38 AM UTC+1, heavyKevy wrote:
>
> I hate to state the obvious, but did you verify
n sus aciertos?, si yo aprendo de mis errores
> constantemente...
>
>
> 2016-03-15 13:46 GMT-05:00 Willem :
>> saving to the database cuts off the encrypted data. varchar(255) and text
>> fields both have this issue..
>> is this a bug in CakePHP
>> --
>> Sign u
*saving to the database cuts off the encrypted data. varchar(255) and text
fields both have this issue.. *
*is this a bug in CakePHP*
--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
We will soon be closing this Google Group. But don't worry, we have something
be
When I try as follows, the value gets stored encryted, but I cannot read it
as the getDecryptedUsername function returns false at the decrypt line:
protected function _setUsername($username)
{
$key = 'wt1U5MACWJFTXGenFoZoiLwQGrLgdbHA';
if(strlen($username) > 0)
{
$username = Security::encrypt
I am trying to save a string value in the database. this value needs to be
encrypted. I tried to create a _set and _get function to encrypt/decrypt
this.
here is the code:
protected function _setUsername($username)
{
$key = 'wt1U5MACWJFTXGenFoZoiLwQGrLgdbHA';
if(strlen($username) > 0)
{
$u
So what was the problem?
> Op 14 mrt. 2016 om 12:43 heeft Clement Crownrise
> het volgende geschreven:
>
> Thanks All, the error has been fixed.
>
>
>
>> On Saturday, March 12, 2016 at 10:30:25 AM UTC+1, Clement Crownrise wrote:
>> Hello, I am doing the blog tutorial in cakephp 3, but I got
Yes. That should solve it.
- willem
> Op 13 mrt. 2016 om 08:42 heeft heavyKevy het
> volgende geschreven:
>
> You also need to make sure that you add the following line near the top of
> the file after the namespace with the other use statements:
>
> use Cake\Event\Eve
Just as it says. You need to have the same method signature as the one you are
overriding. Thus:
public function beforeFilter(Event $event)
{
return null;
}
you forgot the parameter.
Willem
> On 12 Mar 2016, at 10:30, Clement Crownrise
> wrote:
>
> Hello, I am do
, 2016 at 4:50:52 PM UTC+1, Willem wrote:
>
>
> how would one create a CakePHP3 app and what database tabels would i need
> to create an app that uses inheritance.
>
> for example fictional setup:
>
> [Person] <--- [Customer]
> [Person]<--- [Manager]
>
>
how would one create a CakePHP3 app and what database tabels would i need
to create an app that uses inheritance.
for example fictional setup:
[Person] <--- [Customer]
[Person]<--- [Manager]
All Persons have "name". Customer has "order_amount". Manager has
"sales_total".
Person has a method
How can we catch an invalid email exception? Cake throws and
invalidargumentexception.
Invalid email: "bassdsd.cs#adcdc.com"InvalidArgumentException
This does not work, the catch is not reached:
$toEmailAddress = "bassdsd.cs#adcdc.com";
$email = new Email('default');
try
{
$email->t
Using the query builder to insert multiple rows of data the timestamp
fields are not automatically updated, is this correct?
so i changed my code a little to add the fields myself. Not sure if this is
the best way or am i missing something
$oQuery = $this->query();
>
> if (($handle = fopen($t
Why not just install wordpress as a cms for a simple website?
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and
I like the fact that with PHPStorm you have zero-config debugging. That is.
install wamp, install Phpstorm, set xdebug config option in php.ini, start
debugging.Piece of cake :-)
On Wed, Jun 24, 2015 at 5:52 AM, Reuben wrote:
> For a long time, I used Eclipse with PDT, and associated .ctp files
Phpstorm is awesome
> Op 11 jun. 2015 om 11:45 heeft Pamela Whittaker
> het volgende geschreven:
>
> What do you suggest as an editor for CakePHP please? I use Dreamweaver cs6
> for PHP but that doesn't open .ctp files. Thanks
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> F
When uploading a file bigger then the post_max_size setting in php.ini the
$_FILES global will be empty. CakePHP does not give an error and saves the
rest of the data (as the $this->data still has data for the rest of the
model)
How can i catch this in CakePHP?
--
Like Us on FaceBook https:
>
> On Monday, 13 April 2015 11:17:13 UTC+3, Willem wrote:
>>
>> I have a model "Attachment" which Belongs to another model (hasMany
>> Attachment).
>>
>> In model Attachment I put a validator (from the Cake helpbook) to check
>> against filet
gt; you have points to a field named "submittedFile" :)
> Which is the correct one?
> Enjoy, John
>
> On Monday, 13 April 2015 11:17:13 UTC+3, Willem wrote:
>>
>> I have a model "Attachment" which Belongs to another model (hasMany
>> Attachment).
I have a model "Attachment" which Belongs to another model (hasMany
Attachment).
In model Attachment I put a validator (from the Cake helpbook) to check
against filetypes. After saveAssociated i would expect an error if uploaded
a .txt file, but the model is save successfully?
*Add.ctp*
for
Still haven't figured this out. Is this at all possible with CakePHP? I
can't imagine it would not be possible.
thanks
On Thursday, December 19, 2013 5:16:50 PM UTC+1, Willem wrote:
>
> Hi,
>
> Goal: I have a button on a page. When user clicks it should generate a X
Hi,
Goal: I have a button on a page. When user clicks it should generate a XML
file and make it download (instead of opening in browser window).
Cake version: 1.3
So I create a HTML link like this:
link( __('Generate XML file', true),
> array('action'=>'generateXMLFile','ext'=>'xml'),
> array
Hi everyone,
I'm just getting started using cakePHP by going through the IBM
tutorials, and I have a problem which I don't understand, and I also
haven't found a solution on the web.
I'm trying to set up an RSS feed using the RSS helper and the
RequestHandler component. Everything works exactly a
22 matches
Mail list logo