Re: app attempting to insert records rather than update

2009-06-19 Thread Mauricio Morales

What get you printed out doing a print_r($data) just before the: if
($this->Merit->save($this->data)) {return true;}  ?

What if you save the ID manually into $this->data ?

$this->data['Application']['id'] = yourIDFromYourSession();
--~--~-~--~~~---~--~~
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 email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Question about building a forum

2009-04-20 Thread Mauricio Morales

Sure you can,

If you want to do that you need to read all the params (func_get_args)
and make your custom logic.

I took this code from the bakery in order to do this example. Hope
this helps:

function display() {
  if (!func_num_args()) {
$this->redirect('/');
  }

  $path=func_get_args();

  if (!count($path)) {
$this->redirect('/');
  }

  $count  =count($path);
  $page   =null;
  $subpage=null;
  $title  =null;

  if (!empty($path[0])) {
$page = $path[0];
  }

  if (!empty($path[1])) {
$subpage = $path[1];
  }

  if (!empty($path[$count - 1])) {
$title = ucfirst($path[$count - 1]);
  }

  $this->set('page', $page);
  $this->set('subpage', $subpage);
  $this->set('title', $title);
  $this->render(join('/', $path));
 }


On Apr 19, 8:56 am, Kyle Decot  wrote:
> I want to build a forum for my website but I have a question about the
> URL structure. I want it to be something like:
>
> example.com/forum/top-category/sub-category-1/sub-category-2/..
> (etc).../thread-name/
>
> How would I do this in the routes file? Any thoughts?
--~--~-~--~~~---~--~~
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 email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: strange 404

2009-03-26 Thread Mauricio Morales


> ok, disabling the security component it works!

Good news!  =)
--~--~-~--~~~---~--~~
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 email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: strange 404

2009-03-25 Thread Mauricio Morales

This problem is really strange.

Try putting this at the top:
$this->autoRender = false;

I've had problems like this but in my case were by inexistent view
calls.

Are you using the last stable version ?

Have you got access to the HTTP Access Log ?

Try debugging with die('something').



On Mar 25, 10:15 am, fain182  wrote:
> i don't think it's a problem of security, when i don't have the
> permission usually my app display the login..
>
> > As I can see you are using views from a different directory.  This
> > might be the problem.
>
> > Please put this line at the end of the controller method:
> > $this->render('edit', 'default', '/materiali/edit');
>
> if you read my controller code, there is a
>
> $this->render('edit', 'default', '/materiali/edit');
>
> otherwise i make a
>
> $this->flash(__('Salvataggio avvenuto.', true), array('action'=>'index'));
>
> it seems to me all right..
>
> > I think that CakePHP is trying to render a view that doesn't exist.
> > Tell us if it works for you.
>
> usually cakephp tells me when i try to use a view that doesn't
> exists... i think that the problem is another..
>
> thank you
--~--~-~--~~~---~--~~
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 email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: strange 404

2009-03-25 Thread Mauricio Morales

As I can see you are using views from a different directory.  This
might be the problem.

Please put this line at the end of the controller method:
$this->render('edit', 'default', '/materiali/edit');

I think that CakePHP is trying to render a view that doesn't exist.
Tell us if it works for you.

On Mar 24, 9:11 pm, fain182  wrote:
> > OK, but what does the rendered HTML of the form opening tag look like?
>
> here is the html
>
>  action="/dianadobreva/anfore/edit/31">
> 
>          
>            value="3e38ac778dfdf47870d2a9c78afea0ad58a3280f" id="Token1602016440"
> />
>  
--~--~-~--~~~---~--~~
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 email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Paginator links in 1.2.2

2009-03-24 Thread Mauricio Morales

That´s great.

Thanks!

On Mar 23, 3:29 pm, Martin Westin  wrote:
> I created a ticket yesterday and jperras fixed the problem already (!)
>
> If you have a problem with this in version 8120 you can sync to the
> 1.2 branch or get the latest paginator any way you 
> prefer:https://trac.cakephp.org/changeset/8125
>
> /Martin
>
> On Mar 23, 10:41 am, Mauricio Morales  wrote:
>
> > Hey,
>
> > I haven't tested it yet.  But you can see here the last changes in
> > Paginator Helper:
>
> >https://trac.cakephp.org/changeset?new=branches%2F1.2.x.x%2Fcake%2Fli...
>
> >https://trac.cakephp.org/log/branches/1.2.x.x/cake/libs/view/helpers/...
>
> > On Mar 22, 5:22 pm, brian  wrote:
>
> > > I haven't yet looked into this myself but Gwoo mentioned a security
> > > fix for Paginator (Helper or Component, I don't remember) so this may
> > > be related.
>
> > > 2009/3/22 Martin Westin :
>
> > > > I suspect this was not intended since 1.2 is stable and should only
> > > > "fix bugs" and not change API requirements.
>
> > > > Looks like the changes to the methods sort() and sortkey() in
> > > > PaginatorHelper caused the change in behaviour.
>
> > > > $this->sortKey($options['model']) will always return a value like
> > > > Modename.fieldname and thus never match a field specified as simply
> > > > fieldname.
>
> > > > /Martin
>
> > > > On Mar 22, 2:15 pm, Sergei  wrote:
> > > >> Ok thanks, will try this.
>
> > > >> On 22 мар, 20:32, Martin Westin  wrote:
>
> > > >> > Looks like a new "requirement" has crept into the core.
>
> > > >> > This will give me the results you mention:
> > > >> > $paginator->sort('label, 'field');
>
> > > >> > While this works as expected:
> > > >> > $paginator->sort('label, 'Model.field');
>
> > > >> > /Martin
>
> > > >> > On Mar 22, 11:09 am, Sergei  wrote:
>
> > > >> > > I think paginator links have bug in 1.2.2:
>
> > > >> > > When initial sort order is :desc, and then you sort it by :asc, 
> > > >> > > links
> > > >> > > don't change back to :desc. It' always :asc.
>
> > > >> > > Anyone noticed this?
--~--~-~--~~~---~--~~
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 email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Paginator links in 1.2.2

2009-03-23 Thread Mauricio Morales

Hey,

I haven't tested it yet.  But you can see here the last changes in
Paginator Helper:

https://trac.cakephp.org/changeset?new=branches%2F1.2.x.x%2Fcake%2Flibs%2Fview%2Fhelpers%2Fpaginator.php%408092&old=branches%2F1.2.x.x%2Fcake%2Flibs%2Fview%2Fhelpers%2Fpaginator.php%407847

https://trac.cakephp.org/log/branches/1.2.x.x/cake/libs/view/helpers/paginator.php?rev=8093

On Mar 22, 5:22 pm, brian  wrote:
> I haven't yet looked into this myself but Gwoo mentioned a security
> fix for Paginator (Helper or Component, I don't remember) so this may
> be related.
>
> 2009/3/22 Martin Westin :
>
>
>
> > I suspect this was not intended since 1.2 is stable and should only
> > "fix bugs" and not change API requirements.
>
> > Looks like the changes to the methods sort() and sortkey() in
> > PaginatorHelper caused the change in behaviour.
>
> > $this->sortKey($options['model']) will always return a value like
> > Modename.fieldname and thus never match a field specified as simply
> > fieldname.
>
> > /Martin
>
> > On Mar 22, 2:15 pm, Sergei  wrote:
> >> Ok thanks, will try this.
>
> >> On 22 мар, 20:32, Martin Westin  wrote:
>
> >> > Looks like a new "requirement" has crept into the core.
>
> >> > This will give me the results you mention:
> >> > $paginator->sort('label, 'field');
>
> >> > While this works as expected:
> >> > $paginator->sort('label, 'Model.field');
>
> >> > /Martin
>
> >> > On Mar 22, 11:09 am, Sergei  wrote:
>
> >> > > I think paginator links have bug in 1.2.2:
>
> >> > > When initial sort order is :desc, and then you sort it by :asc, links
> >> > > don't change back to :desc. It' always :asc.
>
> >> > > Anyone noticed this?
--~--~-~--~~~---~--~~
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 email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: when I have set the Configure::write('debug', 0), how can I let a new model can be use.

2009-03-10 Thread Mauricio Morales

You can manually delete the tmp/cache/models/* data.

Are you sure that your table was created with the same DB user that
Cake's App uses?... It could be a permission problem.

On Mar 9, 4:36 pm, Rimoe  wrote:
> Thank you for your answer,
> so I have use the (Cache::clear()) in my controller,
> but it has no anything has happened.
> where should i invoke the Cache::clear()?
> do you know,
> then, i have set the Turn on  of (Configure::write('Cache.disable', true);)
> but now I can't turn off it, if I do it, my site will not run.
>
> what should I do,  can you tell me more detail?
>
> thank you very much.
>
> sincerely
>
> rimoe
>
> 2009/3/9 Dardo Sordi Bogado 
>
>
>
> > > I have set (Configure::write('debug', 0)) in my core.php,
> > > now I  added a table,
> > > but the cake can't find the model, and can't use the new model,
> > > In the situation, what should I do?
>
> > clear the cache!
>
> > > and I want to use the information of debug,
> > > but I don't want to let it show in page, only show in a file,
> > > what can I do.
>
> > You can create a custom datasource extending the one you are using but
> > loggin the sql queries instead of dumping them at the end of page. Ex:
> >http://bin.cakephp.org/view/503102878
>
> > HTH,
> > - Dardo Sordi.
--~--~-~--~~~---~--~~
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 email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: plz help! May i use varchar as primary key

2009-03-09 Thread Mauricio Morales

I've used the field "id" with varchar type as PrimaryKey.

I only specified the ID as notEmpty in the $validate array.
Model::getLastInsertID() will not work but as you know that the ID is
varchar type you will be careful in your app. logic.

Try it, an let us know if you have problems.  And obviously, is better
if you use instead a sequence as ID .

On Mar 9, 3:34 am, brian  wrote:
> On Sun, Mar 8, 2009 at 10:02 PM, Son Dat Giang  wrote:
>
> > Suppose that the primary key of your table is "somekey" in varchar type. And
> > your model is SomeModel
> > In the define of SomeModel (somemodel.php), use the code:
> > $primaryKey = 'somekey';
> > In your add action, if you primary key's value is unique and randomized, use
> > this:
> > if($this->data)
> > {
>
> > $this->data['SomeModel'][$this->SomeModel->primaryKey] = 'your key value';
>
> > }
> > Else, if the value of primary key is submit from you form. You dont need to
> > do any thing.
>
> I've just been going through the source and I'm pretty sure that this
> wouldn't work. For starters, setting the PK in $data would mean not
> getting the 'created' field automatically  filled. I guess that could
> be done manually, as well.
>
> But, there would be problems with lastInsertId. With the MySQLi
> driver, for instance, this uses LAST_INSERT_ID() which is reliant upon
> an auto_increment field. Unless I've read this incorrectly, it looks
> like the PK must be auto_increment/serial. It looks like the only
> possible change from the convention is setting an alternative name
> with $primaryKey, not in the type of column.
--~--~-~--~~~---~--~~
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 email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Tree misbehaviour

2009-03-01 Thread Mauricio Morales

Damn,

It was a 8 OSI-Layer error.  :=)   .   There is no errors.

On Feb 28, 10:54 pm, Mauricio Morales  wrote:
> Hi folks,
>
> I've got the same problem.. It's really strange because all of my code
> was working in the last Beta version.
>
> This is my DB table:
>
> CREATE TABLE intracategories (
>     id SERIAL PRIMARY KEY,
>     parent_id INT,
>     lft INT,
>     rght INT,
>     name VARCHAR(255),
>     tags VARCHAR(255),
>     ispublic SMALLINT,
>     description TEXT,
>     slug VARCHAR(255),
>     deleted INT DEFAULT 0,
>     deleted_date TIMESTAMP,
>     created TIMESTAMP,
>     modified TIMESTAMP,
>     cretedby INT,
>     modifiedby INT
> );
>
> And this is my model:
> class Intracategory extends AppModel {
>
>         var $name   = 'Intracategory';
>         var $actsAs = array('Tree');
>
> }
>
> When I try to save categories with a parent it fails (it sends to me
> to the form again), but if I save categories without parent always
> works.  There is no SQL errors when I use debug on 2.
>
> :S
>
> Somebody else with this problem in 1.2.1.8004 ?
>
> On Feb 25, 3:42 pm, Jon Bennett  wrote:
>
> > Hi Mark,
>
> > >  Can anybody see anything wrong with the file or class names below?
>
> > They look ok to me, just checking, you are using the Tree behaviour
> > aren't you? You've got:
>
> > var $actsAs = array('Tree'); in your model?
>
> > j
>
> > --
>
> > jon bennett
> > w:http://www.jben.net/
> > iChat (AIM): jbendotnet Skype: jon-bennett
--~--~-~--~~~---~--~~
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 email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: What do you develop in (ide, text editor, etc.)?

2009-02-28 Thread Mauricio Morales

I just downloaded Netbeans for PHP 6.5 and it's great.  I've been
using Eclipse for a long but I think you can enjoy Netbeans (open
source and works in linux, mac, windows).

http://www.netbeans.org/features/php/

--~--~-~--~~~---~--~~
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 email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Tree misbehaviour

2009-02-28 Thread Mauricio Morales

Hi folks,

I've got the same problem.. It's really strange because all of my code
was working in the last Beta version.

This is my DB table:

CREATE TABLE intracategories (
id SERIAL PRIMARY KEY,
parent_id INT,
lft INT,
rght INT,
name VARCHAR(255),
tags VARCHAR(255),
ispublic SMALLINT,
description TEXT,
slug VARCHAR(255),
deleted INT DEFAULT 0,
deleted_date TIMESTAMP,
created TIMESTAMP,
modified TIMESTAMP,
cretedby INT,
modifiedby INT
);

And this is my model:
class Intracategory extends AppModel {

var $name   = 'Intracategory';
var $actsAs = array('Tree');
}

When I try to save categories with a parent it fails (it sends to me
to the form again), but if I save categories without parent always
works.  There is no SQL errors when I use debug on 2.

:S

Somebody else with this problem in 1.2.1.8004 ?

On Feb 25, 3:42 pm, Jon Bennett  wrote:
> Hi Mark,
>
> >  Can anybody see anything wrong with the file or class names below?
>
> They look ok to me, just checking, you are using the Tree behaviour
> aren't you? You've got:
>
> var $actsAs = array('Tree'); in your model?
>
> j
>
> --
>
> jon bennett
> w:http://www.jben.net/
> iChat (AIM): jbendotnet Skype: jon-bennett
--~--~-~--~~~---~--~~
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 email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: CakePHP In A Subdirectory?

2009-01-27 Thread Mauricio Morales

I've gotten the same problem when I put the entire application into a
directory that contain the words:

"app"

or

"cake"

If your directory's real name is "myapp" try changing it for
"mysoftware" and reload again, there is no necessary to
alter .htaccess files.

Hope help.

On Jan 26, 5:05 am, inVINCable  wrote:
> Hey all,
>
> Very simply question but cannot seem to find the answer. I have the
> directory structure and everything in tact in the normal way. However,
> on my server I put the entire structure in the /myapp folder in the
> document root.
>
> Now, everything is all mest up and there is no CSS and files are
> missing and such. Surely cake has a simple variable to reflect these
> changes? Any advice? I have already looked at the book and the bakery
> and have tried things but they have not worked, such as messing with
> the variables in the index.php file.
>
> I am using version 1.2
>
> Thank you for any advice/pointers.
>
> Regards
--~--~-~--~~~---~--~~
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 email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Which editor for Mac OS X?

2009-01-25 Thread Mauricio Morales

I've got Coda and Eclipse PDT, with no doubts I recommend Eclipse PDT
and I think I will do it for all life.

Although Coda is thin and pretty, isn't as robust as Eclipse, with
Eclipse you can install a big quantity of plugins to manage databases,
UML graph, FTP integration, SVN integration, and so on.

Another thing, I don't like Coda autocompletion mechanism, I think
that for big projects you should use Eclipse, I just use Coda for edit
a simple file in some occasions.



On Jan 23, 3:01 pm, leo  wrote:
> Having spent months trying to find an adequate editor for Windows, I
> eventually settled on Komodo. Now I'm working on a Mac and Komodo is
> available, but version 5 is so slow it's unusable. I reverted to v4,
> but while it is a little quicker it is also a little unstable. It is
> still slow enough  to be irritating - 2 seconds to switch tabs;
> sometimes it doesn't load the plugins, sometimes it will not maximise
> properly.
>
> Okay, I'm not using a cutting edge Intel Mac, I'm on a G4 / Leopard,
> but it's still a reasonably powerful machine (it'll run Photoshop and
> Illustrator simultaneously without grinding to a halt).
>
> Can anybody suggest a non-java based editor (I do not like Eclipse or
> NetBeans or anything Java come to that)? I've tried Xcode, but it
> seems really clunky and not at all geared to PHP. It needs to have
> project handling like Komodo, code intelligence and above all, it must
> be free.
>
> Maybe a Macport of Bluefish - anybody tried that?
--~--~-~--~~~---~--~~
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 email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Website hosting for CakePHP

2009-01-25 Thread Mauricio Morales

I recommend A2Hosting, that Company has a great support and good
servers.  (http://www.a2hosting.com)



On Jan 24, 9:49 pm, Petorama  wrote:
> Hi all,
>
> My site was done with CakePHP (Petorama.com) and I love the way it
> came out, but my hosting company serves it very slowly. I use
> GoDaddy.com.
>
> Can anyone recommend a hosting company that can serve sites that use
> CakePHP quickly?
>
> If you go to my site, Petorama.com, you'll se justhow slow it runs.
> GoDaddy says it's not them.
>
> Thanks for any help.
>
> Tommy
--~--~-~--~~~---~--~~
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 email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: HABTM on multiple DB---Please help me

2008-12-09 Thread Mauricio Morales

What kind of DB are using ?

On 8 dic, 20:47, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> How can I do it?
>
> On 6 Dic, 10:35, Mauricio Morales <[EMAIL PROTECTED]> wrote:
>
> > Hi Marco,
>
> > I think that you can't do it with official methods, however you can
> > implement this functionality.
>
> > On Dec 5, 11:27 am, "[EMAIL PROTECTED]"
>
> > <[EMAIL PROTECTED]> wrote:
> > > I have this question that I can't resolve.
> > > I hope that someone can help me.
> > > How can I set a HABTM relation between table on different DataBase?
> > > Many Thanks
> > > Marco
--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: HABTM on multiple DB---Please help me

2008-12-06 Thread Mauricio Morales

Hi Marco,

I think that you can't do it with official methods, however you can
implement this functionality.


On Dec 5, 11:27 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> I have this question that I can't resolve.
> I hope that someone can help me.
> How can I set a HABTM relation between table on different DataBase?
> Many Thanks
> Marco
--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: content-based ACL

2008-06-23 Thread Mauricio Morales

Hey,

I have Hosting with an excellent hosting company called A2Hosting,
http://www.a2hosting.com/,  this company maintains the PHP Version Up
2 Date, and allow shell access for resellers.

Hope this help you.

On Jun 23, 10:19 am, leo <[EMAIL PROTECTED]> wrote:
> I'm in Europe and I've never yet seen a shared host that allows shell
> access. Additionally, requiring a client to change their existing
> hosting provider is a non-starter, particularly if the new provider is
> more expensive. It's just something we put up with. We're looking at a
> new, local provider doing Xen servers. Maybe that's the way to go, but
> I'm not really up on that side of things...
>
> Like I said, Aran, a very good tutorial, nevertheless.  Keep it up!

--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Should I learn cake 1.1 or 1.2?

2008-06-02 Thread Mauricio Morales

Hey Jonah,

You have chosen an excellent Framework, and Cake 1.2 is so much
powerful than 1.1.

Enjoy the features, and browse into the Bakery (http://
bakery.cakephp.org) where you can find good tutorials, and a lot of
code.


Greetings,


On May 31, 10:46 am, "Turnquist, Jonah" <[EMAIL PROTECTED]> wrote:
> This is very helpful, thank you.  I will start right off with 1.2
> then.
>
> Thanks!
> Jonah
>
> On May 31, 6:51 am, francky06l <[EMAIL PROTECTED]> wrote:
>
> > I would start directly with cake 1.2. It has more functionalities,
> > embedded tests and more "automagic" features.
> > A lot of us are already running cake 1.2 in production and the
> > official release shout be out very soon.
>
> > On May 31, 4:25 am, "Turnquist, Jonah" <[EMAIL PROTECTED]> wrote:
>
> > > I learned the very basics of codeigniter before school started and now
> > > that school is out I decided to learn cakephp instead.  However I just
> > > realized that there is a 1.1 and 1.2 beta.  Which one should I learn?
> > > It seems that if a learn 1.1, by the time that I finish learning it
> > > enough to be able to release a website, 1.2 will then be out and I
> > > will want to learn that one. Which one should I learn?  I also noticed
> > > that they both have separate documentations, which one would be easier
> > > to learn from?
>
> > > Thanks,
> > > Jonah

--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: reset Session variables without any visible cause

2008-03-30 Thread Mauricio Morales

I have the same strange problem...

I'm working with CakePHP 1.2B and sessions saved into a PostgreSQL
Database.



On Mar 16, 7:58 am, jano <[EMAIL PROTECTED]> wrote:
> I'm sorry to bother you with this strange problem, but I don't know
> really how manage it.
> Permorfing some action in my cake application, variables session are
> 'sometimes' resetted. It happens not so often, and in a unpredictable
> way: i.e. the same manipulation, repeated again, does not have this
> 'reset'.
>
> I've tried to change the security level from high, to medium, to low.
> I've tried to change the session management from php to database, and
> I've seen that simply when 'reset' start, a new session begin.
>
> I have had before a similar problem, but it was because an helper of
> mine was saved in a UTF-8 codage, and so headers were sent before
> session begins (translating it in 8bit resolved the problem). I'm
> searching if there is some file that has a UTF-8 codage, but until now
> I've not found anything (moreover, if that was the case, that would be
> strange this problems happens randomly, it should be persistent).
>
> I'm printing the session variables on the main layout, and I've seen
> that [Config][userAgent] remais the same through resets...
>
> Any ideas, suggestions?
> Thank you in advance.

--~--~-~--~~~---~--~~
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]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---