Cakephp Questions
Ad
how to point sitemap.xml to controller action
I have controller action /posts/sitemap where the sitemap is generated. now i want to point http//yoursite.com/sitemap.xml to
Class ContactForm not found in Modelless Form in CakePHP
I'm using modelless form in my application, i followed cakephp modelless guid, but i'm having an error. i tried different methods to figure out
cakephp login form action url error in contactform Plugin
I'm new to cakephp and i face an error with form helper in plugin on xampp localhost. firstly the contact form i use is from
Cakephp's auth component logs me out too quickly. Anyway to change this?
This is my first time on stackoverflow though i "read" coding horror quite often. anyway... i'm working on a school/college project using
Can I have additional fields on the users table in CakePHP & still use the built-in auth methods?
I'm using cakephp and i want to add a first and last name column to the users table, but when i pass through the field values
How can I automatically log in a user right after they register in CakePHP?
I am using cakephp framework to build my application. i want that, whenever a user registers he is automatically logged in and shown a particular
How do I send arrays between views in CakePHP
I am not sure if i formulated the question right, but still ... i have a view that shows a flash embed and this flash take as parameter a
How can I force all URI requests to index.php?
In my index.php (which is in my project root directory) i have a basic routing system that grabs the url (using
Which IDE can detect method1 from class1 object by inheritance?
I am beginning cakephp, but i need ide for detect method of class that have 2 level extends. i need ide that detect method1 from class1
404 Not Found error in preflight OPTIONS when executing a PUT method in CakePHP API with axios in React App
So, we have an api with cakephp 3.7. we are using resources to generate crud methods. the api is hosted in a server with apache2 and
Ad
deleteAll with conditions and a delete limit
Cakephp version: 4.2.6 xampp: apache/2.4.51 (win64) openssl/1.1.1l php/8.0.11 server version: 10.4.21-mariadb - mariadb.org
CakePHP4: Link to Json File in Script
I have a cakephp4 app where i create a d3js worldmap in a <script> tag. i need to link to a json file in this line
Reactjs call Cakephp Api both on localhost : Cross-Origin Request Blocked (CORS)
I am new to react js. so for the learning sake i installed it on my system which is running on localhost with port 3000. i have also installed
CakePHP: Unique violation: 7 ERROR: duplicate key value violates unique constraint
I'm running into the following error after trying to delete a bunch of records and then insert new ones: error: sqlstate[23505]:
Argument 1 passed to pluginSplit() must be of the type string, array given
I'm currently attempting a migration from 3.10.2 to 4.0. i've gone through the guide and i'm now trying to fix issues
saving data in database in cakephp2.x event function
I'm using event listener in cakephp for save notification after like posts everything is ok and my event listener functions works good but i think
PHP: Make the CakePHP router pass all requests to a single controller
I'm setting up a cakephp project, and would like all requests passed in to be redirected to one specific controller. currently my routing
CakePHP helpers and i18n
I have some questions about cakephp, i spent long time googling for a solution and as i didn't find any i'm not sure i'm taking the right
build a cakephp query with nested ANDs, ORs, and related model conditions
I'm trying to retrieve data based on a few nested conditions as well as the values of related models. so for example the pseudo code below
CakePHP: Change database connection for all models globally based on Configure value
I've 3 copies of my code - on development workstation, a test server and a production server. accordingly, i have 3 separate db configs
Can I make web services in Laravel framework if the project is in CakePHP 3
I am working on a project which is created in cakephp 3 and i need to make an api for my android app. i have a little knowledge of laravel
Ad
Translating text direcly from DB using .po file
I've been having this problem for several days, after reseaching, i haven't found a solution. i'm on a cakephp 2.5.6 project, and i'm on the
cakephp 2.1.0 Fatal error: Class 'DOMPDF' not found
I followed this great tutorial my
How To set timezone in cakephp?
How to set timezone in cakephp ? so that default timezone should be use anywhere in the setup. date_default_timezone_set();
Getting always last value when trying to create a radio button using loop in cakephp
I'm trying to create a radio button using a loop <?= $this->form->create($account) ?> <?php foreach($gametitles as
how do I view recursive menu items from Array of Array data in PHP
I am trying to view dynamic menu into my application. i made my policy that i will have a table and i will add menu items by myself into the
What is the correct way to write a find() statement in CakePHP given a simple select query with ORDER and LIMIT?
How to write this query using the find statement in cakephp $this->form->query("select id from forms order by id desc limit
CakePHP 1.3 Error: Fatal error: Call to a member function cd() on a non-object in /var/www/html/projectname/cake/libs/cache/file.php on line 248
When i install and give permission to whole cakephp folder, it gives me below fatal error: server configurations: cakephp 1.3.x version
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails
I am using cakephp framework in my web project,it seems many people have already ask similar question before.even i try for those i couldn't find
cakephp 3 application transfer to webhoster
I'm trying to transfer a cakephp3 application from my local linux server to a online webhoster. i managed to migrate the database and put
How to update one table using another table in CakePHP 3
I have two tables like status_report and holiday. i want to update status_report table using holiday table. i
hasMany relation without table having id column
I am using cakephp 2.5. i am having following table companymaster: company_master_id
Ad
Inserting data in cakephp
I have 5 input fields, when user fill those 5 fields and hit on submit, we need to store those in database for this i have this code in
CakePHP 3 - How do I use subquery in IN condition?
I have to build the following query but don't have idea in the select max() part. having these 2 tables: players
InnerJoin in CakePHP 3 returns no rows
I am trying to learn cakephp 3, but i have run into a problem: i have two tables languages and rich_text_elements, and
Create multiple forms on one page for different models in cakephp 3.x
i have 2 models: user and userinfo with relation 1-1 (one user have one userinfo). user(id) is
Laravel 5.2 routing like cakephp
I am new to laravel. i am coming form cakephp, so routing is creating a bit of difficulty for me. i have tried the
How to include jquery ui widgets inside a 2nd stacked modal dialog?
I currently have a form inside a modal dialog, which has a link to add/edit options in one of the select drop downs. this link opens a new modal
Search engines are showing the old URL even after implementing a redirect
I just want to know what code i use in .htaccess file for 301 redirection. my old url is
Ad
Blog Categories
Ad