Re: cakephp3 errors..... after edit db info

2015-06-30 Thread Eric Haskins
Yeah I have dedicated servers so not run by GoDaddy let me know. Since I host many sites I am looking into having php 5.5 and php 5.4 for some our hosting customers. I see no issues with cakephp 3 and 5.5 . so maybe they need to change minimum requirements -- Like Us on FaceBook https:

Re: cakephp3 errors..... after edit db info

2015-06-28 Thread Eric Haskins
> Hey All > > So Im trying to get version 3 running. Aside from not liking the composer > BS Im having a issue with initial install and setup. I get it running at > http://cake3.farsightedmedia.com on the initial setup and works fine as > soon as I change the DB credentials > > //'port' => '

cakephp3 errors..... after edit db info

2015-06-28 Thread Eric Haskins
Hey All So Im trying to get version 3 running. Aside from not liking the composer BS Im having a issue with initial install and setup. I get it running at http://cake3.farsightedmedia.com on the initial setup and works fine as soon as I change the DB credentials //'port' => 'nonstandard_por

file upload

2014-07-23 Thread Eric Yullu
created an application that is utlizing file upload, but when i click download button i get error, media.ctp not found -- 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 Gr

Pagination Sort, Resetting Data

2014-02-27 Thread Eric Chan
Hello, I just starting baking with CakePHP and I'm slowly grasping the basics. So far I've created a view to display all the data in table format from a table in the database with pagination. There is a column in the table that contains browser information (Firefox, Chrome, Safari...etc). So on

Re: how to get cache file name in arabic language

2013-09-27 Thread Eric Haskins
That is going to be tied to the OS the files are on. Most Linux webservers won't support that charset. You will need to come up with another way Eric On Thursday, September 26, 2013 7:50:57 AM UTC-4, Mokdij wrote: > > I am developing a website in Arabic language, i need to us

Re: hasMany weirdness

2013-09-15 Thread Eric Haskins
arted writing custom queries with joins using $this->PlayersToSeasons->query() and the problem is gone. I know that will send some Framework nazi's into committing suicide but you do what you have to to make your app work. Till I can sort out why cake is hanging me out to dry lol Eric

Re: hasMany weirdness

2013-09-13 Thread Eric Haskins
t; > On Friday, 13 September 2013 01:58:43 UTC+3, Eric Haskins wrote: >> >> Has anyone else seen where hasMany returns empty arrays's? Example >> >> Players >> player_id >> >> Seasons >> season_id >> >> Divisions >> divisi

hasMany weirdness

2013-09-12 Thread Eric Haskins
Has anyone else seen where hasMany returns empty arrays's? Example Players player_id Seasons season_id Divisions division_id PlayersToSeasons < - hasMany Players, Seasons, Divisions, id season_id player_id division_id So many will come back perfect out of 300 players maybe 20 records wi

Re: live validation

2013-08-18 Thread Eric Haskins
So when your server side validation fails the email for the same reason as the Live version Dave it some how doesnt expose the users?? I see you post over and over and Im not sure you have thought out your argument Eric Haskins On Friday, August 16, 2013 7:00:34 PM UTC-4, advantage

Re: Where are the sites?

2013-08-18 Thread Eric Haskins
Dave, I have some Open-Source but I have some proprietary stuff I am developing mainly in the SaaS market with CakePHP I would love to share but then I lose my companies edge. Eric Haskins http://highoctanebrands.com -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on

Re: install cakephp with on a sub-domain

2013-08-16 Thread Eric Haskins
control of the server I would put in its own account or docroot anyway I hate nested sites. I do this for my hosting customers all the time Eric Haskins High Octane Brands http://highoctanebrands.com On Friday, August 9, 2013 11:20:59 AM UTC-4, gannher wrote: > > I have one web server. I

Re: Data validation: Client or Server?

2013-08-16 Thread Eric Haskins
). I still see some good bots getting thru but we also store Render time and Submit time which cleaned out a bunch more. Its fun :-) Eric Haskins High Octane Brands http://highoctanebrands.com On Friday, August 16, 2013 9:59:30 PM UTC-4, advantage+ wrote: > > Good stuff, but just think

Re: Data validation: Client or Server?

2013-08-16 Thread Eric Haskins
We always use both if not both server-side Eric Haskins High Octane Brands http://highoctanebrands.com On Friday, August 16, 2013 7:32:29 AM UTC-4, jer...@anthemwebsolutions.com wrote: > > I wanted to get some opinions on this. Cake's validation structure is easy > to a

loginError Element

2013-08-15 Thread Eric Haskins
Afternoon all, I am having an issue with the Auth Component. I set 'flash' => array('key'=>'auth','element'=>'alerts/error'), in my Auth config in appcontroller. Permission errors work fine but invalid login is still using default element. Am I missing something somewhere? 'Auth' => a

CakePHP 2.x Date Field Helper set year?

2013-08-07 Thread Eric Haskins
Hey everyone quick question. I have an app and Im having issues with "Users" setting birthdates to 2013-12-13 as an example. I know I should have a validator to make sure it isnt a future date but is there a way to seed the start year say 4 years ago? -- Like Us on FaceBook https://www.f

Re: Cache Help

2013-08-01 Thread Eric Haskins
} return $form; } } Hope this helps. I am new to Cake cache so if I am wrong someone please feel free to point it out Eric Haskins High Octane Brands LLC "Building Brands Not Just Business" -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitt

2.3 Checkbox validation

2013-07-30 Thread Eric Haskins
Ok I must be doing something wrong on my checkbox validation because its always invalid Snip of validation: 'agever' => array( 'notEmpty' => array( 'rule' => array('equalTo', 'yes'), 'required' => true, 'message' => 'We require you to be over 13 to register without a Parent.' )

Re: redirect images url from live javascript

2013-07-06 Thread Eric Haskins
uot;,"/ticketstaff/"); alert(imgtag); Handles the url change. You need to also download the images or do you have them?? Eric On Thursday, July 4, 2013 2:46:18 AM UTC-4, baur79 wrote: > > hi, > > i have use the 3rd party jquery ajax javascript > it returns me the liv

Re: redirect images url from live javascript

2013-07-06 Thread Eric Haskins
Trying to dechiper the question but I think he is getting the img tags via Ajax to render on his site. Can you give us the code you use to request said images and maybe we can give you some direction or js code to help you Eric On Thursday, July 4, 2013 2:46:18 AM UTC-4, baur79 wrote: > &

Re: Salesforce Integration

2013-07-06 Thread Eric Haskins
Custom Auth? Im not familiar with the Salesforce API if I have some free time this weekend I will try and have a look Eric Haskins High Octane Brands On Friday, June 28, 2013 6:29:59 PM UTC-4, chris graber wrote: > > Anyone integrate with Salesforce? I'm trying out several

Re: Disable pagination in one action

2013-07-04 Thread Eric Haskins
I agree with AD7six why would you need to disable instead of $news = $this->paginate('News'); do this and no paginator $news = $this->News->find('all'); -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message becaus

Re: Cakephp Manual Auth login returns true, but not logged in another page

2013-06-21 Thread Eric Haskins
Where do you have your auth stuff setup in appcontroller beforeFilter? if so make sure the controllers extending AppController have public function beforeFilter() { parent::beforeFilter(); } I had a similar issue with logins not persisting Eric On Thursday, June 20, 2013 6:37:44 PM

Re: requestAction and Auth issues

2013-06-21 Thread Eric Haskins
Yes it is an element On Friday, June 21, 2013 2:23:34 PM UTC-4, euromark wrote: > > where do you run this statement? > in the view ctp? > > > Am Freitag, 21. Juni 2013 18:31:07 UTC+2 schrieb Eric Haskins: >> >> Hey All, >> >> I am running cakePh

requestAction and Auth issues

2013-06-21 Thread Eric Haskins
t; 'index'),array('named'=>array('limit'=>10,'sort'=>'desc'))); will result in a "Your Not Authorized To View This" redirect to login.... Im stumped should I move my auth to a different location than beforeFilte

Re: unlink()

2013-06-21 Thread Eric Haskins
That looks like your host has disabled the unlink command Eric High Octane Brands On Friday, June 21, 2013 8:00:06 AM UTC-4, raj kumar Pustela wrote: > > Hi to all, > > how to resolve below this one.. If you know any one Please help me. > > > Warning: unlink() has been

Re: One page with Search/Edit/Add and Delete Buttons

2013-06-20 Thread Eric Haskins
x27; => 'Are you sure?'));?> No Divisions Configured The delete button would then post to the delete() function in

Re: Can anyone help me with editing post_tags ???

2013-06-19 Thread Eric Haskins
What are you trying to do?? Example code? Eric On Wednesday, June 19, 2013 4:55:49 AM UTC-4, Lilit Bakunts wrote: > > > > > > -- > View this message in context: > http://cakephp.1045679.n5.nabble.com/Can-anyone-help-me-with-editing-post-tags-tp5715315.html >

Re: Error: Mysql requires a database connection

2013-06-18 Thread Eric Haskins
Raxit, Did you edit the settings to match your User and password for your Mysql instance? Mysql is running? Eric On Tuesday, June 18, 2013 12:28:00 PM UTC-4, Raxit wrote: > > Hi raj kumar, > > I have added database.php file with same content under config folder still > it g

Re: login error

2013-06-18 Thread Eric Haskins
Tiago, We are going to need a bit more to go on. can you post your Candidatos controller and model? Eric High Octane Brands On Monday, June 17, 2013 3:51:02 PM UTC-4, Tiago Cosme wrote: > > friends, > > I have a problem in cakephp. Simply my application stopped w

Re: How to edit a view in Cake php

2013-06-18 Thread Eric Haskins
Do you have a Customers Model? I have models for all of my tables On Monday, June 17, 2013 5:38:40 PM UTC-4, Raks wrote: > > Returns an Error > > {"code":500,"url":"\/products\/listing_data.json","name":"Call to a member > function find() on a non-object"} > > > > On Mon, Jun 17, 2013 at 1:26

Re: Switch "validation set" within model?

2013-06-18 Thread Eric Haskins
->save($this->request->data, false); $this->Session->setFlash(__('Your account has been successfully updated'),'default',array('class'=>'alert succes_msg')); $this->redirect('/admin/sites/accoun

Re: How to edit a view in Cake php

2013-06-17 Thread Eric Haskins
oin', 'type' => 'INNER', 'conditions' => array( 'CustomerJoin.customer_id = ProductFamily.customer_id' ) ) ))); Again I dont know the code before or your table names Eric On Monday,

Re: SaaS and AppController

2013-06-17 Thread Eric Haskins
Thx AD I didnt realize the placeholders I had in the layout were the culprit Eric On Monday, June 17, 2013 9:19:31 AM UTC-4, AD7six wrote: > > > > On Monday, 17 June 2013 14:53:26 UTC+2, Eric Haskins wrote: >> >> I have an app I am working on and I was wondering

Re: Unable to send mail from cakephp to CentOs (Postfic/DovCot).

2013-06-17 Thread Eric Haskins
customers set to default of no more than 1000 emails an hour. Eric On Thursday, June 13, 2013 5:28:17 AM UTC-4, Snehal Savaliya wrote: > > Hello, > > I am trying to send mail from cakephp site to CentOs (Postfic/DovCot). > But I can able to only send that mail to 950 users. > bu

SaaS and AppController

2013-06-17 Thread Eric Haskins
ngs etc. Thx Eric -- 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,

Re: where to make changes

2013-06-08 Thread Eric Haskins
Raks, /app/View/{controller}/{action}.ctp you really should read the book http://book.cakephp.org/2.0/en/index.html Eric On Friday, June 7, 2013 1:21:43 PM UTC-4, Raks wrote: > > Hi, > > Actually I have some code available with me in Cakephp, with model, view > and c

Re: Using Roles and RolesUser

2013-06-07 Thread Eric Haskins
Ok I found my answer before this question cleared moderation. public $hasAndBelongsToMany = array( 'Role' => array( 'className' => 'Role', 'joinTable' => 'roles_users', 'foreignKey' => 'user_id', 'assosciationForeignKey' => 'role_id', 'unique' => 'keepExisting' ) );

Using Roles and RolesUser

2013-06-07 Thread Eric Haskins
Hello Everyone, Im sorry if this was posted previously I did an exhaustive search but im still lost. I am working on a SaaS app that allows a couple of our domains to utilize the same codebase and I have come upon an issue with my 1 User to Many Roles. Im using cakePHP 2.3 I use 2 t

Re: Problem with CakePlugin on shared server

2012-01-27 Thread Eric
or so. Quite random, but slightly persistent. My money is still on the class loader searching outside the app root for some reason. Since the error is intermittent, it's rather difficult to trace the problem in the code. Has this been reported as a bug (haven't found it), or should I d

Re: Problem with CakePlugin on shared server

2012-01-27 Thread Eric
rd, I cleared the cache earlier too. It had no effect then. /Eric On Jan 26, 7:00 pm, y2k_2000 wrote: > This is a bug on Core/App.php, caused by a missing `Plugin` key on the > paths array on `file_map` cache. > To fix it, just find this line on App.php (line 547): > self::_map($file, $

Re: Problem with CakePlugin on shared server

2012-01-26 Thread Eric
ntioning of BAR in the FOO source (I did a grep -rn), so I can't find any culprit that way either. Also, the cipherSeed and salt are different (if that matters). Do you think the copying could be the problem anyway? /Eric On Jan 26, 2:34 pm, Sam Sherlock wrote: > Odd. Have you tried setting

Re: Problem with CakePlugin on shared server

2012-01-26 Thread Eric
Ubuntu 11.10 here. On Jan 26, 2:14 pm, Jon Price wrote: > Interesting..I've seen this as well but rareand thought I had > misconfigured something. They are 2.0.x installs on a debian style linux. > > > > > > > > On Thu, Jan 26, 2012 at 4:38 AM, Eric

Problem with CakePlugin on shared server

2012-01-26 Thread Eric
Hi! I have several CakePHP installations on a server, two of them are 2.0 (recent installs). I now notice that the 2.0 installations seem to collide with eachother. Occationally when loading a page I get this error message: Fatal error: Uncaught exception 'MissingPluginException' with message 'Pl

XML->serialize() with CDATA?

2011-12-08 Thread Eric Blanpied
CDATA tags, and while I can see that there's support in the XML class, I can't for the life of me figure out how to make it do that. Can someone provide some guidance? thanks! -eric -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the n

ACL Helper?

2011-11-05 Thread Eric Blanpied
Hello, I'm trying to work out a good system to get at ACL data in my views, and while the net & list archives have a handful of tips and partial solutions, I haven't found anything conclusively helpful. The most promising approaches I've seen add code to the login function to compile a list of th

Re: Run a cron job in cakephp

2011-11-04 Thread Eric Blanpied
ks > atenciosamente, > Werner Petry Moraes > werne...@gmail.com > > > On Fri, Nov 4, 2011 at 06:16, Eric Blanpied wrote: >> >> I think the best way to do it is with a queue. After doing several >> websites in which cron jobs were used for various not-so-cron things

Re: Run a cron job in cakephp

2011-11-04 Thread Eric Blanpied
I think the best way to do it is with a queue. After doing several websites in which cron jobs were used for various not-so-cron things (cron job to wake up periodically and check for needed tasks? why not just spawn the tasks?), I came to the conclusion that a job queue was a much smarter answer.

Re: Going back to school: ACL

2011-10-30 Thread Eric Blanpied
dundant here, unless it could provide a second angle of access control. Thanks, everyone! -eric On Fri, Oct 28, 2011 at 11:08 AM, alaxos wrote: > Hi Jeremy, > > As far as I know, the core ACL does not support multiple groups per > user. > > Before using ACL, I used myself

Re: jquery autoComplete in cakephp 1.3

2011-10-11 Thread Eric Blanpied
I've found it quite easy with jquery UI. Something like this ought to work in your .ctp file. Where #UserName is your field's id, and $usernames is the list of choices. If you want your autocomplete to do server-side lookup, check the jquery UI docs. $(document).ready(function() {

Persson Queue Plugin - job progress inspection

2011-09-04 Thread Eric Blanpied
insight? Any input on how hard it would be to add Gearman support to the Queue plugin? thanks -eric -- 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 qu

Re: Subclassing one's own Controllers

2011-08-18 Thread Eric Blanpied
component and then set up other controllers that handle the variations and > use that component. > > /2pence > > > > > > > > > > > Advice? > > > thanks > > > -eric > > > -- > > Our newest site for the community: CakePHP Vid

Subclassing one's own Controllers

2011-08-18 Thread Eric Blanpied
ller class, but when I try that in cake (1.3) I get a class-not-found error. I've seen some discussion of using behaviors for this, but that seems contrary to this setup, where the main controller has a model, plenty of views, methods, etc. Advice? thanks -eric -- Our newest site fo

Re: How do you do it?

2011-04-18 Thread Eric Anderson
I've always thought about that same issue. I think there's some good JQuery / Ajax image upload and cropping plugins. On a basic level, I'd probably allow an upload then refresh the same page after the successful upload. On reload, the page would be in the "editing" state, so instead of just show

Custom Order by

2011-03-06 Thread Eric Anderson
Hi everyone, I was wondering if you could help me with this strange ordering issue. I have a list of posts and I want to order them by date created, however, I want to have "featured" posts show up in the list BEFORE the unfeatured posts. Essentially, it would be any post that is featured, ordered

Re: How to properly use "conditions" in model associations

2011-03-02 Thread Eric Anderson
om day 1 like this so also would be curious to see > > > what others are doing in regards to the other params available for > > > relations. > > > > Good question :) > > > > K > > > > -Original Message- > > > From: cake-php@googlegr

How to properly use "conditions" in model associations

2011-03-02 Thread Eric Anderson
Hi everyone, I'm wondering what is the 'proper' or 'suggested' way of using "conditions" in model associations. I'm using an Activity model to log activities performed throughout my app. I then use this table to output activity feed / notifications style sections to users. The problem I'm having i

Re: Fat Models vs. App Controller

2011-02-26 Thread Eric Anderson
Awesome article. Thanks! I think I'm going to move everything over to my model, via either an available function I can then call from other controllers or place the function in beforeSave, afterSave, etc. Should work great. Eric On Feb 26, 5:59 pm, Sam Sherlock wrote: > to me it sou

Re: Fat Models vs. App Controller

2011-02-26 Thread Eric Anderson
hen I can just grab feeds, save data, etc by calling the function through related models. As for "libs", what do you mean? I can create a library for these functions? Can you explain further? Thanks! Eric On Feb 26, 4:39 pm, euromark wrote: > usually you would put functions you use i

Fat Models vs. App Controller

2011-02-26 Thread Eric Anderson
need to quite often save an activity, feeding it arguments (as well as delete an activity). Moreover, I need to often grab a feed, customized based on the arguments I feed it. I'm trying to avoid using RequestAction. Thanks! Eric -- Our newest site for the community: CakePHP Video Tutorial

Component or Behavior?

2011-01-09 Thread Eric Anderson
Hi everyone, I'm creating an app and have a situation where after an event occurs, I need to save data in many different models. Essentially, when a competition ends, I need to save the winner, award points to everyone who entered the competition and as well as award "credits". Essentially, I end

Re: Js (Jquery) Helper Append Instead of Update

2011-01-02 Thread Eric Anderson
if (isset($options['dataExpression'])) { $callbacks[] = 'data'; unset($options['dataExpression']); } $options = $this->_prepareCallbacks('request', $options); $opti

Js (Jquery) Helper Append Instead of Update

2011-01-02 Thread Eric Anderson
ook at the jquery_engine.php helper class and it doesn't seem to be built, but are there any other ways around this? Thanks, Eric Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to th

Re: Js (Jquery) Helper Confirm before Request

2010-12-30 Thread Eric Anderson
Js Helper. Thank you so much! On Dec 30, 6:28 pm, cricket wrote: > On Thu, Dec 30, 2010 at 4:35 PM, Eric Anderson > > > > > > > > > > wrote: > > Hi everyone, > > > I'm trying to use the Js Helper (JQuery) to create a request link that > &g

Js (Jquery) Helper Confirm before Request

2010-12-30 Thread Eric Anderson
above is turned into an AJAX link that sends a request to delete the post I need it to. It even fades out the content after successfully deleting the post. However, I want to have a confirmation dialog appear before sending the request AND if cancel is clicked, the request is NOT sent. Any ideas? Tha

Re: CakePHP has it's own domain, but placed in a subfolder

2010-10-16 Thread Eric Anderson
lar domain? On Oct 16, 2:44 pm, Tilen Majerle wrote: > if i understand you good, then u have on domain.com installed Wordpress with > .htaccess file, and in domain.com/subfolder you want to install cakephp? > > so there i think, problem is wordpress's .htaccess... > -- > Ti

Re: CakePHP has it's own domain, but placed in a subfolder

2010-10-16 Thread Eric Anderson
er doesn't support apache module > mod_rewrite > > check this :D > -- > Tilen Majerlehttp://majerle.eu > > 2010/10/16 Eric Anderson > > > > > Hi guys, > > > I've done some searching but haven't found a direct answer to this >

CakePHP has it's own domain, but placed in a subfolder

2010-10-16 Thread Eric Anderson
for a cake app in a subfolder if the subfolder has its own domain pointing to it. When trying to access the domain however, I receive Internal Server Error (500). Are there amendments I need to make to my htacces if my app is in a subfolder, but still has its own domain? Thanks, Eric Check

Re: CakeDC Ratings Plugin

2010-09-26 Thread Eric Anderson
> 5, 'value' => $item['rating'], 'createForm' => array('url' => array($this->passedArgs, 'rate' => $item['id'], 'redirect' => true)))

CakeDC Ratings Plugin

2010-09-26 Thread Eric Anderson
otorious/app/plugins/ratings/views/helpers/ rating.php on line 20 For some reason the helper cannot find the Html helper which it extends. Does anyone have any insight on how to fix this? Thanks! Eric Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP rel

Re: How to handle multiple user types

2010-05-14 Thread Eric Anderson
I have a "parties" table as well. On May 14, 3:17 am, Zaky Katalan-Ezra wrote: > What is the other tables? > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others with > their CakePHP related questions. > > You received this message because you are subscribed to the Google G

How to handle multiple user types

2010-05-13 Thread Eric Anderson
Hi everyone, I'm just curious how everyone else out there handles different user types when they have different data associated with them? I have a system that has guests, members and hosts. Each user type has many different fields associated with them. Currently I handle it by having a main user

AJAX Pagination for "more commments" style functionality

2010-05-02 Thread Eric Anderson
more comments" it ALSO loads all the controls as well as the UL all over again. How can I get it to NOT display the controls, as well as the UL when loading the next set of comments? Thanks in advance! Eric Check out the new CakePHP Questions site http://cakeqs.org and help others with their

Re: Calling actions inside a controller

2010-04-26 Thread Eric Anderson
Thank you both so much! I really appreciate it. Eric On Apr 26, 1:06 am, Jeremy Burns wrote: > Good point.. As far as I know, the key difference is: > > $this->functionName() is used to call another function that ought to return a > value back to the calling function. >

Calling actions inside a controller

2010-04-25 Thread Eric Anderson
just need to call one controller action inside of another. I know it's simple, but I can't seem to figure it out. Thanks! Eric Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are sub

Re: Simple Acl controlled Application Tutorial - Problem with release 1.2.5??

2009-09-30 Thread Eric
r index [25] => Created Aco node for view [26] => Created Aco node for add [27] => Created Aco node for edit [28] => Created Aco node for delete ) After this I get some errors about not having a view for this controller, but I think that is expected. Hopefully this

Re: Cache not configured properly

2009-07-27 Thread Eric
Thanks - memcached was not installed correctly. So it was defaulting back to file caching? I didn't realize you can cache an individual variable with file caching like that. With no load on the server, it was just as fast. On Jul 26, 12:04 pm, "euromark (munich)" wrote: > i thought so > > with

Re: Session/Cookie problem with Facebook JS + PHP

2009-07-27 Thread Eric
Just as a followup, I have had no side effects using localhost.com ... and it definitely did not work using "localhost" On Jul 21, 7:10 am, rchavik wrote: > I agree. > > A better way would be to stage your application with myapp.com (or > whatever name you want), and set that in your hosts file.

Re: Cache not configured properly

2009-07-25 Thread Eric
Turns out it is actually working, but I'd still like to fix the error msg for debug mode if possible. On Jul 25, 11:35 pm, "eric.winch...@gmail.com" wrote: > Warning (512): Cache not configured properly. Please check > Cache::config(); in APP/config/core.php [CORE\cake\libs\configure.php, > line

Re: $ajax->form - NOT WORKING!!!!! ARGHHHH

2009-07-22 Thread Eric Silva
you called the prototype.js? -- Eric Silva On Wed, Jul 22, 2009 at 10:24 PM, David wrote: > > Hello, > > I am trying to work with ajax helper to do a comments form on a test > blog system. > I am fairly new...but have managed to pick most things up...but this > is doing

Re: Cake function that does "Model.Field" to $array["Model"]["Field"]

2009-06-26 Thread Eric Silva
$array["Model"]["*f*ield"] ?? -- Eric Silva On Fri, Jun 26, 2009 at 8:37 AM, Ernesto wrote: > > Hello > > i can't find the CakePHP's built-in function that does "Model.Field" > to $array["Model"]["Field"] &g

Re: Database design

2009-05-27 Thread Eric Silva
First, sorry my bad English... Well, you could have a field "type" that reference the entity that has the commentary. Pattern Single Table. Braindead wrote: > Well, my problem is not directly related to CakePHP, but as it's about > database design maybe I'll get some good answers. > > On my p

Re: Validation messages and redirect issue

2009-05-04 Thread Eric Martin
empty, use $this->Session->flash() to transport it to the next > view. I suppose you'll need to loop through the array and grab > whatever errors are present. Use > die(debug($this->User->validationErrors)) in your action to see how > its laid out. > > Do

Validation messages and redirect issue

2009-05-04 Thread Eric Martin
I'm having a problem getting validation messages to show up for a register/sign-up form. I have the form on the home page, which is accessed through a HomeController. The register/sign-up form posts to the UsersController, register function, which does the save. Regardless of the result, it redir

Re: Scaffolding and Bake Question

2009-01-12 Thread Eric
The event types for both is INT. There is not a title in either table. On Jan 12, 1:55 pm, Rob Wilkerson wrote: > On Jan 12, 2:36 pm, Eric wrote: > > > > > Hello, > > > I have an entity called "Event" and an entity called "Gathering".  A >

Scaffolding and Bake Question

2009-01-12 Thread Eric
Hello, I have an entity called "Event" and an entity called "Gathering". A "Gathering" is comprised of one or more "Event". I have a table called "events" and a table called "gatherings". I also have a table called "events_gatherings" that contains 2 fields "event_id" and "gathering_id". The "

Acl example help.

2009-01-12 Thread Eric
I just installed cakePHP 1.2, I am at step 10.2.6 in the "Example Applications" section of the manual. I have added the buildAcl() function to the app_controller.php file, but how do I run the function? I have tried several methods, but keep getting errors. Any help is appreciated. Thanks...

Re: About CakePHP

2008-11-07 Thread Eric Saboia (Fortes Informatica)
Hey.. Nobody can ask my question? On 6 nov, 09:56, "Eric Saboia (Fortes Informatica)" <[EMAIL PROTECTED]> wrote: > Hello, > I´m looking for some of Cake´s history (why it begun, what inspirated > it, etc)... where can i get informati

About CakePHP

2008-11-06 Thread Eric Saboia (Fortes Informatica)
Hello, I´m looking for some of Cake´s history (why it begun, what inspirated it, etc)... where can i get information about that? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to th

SQL expressions in paginate or find

2008-09-26 Thread Eric C. Weaver
In one model's (controller's) index action, I'd like to fetch an additional column to tell whether the timestamp field is recent. What I'd like to be able to do (and tried unsuccessfully) would be something like $this->paginate['fields'] = array('Model.*', "(ts > current_timestamp - interval '4 h

Re: Filemaker and CakePHP

2008-07-17 Thread Eric
her (FM > > 6 or 7 as I recall), so maybe things have improved.  But if it still > > doesn't support SQL, maybe not. > > > On Jul 17, 5:24 am, Eric <[EMAIL PROTECTED]> wrote: > >> Hi, > > >> Has anyone had success using Filemaker as a reposi

Filemaker and CakePHP

2008-07-16 Thread Eric
Hi, Has anyone had success using Filemaker as a repository for Cake? There have been a few posts here on the issue, but nothing for quite some time. I realize it is quite a task since Filemaker does not really handle SQL. Filemaker does have a PHP API and there is something called FX.php which i

Re: Auth Redirect Losing $_GET value

2008-07-05 Thread Eric
You may be able to turn off the Auth redirect and handle it yourself. I think the redirect location is stored in the Session object. This thread may help. http://groups.google.com/group/cake-php/browse_thread/thread/557a6367f823ef61/db0ffd9be8548bad#db0ffd9be8548bad On Jul 4, 8:31 am, Kyle Dec

Model Validation Rule Builder

2008-07-04 Thread Eric
I created a new way of creating validation rules for models, which I think is kind of slick, but I don't really think the way I have it working is very "cake-like" and I need some advice on how best it should be implemented. Right now in a model I am doing the following to add my RuleBuilder add

Re: Use models/views object from other controllers/models/views ?

2008-07-04 Thread Eric
I am not entirely sure of what you are going after, but if otherController and Foo are related in some way, you can do the following. public function myaction(){ $this->otherController->Foo->setText("hello world"); $this->set('foo', $this->otherController->Foo); } That said, in general if ther

Re: Auth login redirect unreliable?

2008-07-02 Thread Eric
{ if (!empty($this->data)) $this->Session->setFlash($this->Auth->loginError); } } I think you can get the page that the user was trying to access via the session, and redirect there, but taking them to the front page works for me . Hopefully this helps. -Eric On Jul 2, 10:44

Re: CakePHP 1.2 RC2 - Apache Crash on Vista

2008-07-01 Thread Eric Martin
Ahh...thanks floob. I didn't think to search on trac (duh), but will next time. At least now there is mention of it here in the groups (I couldn't find anything previously). On Jul 1, 12:53 am, floob <[EMAIL PROTECTED]> wrote: > Hi Eric, > > I believe I had the

CakePHP 1.2 RC2 - Apache Crash on Vista

2008-07-01 Thread Eric Martin
I ran into an issue tonight that caused Apache 2.2 to crash on Vista using RC2. Basically, I deleted a helper file from my file-system but forgot to remove the reference to it (var $helpers = array()) from my app_controller.php file, which caused httpd.exe to crash/shut down. I'm not sure if it i

Re: Should I learn cake 1.1 or 1.2?

2008-05-31 Thread Eric Martin
As long as you understand the pros and cons of each, it's really up to you. I personally chose to work with 1.2 and have been using the nightly builds. IMO, the new features outweigh any "lack of documentation" (real or perceived). I believe a 1.2 RC release is expected soon, if that influences yo

Re: 1.2 is-dir Error

2008-01-25 Thread ERic ZoU
Anyone? On Jan 24, 9:33 am, ERic ZoU <[EMAIL PROTECTED]> wrote: > Hi, everyone, > > I update my 1.19 to 1.2. There are errors occur below. What happened? > Is the error from my Host? > > Warning: is_dir() [function.is-dir]: open_basedir restriction in > effect. Fil

  1   2   3   >