All Questions

RSS

1 answer

0 votes

Asked by bkbooth, 1 week, 4 days ago in Installation / Configuration

Routing for pseudo-subsite

Hi

I'm creating a site where users can sign up for a subsite. I was thinking it should be fairly straight-forward to setup the routing but it's proving to be more difficult than I first thought. The complication I'm having is probably related to...

2 answers

0 votes

Asked by tamouse, 1 week, 4 days ago in Models

notice messages: error in function.unserialize

i have a new installation of cakephp, and i'm trying to do the tutorial. When I view my pages, i keep getting the following displayed:


Notice (8): unserialize() [function.unserialize]: Error at offset 5 of 2488 bytes...

1 answer

0 votes

Asked by error77, 1 week, 5 days ago in Controllers

Update form with a twist

Hi all,

I hope someone can help me as I cannot find anything on google.

I need to update a form in cakephp into fields from different tables.

For example:

<h1Update this

<?php

echo $form-create('Post');

echo $form-input('fieldFromTable1'); //Table 1...

1 answer

0 votes

Asked by johnnymoped, 1 week, 6 days ago in Shells

Accessing DboSource from Shell - Setting $cacheMethods to false

Is there a way to access the DboSource Instance from a Shell?

I need to disable methodCache because the hashing algorythm is causing false SQL-conditions. I know it could be disabled directly in dbo_source.php but I don't want to disable it...

2 answers

0 votes

Asked by frankunique, 1 week, 6 days ago in CakeQS

What IDE was used to code CakePHP?

What IDE was used to code CakePHP?

3 answers

0 votes

Asked by gattumarrudu, 1 week, 6 days ago in Models

HABTM database warning on Cake 1.3.3

Hi there,

I have these models with HABTM rlationships:

Article:


public $hasAndBelongsToMany = array(
	'ImageGallery' => array( 
		'order' => 'ImageGallery.sort', 
	), 
	'Image' => array( 
		'order' => 'Image.sort', 
		'conditions' => array(...

1 answer

0 votes

Asked by fly2279, 1 week, 6 days ago in Shells

Cron not working

I am trying to set up a cron job to run a shell on a bluehost account. I set up the cakeshell file and cron arguments exactly like the book says. I've tested the shell by using the console and everything works perfectly but I can't get the cron...

3 answers

0 votes

Asked by thedarkmist, 1 week, 6 days ago in Controllers

Missing Controller on XAMPP with windows

I'm a newbie. It seems cakephp has some misconfiguration and cannot work locally on my XAMPP portable installation (windows 7 64-bit).

I created a controller but when I try to access it I receive a Missing Controller error. But the file is right,...

3 answers

0 votes

Asked by MrEJB, 2 weeks ago in Installation / Configuration

problem with debug level 0

I have made an application with CakePHP 1.3.0 which runs fine in debug levels 1 and 2, but in debug level 0 a blank screen appears.

What should I check?

2 answers

0 votes

Asked by pastryking, 2 weeks ago in Views

Error with helpers in an Element

I am working on this application, whenever i call an ajax action to update a div in an element I get:

Call to a member function link() on a non-object in /Applications/MAMP/htdocs/jekajo/app/views/elements/playlist.ctp on line 2

on line two I have:...

3   4   5   6   7   8   9   10   11

How does CakePHP Questions work?

CakePHP Questions is easy to use: Register and login or directly login using OpenID and just ask your question!

After you ask your question you just need to wait until you have got some answers and pick the correct answer.

Other users might help you by finding the right answer by voting and giving comments.