Sounds similar to an issue I was seeing. It only happend on IE, my
thread is here
http://groups.google.com/group/cake-php/browse_thread/thread/f92934d0974fbbec/238e7a934d9ef9f8#238e7a934d9ef9f8
In the end I disabled the cache for all the time a user is logged in,
with $this-disableCache();
Hi
Yes, it is possible use sockets in cake, here you are cake socket api
http://api.cakephp.org/class/http-socket
I hope that will help you to solve your problem
2011/4/25 carlosrg carlos.roig.gordi...@gmail.com:
It's possible to create a server socket with CakePHP?
I know about HttpSocket
On Apr 26, 11:30 am, chris chris@internetlogistics.com wrote:
Sounds similar to an issue I was seeing. It only happend on IE, my
thread is here
http://groups.google.com/group/cake-php/browse_thread/thread/f92934d0...
In the end I disabled the cache for all the time a user is logged in,
Hi all,
I am currently developing in Cake 1.3 and I've been attempting to
override the AuthComponent as described in:
http://www.milestree.com/php/custom-login-function-with-cakephp
http://cakebaker.42dh.com/2009/09/08/extending-cakephps-core-components/
I started out with a working
Hi. I set up a theme directory structure for themes within my cakephp
1.3 app. It seems to work correctly except that it's still referencing
the base css file (app/webroot/css/cake.generic.css) instead of the
themed css file (app/views/themed/default/webroot/css/default.css).
hiii i m new and want to learn cakephp who can help me??
--
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 questions.
To unsubscribe from this group,
On Apr 26, 12:39 pm, Nilesh Kangane nilesh.kangan...@gmail.com
wrote:
hiii i m new and want to learn cakephp who can help me??
You!! ;)
--
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
Try it: http://tv.cakephp.org/
2011/4/26 Nilesh Kangane nilesh.kangan...@gmail.com
hiii i m new and want to learn cakephp who can help me??
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org
In my case, this problem happens at least with Chrome and Firefox.
Can't test it at IE right now.
AD, I'll try to follow your suggestion.
On 26 Abr, 12:52, AD7six andydawso...@gmail.com wrote:
On Apr 26, 11:30 am, chris chris@internetlogistics.com wrote:
Sounds similar to an issue I was
Anyone?
On Mar 22, 12:13 pm, designv...@gmail.com designv...@gmail.com
wrote:
Hi there,
Has anyone got any idea how to get the Media Plugin to recognise
Office 2007 files correctly?
I can upload old .doc files fine and they get put in the 'doc' folder,
and don't fail the mime validation
Hello,
I'm attempting to version my sites schema, by running the following command:
$ cake -connection dev schema generate -f
Which AFAIK generates an appropriate schema.php. To test the newly
generated schema I attempt an update:
$ cake -connection dev schema update
Here I expect a 'Schema
Hello everybody!
I've installed and configured cake 1.3.8 on an Ubunutu Server 10.10
all right.
Before configuring the database, the cake home page was taking 0.15 s
to load and was alerting that it wasn't able to connect to the
database (of course)...
So, I configured my database.php (in my
On Tue, Apr 26, 2011 at 11:45 PM, Simon Males s...@sime.net.au wrote:
Hello,
I'm attempting to version my sites schema, by running the following command:
$ cake -connection dev schema generate -f
Which AFAIK generates an appropriate schema.php. To test the newly
generated schema I attempt
Something interesting to add:
When I use a localhost database the page are dispalyed very fast.
Is anything wrong with usign an external database?
Atenciosamente,
Diogo Hartmann
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP
Hi,
is there any solution available?
Or anybody who can create such a function against payment for me?
I need this urgently!
Thanks!
--
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
If I have a long list of ids(extracted from a table), and I have to pull out
corresponding records from another table, can it be done via
an iteration loop and stored in a *single* variable(so that it can be easily
passed on to the view)? Or do I have to use Relationships?
--
Our newest site
ähm, double post?
http://groups.google.com/group/cake-php/browse_thread/thread/745f772a6b0e19c6/7a1b094a9a380e75?lnk=gstq=paginate+array#7a1b094a9a380e75
On 26 Apr., 18:15, heohni heidi.anselstet...@consultingteam.de
wrote:
Hi,
is there any solution available?
Or anybody who can create such
Add a condition to your find:
'conditions' = array('Model.field_name' = $yourArrayOfIds)
Jeremy Burns
Class Outfit
jeremybu...@classoutfit.com
http://www.classoutfit.com
On 26 Apr 2011, at 17:03, goluhaque wrote:
If I have a long list of ids(extracted from a table), and I have to pull out
On Sun, Apr 24, 2011 at 11:20 PM, Labe Einhorn fifog...@gmail.com wrote:
html file under the root of the site
Do you mean in app/webroot? What does Apache's config for this site
look like? What is DocumentRoot set to?
--
Our newest site for the community: CakePHP Video Tutorials
What do you mean by socket server. Something like a REST system?
On Apr 26, 3:07 am, Dominik Gajewski dominikgajews...@gmail.com
wrote:
Hi
Yes, it is possible use sockets in cake, here you are cake socket api
http://api.cakephp.org/class/http-socket
I hope that will help you to solve your
Is $this-Stock-id set to something? What does the SQL look like? Set
debug to 2 to see it.
On Mon, Apr 25, 2011 at 1:25 PM, jackgoh kockh...@gmail.com wrote:
Hi,
I am facing some problem when deal with a realtionship tables, the
record is not display :
// in Stock model:
var
Hi,
Nobody can help me out???
Regards
On Apr 26, 1:25 am, jackgoh kockh...@gmail.com wrote:
Hi,
I am facing some problem when deal with a realtionship tables, the
record is not display :
// in Stock model:
var $hasAndBelongsToMany = array(
'Category' = array(
On Mon, Apr 25, 2011 at 12:12 PM, Doug douglas.sprin...@gmail.com wrote:
Hi. I set up a theme directory structure for themes within my cakephp
class ArticlesController extends AppController {
var $view = 'Theme';
var $theme = 'default';
Looks like you got these mixed up.
--
What have you done to debug the problem? What's different about these
files? MIME type maybe? What does google say about these files and
their MIME? How might the solutions you find online be used with Cake?
On Tue, Apr 26, 2011 at 9:23 AM, designv...@gmail.com
designv...@gmail.com wrote:
hi
I need to create ajax registration form
who have example or tutorial
thank you
--
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 questions.
To
On Tue, Apr 26, 2011 at 9:29 AM, Diogo Hartmann diogo...@gmail.com wrote:
Something interesting to add:
When I use a localhost database the page are dispalyed very fast.
Is anything wrong with usign an external database?
Ask yourself if there may be something wrong with accessing YOUR
external
What do you mean? This is per the book. the $view variable should be set to
'Theme' to indicate that I am using themes and the $theme should be set to
the name of my theme (which is 'default' in this case) right?
On Tue, Apr 26, 2011 at 2:01 PM, cricket zijn.digi...@gmail.com wrote:
On Mon, Apr
On Tue, Apr 26, 2011 at 2:05 PM, Doug Springer
douglas.sprin...@gmail.com wrote:
What do you mean? This is per the book. the $view variable should be set to
'Theme' to indicate that I am using themes and the $theme should be set to
the name of my theme (which is 'default' in this case) right?
Well of course a DB on the same server should connect much faster than
a DB on an external server. Yet in your case it's on the same LAN so
there shouldn't be huge delays with it!
The best thing to do is as circket suggested. Create a simple PHP-
Script page that uses normal DB connection
Hello.
I Have two models,Brands and Products, where Brand hasmany Products
When I calling action 'view' in my products controller, I need
following result , .
SELECT `Brand`.`id`, `Brand`.`active`, `Brand`.`name`,
`Brand`.`description`, `Brand`.`image`, `Brand`.`website`,
`Brand`.`created`,
UPDATE:
class BrandsController extends AppController {
var $name = 'Brands';
function view($id = null) {
if (!$id) {
$this-Session-setFlash(__('Invalid brand', true));
$this-redirect(array('action' = 'index'));
I don't understood cleary what you need, but try this
$brand - $this-Brand-Product-find( 'all', array ( 'conditions' = array(
'Product.brand_id' = $some_id )));
I hope this help you!
2011/4/26 Salines nikola.parad...@gmail.com
UPDATE:
class BrandsController extends AppController {
Sorry my English is not good.
when I call exp, www.example.com/brands/view/2
Show some information about the brand and the last 9 related products
added to the database, which are active 1 (online status).
The brand has many products, maybe 100, but I need only last 9.
On 26 tra, 22:13,
On Tue, Apr 26, 2011 at 4:35 PM, Salines nikola.parad...@gmail.com wrote:
Sorry my English is not good.
when I call exp, www.example.com/brands/view/2
Show some information about the brand and the last 9 related products
added to the database, which are active 1 (online status).
The brand
Thanks for the instruction, it now works.
On 26 tra, 23:22, cricket zijn.digi...@gmail.com wrote:
On Tue, Apr 26, 2011 at 4:35 PM, Salines nikola.parad...@gmail.com wrote:
Sorry my English is not good.
when I call exp,www.example.com/brands/view/2
Show some information about the brand
Hi all,
I am writing this app: http://InfiniteShelter.com
For some reason, at some point (maybe when new users register) either
the table aros, or acos, or aros_acos, or groups get truncated. I
don't know how it happens, but sometimes my data just disappears from
the database. It's very annoying
Yes, UTF8. Why have any situation that the charset prevents publish
site.
Att.
Thanks
On Apr 23, 6:49 pm, Dominik Gajewski dominikgajews...@gmail.com
wrote:
What kind of charset do you use? UTF8?
2011/4/23 Ryan Schmidt google-2...@ryandesign.com:
On Apr 22, 2011, at
Hi,
Does anyone know on how to embed an swf file in myfolder/views/pages/
home.ctp?
I tried the following embed stmt and it is not working:
div id=content1
object classid=clsid:D27CDB6E-AE6D-11cf-96B8-44455354
codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/
Same here - My docx go through to 'gen', but the MIME type is recognised by
the plugin correctly. I didn't see it as a problem though as I can still get
the file :)
On 27 April 2011 01:58, cricket zijn.digi...@gmail.com wrote:
What have you done to debug the problem? What's different about
I'm working on a system that needs to allow users to add their own
attributes to the DB. For instance if you had a movies database, I
need to allow the user to go into the attribute configuration and add
genre which would allow every record in the movie DB to have a genre
field. When they view a
Cake relies heavily on pre-defined and configured schemas... for a system you
describe you might create a relation (table) called user_defined_attributes
with a schema like:
table name: user_defined_attributes
id (PK)
user_id (FK to your user)
attrb_title
attrb_description
table name:
Thanks, This is precisely the schema I was going to use. I guess I'm
not quite sure what I'm askingor maybe it's that I already know
the answer.. heh.
Guess I'll just play with it and see what I come up with...I think my
concern is more around building the view. With the right
relationships,
http://dev.mysql.com/doc/refman/5.1/en/server-options.html#option_mysqld_skip-name-resolve
On Apr 26, 8:12 pm, Hartmann diogo...@gmail.com wrote:
Hello everybody!
I've installed and configured cake 1.3.8 on an Ubunutu Server 10.10
all right.
Before configuring the database, the cake home
I have to say I'm pretty impressed with cakePHP so far.
I really didn't think this would work, but the fact that I just did
what seemed logical and it worked like a charm just made cake awesome
in my book.
So I did confirm that you can indeed HABTM to yourself.
I created a link table called
A generic question really. I've seen a few articles that recommend
using PHPMailer for generating emails in preference to the Cake email
component, especially for bulk emails. Is there any substance to this
suggestion? What might the advantages be?
--
Our newest site for the community: CakePHP
45 matches
Mail list logo