-2
votes
0answers
11 views

Week Calendar in CakePHP

How can it be, that my Jquery Week Calendar will work without inserting the files into CakePHP framwork. And wont work within the CakePHP Frameworks ? What i did to make it view within CakePHP ...
0
votes
0answers
14 views

Multiple rows with forms to save in CakePHP

I am currently working on a bidding system, and I'm stuck on saving the winning bid numbers and amounts. This is cakePHP 2.4 by the way. When I go to submit a bid after editing the values it will ...
0
votes
1answer
16 views

CakePHP - optimizing specific urls by stripping down unnecessary functionality

Besides the obvious like caching pages, using recursive and containable, what is a good way to really minimize the memory footprint on certain urls, without just going out and writing flat php? For ...
1
vote
3answers
22 views

CakePHP Persistant Data Storage without Database (config file)?

I am building a CakePHP app and I want to store and modify a group of global settings that are customisable by the admins. There is only one shared instance of these settings so a single row in a ...
0
votes
1answer
16 views

UTF-8 characters in uploaded file name are jumbled on file upload

I'm running a system on IIS7. The page META tag has the encoding as UTF-8, and the real encoding would appear to be the same according to the Chrome menu. When I upload a file with a "long hyphen" in ...
0
votes
0answers
30 views

composer is ignoring installer-paths configuration

I'm try using CakePHP for the first time with composer, but I have some problems. I have this composer.json: { "name": "example.com.br", "repositories": [ { "type": "pear", ...
0
votes
1answer
20 views

Cakephp with PEAR on Windows Azure Website

I am trying to setup an Azure Website that will host my CakePHP website. Setting up CakePHP was simple enough by choosing the CakePHP template during the creation wizard of the Website. I tried ...
0
votes
1answer
34 views

How to use my own password hasher

I tried to follow cake's documentation do create my own password hasher, but it seems that the authentication component is not using it. This is my code: class AppController extends Controller { ...
0
votes
1answer
20 views

Highchart not displaying in cakephp

I'm working on one of the cakephp website, Where i'm using HighchartPHP libraries. But high-chart is not displaying. This issue is only when i use dynamic data from database, but if i use static array ...
0
votes
2answers
13 views

Cakephp: Many to Many Relationship with checkbox

Currently I have two table Products and Orders joined with HABTM. I would like to add the order by ticking product on the list. Below is the code in OrdersController $products = ...
-3
votes
2answers
22 views

How to change x and y coordinates from drawing PHP Mysql? [on hold]

I want to count the letters in php using some php funtions. I have used the string function but it doesn't help me. Is there any other way to use?
0
votes
0answers
31 views

cakephp manual sql query in one table

I have this table structure CREATE TABLE IF NOT EXISTS `users` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `username` varchar(50) DEFAULT NULL, `realname` varchar(50) NOT NULL, ...
0
votes
3answers
21 views

CakePHP: Apply bootstrap.css only to content of certain views, not layout

I am developing a site with a designer, and he already coded the entire static webpage with HTML/CSS. We needed an admin backend and an Auth component, so I figured a simple CakePHP app would work ...
1
vote
1answer
20 views

CakePHP: make requests to external API's before inserting data

I'm developing an app with cakephp 2.x, I'm really a newbie to cakephp and this could be a silly question. The app will be used to store social network posts (youtube videos, facebook posts, twitter ...
0
votes
1answer
28 views

CakePHP Auth - Allow access to non-logged in users, but then restrict based on other criteria

I will get straight into this. I have users, with the property of privacy. Privacy can either be public or private. I want to be able to allow non-logged in users to be able to view another user, as ...
0
votes
3answers
26 views

cake php passing the current logged in user array

cakephp is amazing but this auth stuff i haven't gotten all the pieces, my question is simple. I want to pass the current logged in users array data so i can use it in a view. I use animal names as my ...
0
votes
2answers
25 views

cakephp limit access to login screen when logged in

I don't want my users to be able to go to the login page if they are logged in. They have to log out first to be able to login. It seems simple enough, am i not understanding something correctly ...
0
votes
2answers
23 views

cakephp - using loadmodel and getting data related to the loaded model

In a controller which is completely unrelated - a DoctorsController, I need to get some info from my ChildrenMedicine model and also the name of the medicine which is in it's own related Medicine ...
4
votes
3answers
30 views

CakePHP: Check if SPECIFIC flash message is set

I have a page with several sections with forms that are submitted from the same page. The forms collapse to save space, but I want to conditionally keep them open if there is an error on submission. ...
0
votes
1answer
25 views

Brownie.panel component in cake php

I have installed the browine plugin in cake php. but it is showing problem. Please suggest. Missing Component Error: Brownie.panelComponent could not be found. Error: Create the class ...
0
votes
0answers
36 views

CakePHP many to many find filtering

I have a many to many relation between products and tags. I need to retrieve products filtered by tags, so I do it this way: $this->Product->recursive = -1; $options['joins'] = array( ...
0
votes
1answer
27 views

HTML to PDF Creation in Cakephp

Path : Vendor/dompdf I am getting Fatal error: Class 'DOMPDF' not found in C:\wamp\www\sms_app\app\Controller\SentMessagesController.php on line 313. Why i am getting error? This is my ...
0
votes
3answers
43 views

How to override default HTML Helper of Cakephp?

I’m given theme by designer and I’m assigned to integrate it with the product. Since the product size in term of source code is massive, I have to modify almost all the views and layouts. Moreover, ...
0
votes
1answer
27 views

Cakephp: Adding multiple records to single Model with one comman field

I've wanted to add multiple records to a single model in cakephp. I've been followed his tutorial http://bit.ly/1jjR1U5 and it works like charm. But I need minor tweaking from his code. I need to make ...
0
votes
2answers
35 views

cake php Can someone explain $this->request->params['pass'][0];?

http://book.cakephp.org/2.0/en/tutorials-and-examples/blog-auth-example/auth.html I'm following this tutorial on the cakephp website. I'm stuck at this public function isAuthorized($user) { ...
0
votes
0answers
19 views

Sorting search result based on search conditions in Cakephp

I am creating a website with a group search in cakephp. It searches the database fields such as groupName, tags, description with the input keyword and returns only the group name. I want to sort ...
1
vote
2answers
60 views

How to get a list of items from a category to show on a single page cakephp

I am having problems trying to get my cake application to display items from the database on a single page based on the url of the page... For example I want to display items that are in the "Party" ...
0
votes
0answers
32 views

Calling vendor scripts returns a blank page CakePHP

I am running a cakePHP app that has to call external 1st party php scripts. Controller action flow looks like this: function add($id = null, $year = null, $month = null, $day = null, $project_id = ...
1
vote
3answers
28 views

CakePHP - session timeout

I use in core.php for logout after 30 minutes this: Configure::write('Session', array( 'defaults' => 'php', 'timeout' => 30, // auto logout after 30 minutes ...
0
votes
2answers
45 views

How to send data back from a controller to a view in cakephp?

In my view, I send a Ajax POST request along with data to the controller. Then, in the controller, it will receive the data and put it into a select query as an input to get data from database. Then, ...
0
votes
1answer
12 views

cakephp migrations database rollback

I'm using migrations in cakephp to keep track of changes in my database. Let's say that I create a field in a table in the database and then I realize later on that I won't really need that field. How ...
0
votes
0answers
30 views

cakephp how to substract between two dates and input them to each record

i have been trying to find the answer by myself through google and stackoverflow (of course), but i haven't see the exact solution for my problem. I've been building an online leave apps. the ...
-3
votes
0answers
22 views

Cant pick the data out using CakePHP [on hold]

AgendaController.php public function agenda() { $this->set('agendas', $this->Agenda->find('all')); } Agenda.ctp <?php echo json_encode($agendas); OUTPUT ...
0
votes
1answer
46 views

Using Ajax with cakephp doesnt work

I have a page like this: Basically, I pick 2 dates and hit the button, then the data below will change without refreshing this page. Here is the code in controller: if( ...
0
votes
1answer
13 views

conditions in contain cakephp find

is it good or bad practice in CakePHP to have conditions set in the contain of a find query like: $data = $this->SomeModel->find('all', array( 'contain' => array( 'AnotherModel' ...
0
votes
0answers
20 views

How to fix [SocketException] Could not send email. Error in CakePHP

I have been trying to get this Email code working in my CakePHP for ages now. It is meant gather data from a simple contact form and send an email to a specific address. For now I am simply trying to ...
-2
votes
1answer
36 views

CakePhp 2.x Routing doesn't work [on hold]

I have this link: localhost/issoisso/categories/getCategories/categoryId:486 but I need this: localhost/issoisso/categoria/486 the code is here: gist.github.com/kleberksms/7756990
-2
votes
0answers
28 views

Weird happening with CakePHP [on hold]

This is my agenda http://agenda.kinwoh.nl when i put this agenda into http://test.kinwoh.nl (a template working with CakePHP) than i cant get the data what works on http://agenda.kinwoh.nl not in ...
0
votes
1answer
22 views

CakePHP mail not working on server

I recently uploaded a CakePHP 2.3.8 app to a Ubuntu 12.04 EC2 instance and now I cannot send emails when using $Email->send() but I can do it with the "fast" method of ...
0
votes
0answers
18 views

attach a filestring in cakephp cakeemail through error

$this->autoRender = false; $this->layout='pdf'; $view = new View(null, false); $view->viewPath = 'Policies'; //folder to look in in Views directory $output = $view->render('lodge_claim', ...
0
votes
0answers
32 views

CakePHP auth/acl not working

This has been bothering me for DAYS. I followed this tutorial to do the authentication: ...
-3
votes
1answer
44 views

Multiple select in input Cakephp

WHen i have an input field with the multiple options concerning 'customer_id' the data request generated is $request->data containing array(CompanysCustomer => array('id' => '1', 'uid' => ...
0
votes
1answer
34 views

How to get data from different associated tables using containable in Cakephp?

I have 3 tables: orders, discounts and products in the way that product has many discounts (discount times). Discount has many orders. in other words, it looks like: Product > Discount > Order. I ...
1
vote
1answer
26 views

CakePHP updating issue (duplicate entry)

I having trouble updating multiple fields in cake php. this is $product array( 'sku' => '45', 'name' => 'fefefef22', 'short_description' => '99', 'long_description' => '33', 'price' ...
0
votes
2answers
28 views

CakePHP URL rewriting not working on Ubuntu

I can't seem to get URL rewriting to work on a Ubuntu 12.04 server with apache2 and when the default page loads (home) it's just plain text without CSS . I'm using Cake 2.3.9 and I get the following ...
0
votes
2answers
44 views

CakePHP - password hashed twice

I try tutorial Simple Acl controlled Application from CakePHP website and I have problem with hashing password. My tables are: CREATE TABLE users ( id INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, ...
0
votes
2answers
38 views

CakePHP link to login page redirect problems

I am trying to create a very simple link that will send the users to the login page. Here is the code for my link: echo $this->Html->link('Login', array('controller' => 'Users', 'action' ...
0
votes
1answer
48 views

INVALID response paypal IPN with cakephp

i have 2 problems with paypal IPN : 1 : paypal don't send the response to the notify url ( in the variable notify_url ), it only send to the return url, even if i change the notify url in the paypal ...
0
votes
2answers
36 views

How to implement Remember me in cake php?

I am trying to implement Remember me in cake php. Actually i am using cakephp Auth for authentication method. Can we save password in cookies?? which one is the better way??
1
vote
0answers
30 views

Croogo - admin menu shows error on live server

Iam working on croogo and i have achieved all the things.But unfortunately the admin menus toggle effect does not work when uploaded on live server.When checked console,Shows this error in admin.js at ...

15 30 50 per page