FAQ

Search Discussions

149 discussions - 500 posts

  • Hello, I am having some trouble saving an uploaded file to a table in MySQL database. With that said, I have 2 fields in this table that references 2 other tables. One being user_id (which lets you ...
    Karl SmithKarl Smith
    Jan 3, 2013 at 10:34 pm
    Feb 5, 2013 at 4:50 pm
  • Hallo I "only" want to use the bootstrap framework to style my cakephp app. What's the easiest way to do this? I tried https://github.com/visionred/BootstrapCake but I cannot install it (console ...
    Maximilian SchafzahlMaximilian Schafzahl
    Jan 15, 2013 at 3:56 am
    Jan 20, 2013 at 11:21 am
  • Hello all, this is my first time posting here. I recently started to study how to use CakePHP and I'm trying to develop a website. In my website I am writing a custom authorize component where each ...
    Stefano CampanellaStefano Campanella
    Jan 1, 2013 at 11:46 pm
    Jan 3, 2013 at 7:28 pm
  • On my Windows desktop I can bake models / views controllers / basic stuff no problem. When I run cake bake plugin Users I get a crazy assortment of errors. Any ideas anyone? ...
    Advantage+Advantage+
    Jan 28, 2013 at 7:51 am
    Jan 29, 2013 at 5:08 am
  • Hello, I need your help to make this routing http://domain.com/members/users/view/username/posttitle to be http://username.domain.com/posttitle Where domain.com - My domain members - Routing prefix ...
    Gonzela2006Gonzela2006
    Jan 16, 2013 at 9:56 pm
    Jan 17, 2013 at 9:17 pm
  • Greetings Everyone, Just installed XAMPP 1.8.1 for Windows which I plan to use to test a cakephp web-app. The basic install worked fine, but once I copied all the cake files to htdocs, I started ...
    RoundrightfarmRoundrightfarm
    Jan 29, 2013 at 9:26 pm
    Jan 31, 2013 at 3:45 pm
  • hi guys,... can someone help please,... I'm having a problem loading plugin from bootstrap CakePlugin::load('Facebook'); I have also tried: CakePlugin::load(array('Facebook' = array('bootstrap' = ...
    ChrisChris
    Jan 16, 2013 at 2:13 pm
    Sep 24, 2013 at 5:19 pm
  • Hello, I want to perform conditional validation between two rules public $validate = array( 'variable' = array( 'notEmpty' = array( 'rule' = 'notEmpty' ), 'url' = array( 'rule' = array('url', true), ...
    Gonzela2006Gonzela2006
    Jan 11, 2013 at 7:49 pm
    Jan 13, 2013 at 8:32 pm
  • I just updated my cake application to 2.3 and I started getting internal errors on my heroku application. *Warning* (512): /app/www/app/tmp/cache/ is not writable ...
    Shahruk KhanShahruk Khan
    Jan 30, 2013 at 4:43 am
    Feb 14, 2013 at 3:47 pm
  • I am trying to make my own custom logger but the write method gets called twice oddly enough. Here is the code I am using DatabaseLogger.php in the Lib/Engine/ directory ...
    SixthpointSixthpoint
    Jan 15, 2013 at 3:54 am
    Jan 16, 2013 at 6:43 pm
  • Hello, [ Apache 2.2.22 (Win32), MySQL 5.5.21, PHP 5.3.5, cakePHP 2.2.1 ] I'm having odd (IMO) behaviour from DebugKit - the toolbar only shows up if there are errors on the page and NOT if it renders ...
    McScreechMcScreech
    Jan 14, 2013 at 4:12 pm
    Jan 15, 2013 at 2:28 pm
  • I have a Navigation plugin that contains a helper. It's used for creating menus dynamically. I want to check a user's permissions via ACL before adding a menu item. How can I user the ACL component ...
    Jeremy BurnsJeremy Burns
    Jan 11, 2013 at 5:22 am
    Jan 15, 2013 at 12:06 pm
  • CakePHP (all versions that I've seen) check against $_SERVER['HTTPS'] to see whether a request has been made over HTTPS instead of plain HTTP. I'm using nginx as a load balancer, behind which are the ...
    Aaron PollockAaron Pollock
    Jan 13, 2013 at 3:52 pm
    Jan 15, 2013 at 8:43 am
  • Hi all, I am trying to find a way to successfully load a model in before Filter without causing the explosion of my controller :D I am working on CakePHP 2.3.0 RC2 Basically, I am calling ...
    Stefano CampanellaStefano Campanella
    Jan 12, 2013 at 10:23 pm
    Jan 13, 2013 at 8:38 pm
  • Hey Guys, First of all, a warm hello to everybody here, secondly, i would want to know if somebody can help me with this problem. This is the association part from the Product model, which correlates ...
    Penny CodersPenny Coders
    Jan 26, 2013 at 8:03 am
    Jan 27, 2013 at 6:40 am
  • Hi guys i am new to cakephp. i want to know the difference between layouts and themes that are used in the cakephp -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter ...
    Siva balanSiva balan
    Jan 21, 2013 at 10:13 am
    Jan 26, 2013 at 8:04 am
  • I have an existing view that I want to output to PDF. I've looked at Ceeram's plugin and dompdf but they don't hit the mark for me. The existing view is built using elements which are not pulled in ...
    Jeremy BurnsJeremy Burns
    Jan 22, 2013 at 5:21 pm
    Jan 26, 2013 at 8:04 am
  • Hello, can't validate the below url using 'rule' = 'url' on my model https://www.google.com/search?sugexp=les;&gs_rn=1&gs_ri=serp&tok=ryp3YY4UdU39xLhgeQ6ElQ&pq=cakephp cakephp cakephp cakephp cakephp ...
    Gonzela2006Gonzela2006
    Jan 24, 2013 at 4:16 pm
    Jan 25, 2013 at 1:29 pm
  • I need to use foreach data in $this-Form- select('player'); here is my current code <select name="data['User']['player']" id="UserPlayer" <?php foreach($players as $player): ? <option value="<?php ...
    PlanoCoderPlanoCoder
    Jan 21, 2013 at 4:31 pm
    Jan 22, 2013 at 12:41 pm
  • I'm using the CakePdf-plugin to parse a view as pdf. I added to \app\config\bootstrap.php : CakePlugin::load('CakePdf', array('bootstrap' = true, 'routes' = true)); Configure::write('CakePdf', array( ...
    Dr. DrijkDr. Drijk
    Jan 10, 2013 at 4:19 pm
    Jan 16, 2013 at 5:56 pm
  • I have a view that contains two forms; a login form and a forgotten password form. The latter is fine. The action of the login form is /login?url=login, which seems odd. The form and its controls are ...
    Jeremy BurnsJeremy Burns
    Jan 15, 2013 at 5:58 am
    Jan 15, 2013 at 6:34 pm
  • Hi, I have tried but still not working. My situation, Question hasMany Option Tables, questions {id,question,answer} options{id,option,question_id} In QuestionsController , in delete menthod, $this- ...
    AmitsukapureAmitsukapure
    Jan 11, 2013 at 11:02 pm
    Jan 14, 2013 at 3:46 am
  • hi guys,.. can you help me please,... I'm in cake 1.3 and using jquery libraries I got all setup, including jquery.autocomplete.min.js from Ajax Javascript helper ...
    ChrisChris
    Jan 29, 2013 at 10:31 am
    May 30, 2013 at 2:49 pm
  • So, I have an event model that you are able to assign people to. Some events require at least 2 people to be assigned before they are considered valid. I have two fields for the user to filling in ...
    Michael GaiserMichael Gaiser
    Jan 25, 2013 at 9:04 pm
    Jan 30, 2013 at 12:55 am
  • I followed this tutorial: http://book.cakephp.org/2.0/en/core-libraries/helpers/form.html#FormHelper%3a%3afile *My View / Form* <?php echo $this- Form- create("User", array("enctype" = ...
    Shahruk KhanShahruk Khan
    Jan 23, 2013 at 4:11 pm
    Jan 24, 2013 at 3:02 am
  • I have a big problem with Cakephp. We installed it and built an application on windows, everything worked fine. Then I installed Cakephp on two other windows-computers and copy-pasted the app-Data, ...
    Theresia ZTheresia Z
    Jan 10, 2013 at 9:09 pm
    Jan 11, 2013 at 11:02 pm
  • Hello, Im using auth component and cofiguring it in my AppController, just cake documentain say. *class AppController extends Controller { public $components = array( 'Session', 'Auth' = array( ...
    Pedro Fortes GallegoPedro Fortes Gallego
    Jan 3, 2013 at 11:13 pm
    Jan 8, 2013 at 2:21 pm
  • Hi, I have this app that uses the Auth component for login Everything works on the local machine, but fails big time live at : http://ncln.halladesign.com Can you tell me why ? Here are more ...
    Martin HallaMartin Halla
    Jan 1, 2013 at 3:08 am
    Jan 7, 2013 at 1:33 am
  • Hiya, I'm wondering if this is possible - imagine you have these tables: *teams **(id, name)* *matches **(id, date_started, created, modified)* *matches_teams **(id, match_id, team_id)* * * Every ...
    Marcus33czMarcus33cz
    Jan 4, 2013 at 3:27 pm
    Jan 5, 2013 at 3:55 pm
  • Hi, I'm using the CakeDC Users plugin and have it working, however when I access it from a View in the main app, it is showing only the user id rather than the displayfield = 'username'; Plugin User ...
    MkMk
    Jan 3, 2013 at 10:14 pm
    Jan 4, 2013 at 2:42 pm
  • Hi I have these Model : User (User belongsTo Group) Group (Group hasMany User) Document I manage permissions to access to documents with ACL (User and Group like Aro and Document like Aco) Now I have ...
    ByqsriByqsri
    Jan 31, 2013 at 4:30 pm
    Feb 3, 2013 at 9:37 am
  • Hi I am searching for a way in cake to check an url before it is called (via redirect). Real world: The user could set a custom start page to which he is redirect after login. This page is mapped to ...
    LDSignLDSign
    Jan 25, 2013 at 10:28 am
    Jan 25, 2013 at 7:52 pm
  • I need to create a simple poll for users and stumped on saving the results when user submits the poll. Poll hasMany Question Poll hasMany Result Question hasMany Choice Pretty simple, but how do you ...
    Advantage+Advantage+
    Jan 25, 2013 at 2:14 am
    Jan 25, 2013 at 7:27 pm
  • Dear All, My website is working fine online but when I setup that website on local then several pages are working except some pages. On some pages when I am accessing them then I am getting Server ...
    Mraheel83Mraheel83
    Jan 21, 2013 at 1:21 pm
    Jan 22, 2013 at 6:50 pm
  • I see that overriding of a view is very simple ( http://book.cakephp.org/2.0/en/plugins.html#overriding-plugin-views-from-inside-your-application), but how can I override a controller or a model? -- ...
    Cséfalvay KálmánCséfalvay Kálmán
    Jan 21, 2013 at 1:21 pm
    Jan 21, 2013 at 2:36 pm
  • Hi.. I am wondering the best approach to load different config files according to TLD? domain.TLD1 domain.TLD2 domain.TLD3 config/config_TLD1.php config/config_TLD2.php config/config_TLD3.php Today I ...
    MetZMetZ
    Jan 18, 2013 at 3:08 pm
    Jan 19, 2013 at 8:28 pm
  • Hi, I'm unable to run a CakeTestSuite, but I can run a CakeTestCase just fine on the CLI. When I run the CakeTestSuite I get the following error. Warning: is_file() expects parameter 1 to be string, ...
    MathewMathew
    Jan 17, 2013 at 6:46 pm
    Jan 17, 2013 at 8:34 pm
  • Hi all.. I am looking to do a search for ITEMS with mulitple conditions. 1 = location_start 2= location_end 3=start_date 4=end_date Here is what I have this far: $start_date = date("Y-m-d 00:00") ...
    MetZMetZ
    Jan 16, 2013 at 12:14 pm
    Jan 16, 2013 at 1:57 pm
  • Pls can anyone send me the link of how to bake cake 2.4. Because I have been having issues, due to change in the folder structure from 1.3 to 2.x. Pls, anyone link to a tutorial? Or pasting it here ...
    OlufemiOlufemi
    Jan 7, 2013 at 12:52 am
    Jan 11, 2013 at 6:13 pm
  • Hi, Once my user is logged I get some infos from $this- Session- read('Auth.User.Group.VARIABLE) How could i reload the Session after a user action so that the VARIABLE will be up to date. Indeed my ...
    ThecosinusThecosinus
    Jan 9, 2013 at 4:27 pm
    Jan 9, 2013 at 8:37 pm
  • I try to make connection with my local ms sql db with this settings public $default = array( 'datasource' = 'Database/Sqlserver', 'persistent' = false, 'host' = 'localhost\SQLEXPRESS', 'login' = ...
    Mohamad Zulhelmi RedzwanMohamad Zulhelmi Redzwan
    Jan 3, 2013 at 2:32 am
    Jan 4, 2013 at 12:18 am
  • Hi all, I kind of new to CakePHP. For now this is my first project I'm importing a CMS that I have build using CodeIgniter to CakePHP. the admin Section is a Plugin( I guess it should be a plugin ) ...
    Anis GhabriAnis Ghabri
    Jan 3, 2013 at 10:54 am
    Jan 3, 2013 at 2:00 pm
  • Hi, I made a custom layout for admin panel. The problem is when i validated my HTML i am getting an error *"* *Non-space characters found without seeing a doctype first. Expected <!DOCTYPE html .*" ...
    Marcus JamesMarcus James
    Jan 2, 2013 at 6:39 am
    Jan 3, 2013 at 4:21 am
  • Hi, I used the update script and I get the following error message: MissingControllerException] Controller class Controller could not be found. ...flags.ctp(8): Object- ...
    HeohniHeohni
    Jan 17, 2013 at 11:05 am
    Apr 2, 2013 at 7:34 am
  • Works like magic bro no more conflict on other components, keep sharing God Bless! -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You ...
    Gian Carlo AsuncionGian Carlo Asuncion
    Jan 24, 2013 at 9:53 am
    Mar 6, 2013 at 2:29 pm
  • I have the players table with three field id, first_name, last_name. The PlayersController have method index that show every player in the table: public function index() { $output = $this- Player- ...
    Mariano C.Mariano C.
    Jan 24, 2013 at 12:00 am
    Feb 6, 2013 at 2:49 am
  • I am trying to save the ID for a table called Coverages in a table called Spreadsheets. I have all my associations correct but for some reason I cannot wrap my head around this task, which I know it ...
    Karl SmithKarl Smith
    Jan 31, 2013 at 5:16 pm
    Feb 4, 2013 at 3:21 pm
  • Hi all. I am struggling passing a variable to my before save function in my User model. Controller: $this- User- read(null, $data['user_id']); $this- User- set(array( 'noslug' = 1, 'TEST' = 'sdfsd' ...
    MetZMetZ
    Jan 29, 2013 at 2:41 pm
    Jan 31, 2013 at 3:40 pm
  • Hi I would like to call a shell command on a prdouction server without shell access. Whats the best practice of doing that? Can a shell- command being called from a controller? Thank you, Frank -- ...
    LDSignLDSign
    Jan 29, 2013 at 5:00 am
    Jan 29, 2013 at 11:00 am
  • HI every one plaese let me know which api i hav to use to build site like www.freetocompare.ie thanks & reagrd's -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter ...
    Vaibhav.PathakVaibhav.Pathak
    Jan 28, 2013 at 6:22 am
    Jan 28, 2013 at 11:39 pm
Group Navigation
period‹ prev | Jan 2013 | next ›
Group Overview
groupcake-php @
categoriesphp
discussions149
posts500
users160
websitecakephp.org
irc#cakephp

160 users for January 2013

Lowpass: 66 posts Euromark: 22 posts Advantage+: 18 posts AD7six: 16 posts Gonzela2006: 14 posts Jeremy Burns | Class Outfit: 14 posts Jonathan Sundquist: 11 posts Karl Smith: 11 posts Mathew: 11 posts Stefano Campanella: 11 posts Anis Ghabri: 10 posts John Hardy: 9 posts Shahruk Khan: 8 posts Chris: 7 posts Luciano Bargmann: 7 posts Marcus33cz: 7 posts Michael Gaiser: 7 posts Amitsukapure: 6 posts LDSign: 6 posts MetZ: 6 posts
show more