Hello friends, i am new in this list and i have a problem with my cakephp3
configuration.
I installed a server with apache2, php5, mysql, (php5-intl), etc..
I downloaded the cake from the site, and unzip in my server.
When i try to open the page i have an error (Fatal Error) like this
Error:
=92) state=1 in
/mypath/webfiles/bin/cake.php on line 33
Parse error: syntax error, unexpected T_STRING in
/mypath/webfiles/bin/cake.php on line 33
(13:38:29) [webfiles]
Is there any way to call bake with another PHP version?
Thanks!!
Sebastian
--
Like Us on FaceBook https
Hello Friends
I have a problem I do not understand how to solve, need to
capture the error code ($ error- getCode ()) and put on an equal setFlash
website that I use to set whether a save operation was deleted or modified
successfully or not.
The issue is that when there is an exception for an
Hi! I’m having some problems with my tests. I can’t seem to mock the auth
component in a controller test using the testAction method… Here are the
part of the test that causes the problem:
https://gist.github.com/beez/6f9ee89538d1a6be6dfb Any help or pointers on
how to solve this is greatly
Sebastian
--
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 stop receiving emails from it, send an email
to cake-php
It is very simple
Step: 1
In edit.ctp add the password input field as like given below:
echo $this-Form-input('password',array('value' =
'','autocomplete'='off'));
Step 2:
In model User.php set the validation for password as like given below:
'password' = array(
'notempty' = array(
'rule' =
I'd like to make an application in CakePHP which manages exercises and
users results. Users and results are not important in this question.
I want to have a possibility to add an exercise with adding only a specific
table and line to .ini config file. Application should route to a
I always would be very happy about an update of the cheat sheet! :)
--
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 post to this group, send
Use http://www.johnboy.com/php-upload-progress-bar/
--
Sebastian Maydana
Interac*team*
El 16 de abril de 2012 11:18, bs28723
bill.sto...@boosterwebsolutions.comescribió:
Anyone know of a good progress bar for file uploads?
Don't need anything fancy, just something that gives users visual
Hello everybody!!
I have problem with moneybookers payment gateway, i need your help. My
problem is no received post data in the status_url.
If anyone has any idea and can help me with my problem, of course
thank you very much.
Sebastian
--
Our newest site for the community: CakePHP Video
hey Jon..
Am Saturday, den 03.09.2011, 20:38 -0700 schrieb Jon F:
I am using cake 2.0 alpha.
i suggest you upgrade to the current version 2.0rc1:
http://bakery.cakephp.org/articles/markstory/2011/09/04/cakephp_2_0_0-rc1_hot_and_fresh
your problem could be fixed by that.
bye,
Sebastian
your db schema if necessary)?
does it have auto-increment set?
cheers,
Sebastian
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions
statement doesn't seem to use a field named 'deal_id'.
bye,
Sebastian
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from
hi!
Am Sonntag, den 21.08.2011, 15:14 -0700 schrieb Seth Barrett:
When I add that I get error 500 page.
what is logged in the webserver's error log?
bye,
Sebastian
Am Freitag, den 19.08.2011, 05:26 -0700 schrieb Seth Barrett:
[...]
Root .htaccess -
AddType x-mapp-php5 .php
IfModule
you are missing a
RewriteEngine on
in that section. i get 404s when it's not there.
i don't have any RewriteBase directives anywhere in my .htaccess files,
but that might be necessary for the 1and1 setup.
hth,
Sebastian
[...]
--
Our newest site for the community: CakePHP Video Tutorials
will be executed
every hour. if you need more info about how to control execution times:
$ man 5 crontab
hth,
Sebastian
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
the server to
find your webroot.
hope this helps,
Sebastian
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from
Hi all,
I just started using Cake and really like it. Unfortunately I have an
issue I couldn't solve with Google co.:
In my model controller there is an action admin_add which basically
redirects the user to an edit view or saves the added page and
redirects to an overview. It looks like this:
installations.
Any help would be appreciated.
- Sebastian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send
the performance and speed is?
- Sebastian
On Aug 27, 9:46 pm, Martin Westin martin.westin...@gmail.com wrote:
I detailed how I do it in an article in the
Bakery:http://bakery.cakephp.org/articles/view/one-core-one-app-multiple-dom...
It works on one Cake core, one app, one apache (or nginx) vhost
fine for the first event. However, for the second event in
the list, the genres are printed twice (e.g. Rock - Rock), in the
third event they are ouput 3 times (Rock - Rock - Rock), and so
on
What am I missing here?
Regards,
Sebastian
--~--~-~--~~~---~--~~
You
['Employee']['birthday'] = null;
This works fine, but I'm not sure if this is the proper way to do it?
Regards,
Sebastian
On 16 Dez., 15:13, Alexandru Ciobanu ics.cake...@gmail.com wrote:
Sebastian Göttschkes wrote:
Hi,
i got the following problem using cakePHP 1.2 RC3:
My Model 'Employee' has
. How can I tell cake to view the birthday like this?
I hope you guys can help me.
Thanks in advance,
Regards,
Sebastian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email
to add new errors.
Is there an easy way to do this or do I have to make ugly code?
Thanks in advance,
Sebastian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake
Hi Deepesh,
thanks for your reply.
Sure, I could make a custom validation rule, but as it is written in
the doc, there is a way to use different time formats with the date
validation. Why dublicate it? The only thing I need is the key I have
to use in the array.
Regards,
Sebastian
On 2 Dez
Hi Guenther,
this works quiet well, thank you. I'll add this to the docs with an
example to provide an answer to anyone who is facing the same issue.
Regards,
Sebastian
On 2 Dez., 15:17, Günther Theilen [EMAIL PROTECTED] wrote:
Hi Sebastian,
I'm not 100% sure but this should work:
'date
' = 'Das Datum muss in der Form
TT.MM. angegeben
sein',
'required' = true
)
)
Thanks in advance.
Regards,
Sebastian
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Hi,
I now found a article in the bakery explaining what to do to save 2
models.
For anyone facing the same problem, here you go:
http://book.cakephp.org/view/75/Saving-Your-Data
Sebastian
On 28 Nov., 22:16, Sebastian Göttschkes
[EMAIL PROTECTED] wrote:
Thank you for your reply.
I can't get
Thank you for your reply.
I can't get it working. Neither the validation nor the adding of a
dataset is working.
On 26 Nov., 23:35, thatsgreat2345 [EMAIL PROTECTED] wrote:
instead of company do Company.name or whatever field you have called
to save the name.
On Nov 26, 2:18 pm, Sebastian
when I want to
use the validation.
I'm not sure if I have to create a new company-object and validate
everything myself or if I can use some build-in functionallity.
Thanks in advance.
Regards,
Sebastian
--~--~-~--~~~---~--~~
You received this message because you
May be he's using an older version of 1.2. ¿or not?
On Nov 24, 9:31 am, Mariano Iglesias [EMAIL PROTECTED]
wrote:
[2] What do you mean you had the file in the wrong place? Containable is
part of the core.
Liebermann, Anja Carolin wrote:
[2] I have contaninable for all my models But I
May be he's using an older version of 1.2. ¿or not?
On Nov 24, 9:31 am, Mariano Iglesias [EMAIL PROTECTED]
wrote:
[2] What do you mean you had the file in the wrong place? Containable is
part of the core.
Liebermann, Anja Carolin wrote:
[2] I have contaninable for all my models But I
May be he's using an older version of 1.2. ¿or not?
On Nov 24, 9:31 am, Mariano Iglesias [EMAIL PROTECTED]
wrote:
[2] What do you mean you had the file in the wrong place? Containable is
part of the core.
Liebermann, Anja Carolin wrote:
[2] I have contaninable for all my models But I
Anja, I'm sorry for the mistake.
I remember that in first 1.2 versions Containable was a behaviour you
had to include manually.
Greetings
PS: sorry for my poor english :)
On Nov 25, 9:23 am, Sebastian Veggiani [EMAIL PROTECTED] wrote:
May be he's using an older version of 1.2
and do all my
authentication there. I've had good luck with it so far, but it's not
'cakey', so it might not be what you are looking for.
I hope that helps.
hydra12
On Nov 4, 4:11 am, Sebastian Göttschkes [EMAIL PROTECTED]
e.de wrote:
Hi,
I started using cakePHP not long ago and it's
read something about
models representing LDAP entries, but didn't found any information on
that.
I hope you guys can help me!
Regards,
Sebastian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post
/webroot/forum/register.php
How can I get rid of the webroot part in the url?
Regards,
Sebastian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php
{
}
?
?
Cheers,
Adam
---
If this has helped you, then please consider donating some money to a
good cause.
I only need a few hundred more $$ and I will have reached my target!
http://www.everydayhero.com.au/Adam_Royle
On Sep 5, 10:59 am, sebastian [EMAIL PROTECTED] wrote:
Hi, I'm
Hi, I'm having this very wierd problem, the characters ? appear at
the begining of all my views for a certain controller and I don't know
whats puting them there. I know its not the layout because I use the
same layout for all my views and I have also used the ajax layout but
they still appear. I
Added phTagr - an open source multi user image gallery written in
CakePHP. On the one hand, this gallery focuses on enriching meta data
to images/video using EXIF and IPTC standard. On the other hand this
gallery provides great functionalities for sharing the content among
the users which can be
Hi,
somebody could clarify what is the level of support of Cake 1.2 for
woriking with MySQL Views?
For example, I've a chain o associations of three or more levels.
If I want to filter the results by a field in the 3rd level or beyond
there is no easy way to do it, unless I use a Custom SQL
The methodology to work with sessions is:
// for reading
$myVar = $this-Session-read('varName');
// for writing
$this-Session-write('varName', $varValue)
// for debugging the session array
$mySessionVars = $this-Session-read();
debug( $mySessionVars );
I hope this helps.
On 22 abr, 14:15, b
Johnson,
If you look here:
http://api.cakephp.org/1.2/l10n_8php-source.html#l00180
You'll find that the code you are trying to use is set with -
instead of _.
I think the codes must be used as defined in this array.
Here you have some additional info:
Someone has been able to configure Poedit to work with the __d(
function?
When Poedit search for entries to translate it returns the first
parameter which is the 'domain' or name of the .po file.
I've tried many ways of configure de gettext parameters without any
luck.
Thanks,
On 3 abr,
Does anyone have any idea?
On 7 abr, 20:25, elHobbit [EMAIL PROTECTED] wrote:
Thanks b logica.
But, I really need to use the validation rules in the User model.
I'll try to overwrite the validation rules for the fields I'm not
using in this view.
Anyway, I think the problem isn't that,
anyone???
On Mar 5, 9:53 pm, Sebastian [EMAIL PROTECTED] wrote:
Hi y'all,
I just deployed a cakePHP application to a client's fatcow webspace.
However, now the admin route's http authentication stopped working. In
the beforeFilter of the AppController I have:
if (isset($this-params['admin
Hi y'all,
I just deployed a cakePHP application to a client's fatcow webspace.
However, now the admin route's http authentication stopped working. In
the beforeFilter of the AppController I have:
if (isset($this-params['admin'])) {
$this-Security-requireLogin(
'*',
submit a form and pass a redirect-
variable to the controller's edit-function so that I can redirect
individually?
Regards,
Sebastian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post
property and sends the innerText instead. Typical.
Hope this helps
On Feb 15, 11:27 am, Sebastian [EMAIL PROTECTED] wrote:
Hi y'all,
I got a problem. I have a form that contains all kinds of data for a
Model Event. That Event has multiple HABTM relationships with models
like Promoters
) {
echo option value='{$ticket}' name='data[Ticket][Ticket][]' .
$title . /option;
}
echo '/select/div';
}
everything works fine. So I guess it's some bug in the FormHelper???
Does anybody know how to resolve this??
Regards,
Sebastian
--~--~-~--~~~---~--~~
You
background, same font color), which makes it hard
to differentiate between an information and an error flash message.
Is there any way to bring back the traditional way to output error
messages? If not, is there a way to define css classes for a flash
message?
Regards,
Sebastian
with a
different css class than simple information flashes.
So is there any way to bring the old errorMessages back (the css class
is still in the default cakePHP css file)? Or is there a way to define
a css class for a flash message?
Regards,
Sebastian
,
Sebastian Macias
CTO
Positive Digital Solutions
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send
Hi. I've got 2 models, n-m, and i'm trying to asociate them with HABTM, so
i wrote this code:
?php
class Media extends AppModel {
var $name = 'Media';
var $belongsTo = array('MediaCategory' = array(
'foreignKey' = 'category_id'
)
I use Aptana's HTML editor. I'm pretty happy with it so far :)
Sebastian Macias
Senior Web Software Engineer
digital-telepathy inc
http://www.dtelepathy.com
On Jun 20, 6:21 pm, wralph [EMAIL PROTECTED] wrote:
notepad++
Winston
--~--~-~--~~~---~--~~
You
Guys lets not let this thread die unsolved! Has anyone been able to
install the bakery and get it working properly?
Sebastian Macias
Senior Web Software Engineer
digital-telepathy inc
http://www.dtelepathy.com
On Jun 18, 7:02 pm, Sebastian Macias [EMAIL PROTECTED]
wrote:
Sorry for posting
.
Thanks,
Sebastian Macias
On Jun 17, 5:58 pm, Larry E. Masters aka PhpNut [EMAIL PROTECTED]
wrote:
The bakery uses the 1.2 branch of the code.
All of out sites are running on the latest svn co of the 1.2 branch. Do not
confuse it with the trunk code, which is merged after the branches have been
can know what when was the last time the bakery
cake folder was updated so we can try to download a revision that
matches that date?
Thanks,
Sebastian Macias
-- Forwarded message --
From: Jonathan Langevin [EMAIL PROTECTED]
Date: Jun 17, 7:15 pm
Subject: Is the bakery source code
Sorry for posting the same message twice.. it was google groups
caching fault :)
On Jun 18, 7:01 pm, Sebastian Macias [EMAIL PROTECTED]
wrote:
I just tried it out with the latest 1.2.x nightly build and got the
same errors; then I tried it with an old 1.2x copy I had and this time
I got less
the code in the repository is outdated.
Is there anyway any of the persons involved in the development of the
bakery can take a look at it?
I think the bakery is an excellent application that has the potential
to help many people learn best cakephp/ mvc practices.
Thanks,
Sebastian Macias
does anyone know what version of cakephp is the bakery's production
server using?
are there any differences in the code of the live bakery compared with
the source in SVN?
Thanks,
Sebastian Macias
On Jun 17, 2:32 pm, Mech7 [EMAIL PROTECTED] wrote:
I don't know but there seems to be quite
Hello,
I just wanted to let the guys in charge know that the registration for
the bakery has been broken for at least 2 months. Every time I try to
register I get a blank page after I submit the form.
Thanks,
Sebastian
--~--~-~--~~~---~--~~
You received
go back to my previous version of
cake, everything works just fine.
Thanks,
Sebastian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
.
Thanks,
Sebastian Macias
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Cake PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED
Thanks for the FLV tips Patrick :-)
On Jan 5, 10:50 pm, Patrick Sullivan [EMAIL PROTECTED] wrote:
Dallas.
On 1/5/07, Tijs Teulings [EMAIL PROTECTED] wrote:
p.s. which datacenter did you pick? The site is very responsive from
europe...
Tijs
Hey congratulations!
Is there anyway you could share with the community how you handled the
FLV trans codding?
Thanks,
Seb
On Jan 3, 12:32 am, expatrick [EMAIL PROTECTED] wrote:
http://lov.liis online - thanks very much to the cake development team
and everyone in #cakephp for your help.
documentation so far. Have anyone have experimented with this
package? Would you mind posting some sample usage code here?
Thanks,
Sebastian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post
Thanks for the excellent comments Troy and AD7six. I think I was
actually
trying to be too politically correct and I didn't want to use others
models inside my controllers so I was using requestAction to get data
from other models but also to avoid having duplicated views as AD7six
mentioned;
from different models, controllers
without having to use requestAction?
Thanks a lot in advance,
Sebastian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php
I also need to be able to call other controller methods such as
save($data) without the requestAction abuse performance inconveniences.
I read the article at:
http://www.thinkingphp.org/2006/06/24/welcome-to-the-dark-side-of-plugins-in-cakephp/
I think that is kind of a good approach but not
for requestAction alternatives an will post my
results as I find anything.
Thanks,
Sebastian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php
issue find this line in
webroot/index.php:
if (function_exists('ini_set')) {
and replace it with:
if (false function_exists('ini_set')) {
Thanks worked out perfectly for me.
Thanks,
Sebastian
Matt Puchlerz wrote:
Judging by the path, I'm thinking you might
bakers tell
me to do in order to solve the problem. PHP Safe Mode is turned off.
Thanks,
Sebastian Macias
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php
'bootstrap.php', etc without having to read the
file from the root?
Thanks,
Sebastian
MJ Ray wrote:
Sebastian Macias [EMAIL PROTECTED] wrote:
Warning: main() [function.main]: open_basedir restriction in effect.
File(/cake/bootstrap.php) is not within the allowed path(s):
For whatever reason
in advance,
Sebastian
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.11.53.63 with SMTP id b63mr94138cwa;
Sat, 20 May 2006 19:42:01 -0700 (PDT)
X-Google-Token: LIENAgwAAADU0_1pxKaUeisCrJJSjjk1
Received: from 69.232.72.50 by g10g2000cwb.googlegroups.com with HTTP;
Sun, 21 May 2006
Now, I'm always redirected to the login page, I try to log in using
admin/123456 and nothing happens, It seems like I'm not being
authenticated.
I was wondering if anybody could thing of anything that I'm doing
wrong.
Thanks,
Sebastian
76 matches
Mail list logo