My blog
CakePHP issues:
http://bhooshanahirrao.wordpress.com/2010/04/05/cakephp-problems/
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
CakePHP group.
Please provide more information!
Show the code that you are trying to use when sending to the IRC.
Show the data structure that you are trying to send.
Write your own ideas of what could be the issue, what exact error
messages you get, etc.
Then we may better be able to assist you :)
Enjoy,
Consider the folder that contains app, cake etc as the root. Move everything in
that folder into your root and it should work. Don't forget the .htaccess
files, which might be invisible.
Jeremy Burns
jeremybu...@me.com
On 5 Apr 2010, at 04:29, adeveloper guy wrote:
Hi,
I need help in
And this is for - what?
Jeremy Burns
jeremybu...@me.com
On 6 Apr 2010, at 07:01, bhushan A wrote:
My blog
CakePHP issues:
http://bhooshanahirrao.wordpress.com/2010/04/05/cakephp-problems/
Check out the new CakePHP Questions site http://cakeqs.org and help others
with their CakePHP
Not sure why you've set up something new when
http://cakeqs.org/
Has been created just for this purpose. Why not contribute?
Mike Karthauser
Brightstorm limited
Tel: 07939252144
On 6 Apr 2010, at 07:01, bhushan A bhushanahir...@gmail.com wrote:
My blog
CakePHP issues:
Do you mean CakePHP 1.3 RC3 ?
If I'm not totally mistaken, there will be a RC4 within a week or two,
and then CakePHP 1.3 final.
I see no reason not to upgrade to the latest as it gets released.
RC3 is pretty stable, and the bugs are most likely in your own code.
I've had very few problems so far.
Put it all in public_html:
root
app
webroot
cake
plugins
vendors
The htaccess file will make sure that your site is served from app/
webroot.
On Apr 5, 5:29 am, adeveloper guy adeveloper...@gmail.com wrote:
Hi,
I need help in understanding where each folder of cakePHP should go
live in
My CakePHP app is getting very slow... Although the debug give me
(default) 79 queries took 24 ms the pages takes about 8 to 10
seconds to load. Other script running on the same server are
performing well, even empty pages on this same application is still
loading good with all the App Controller
actually, the performance hit is minimal!
it was just a cleaner way of grouping the actions (see above)
now they have a clean structure - in the url they are called as well
as in which file they are
and you dont have to use extensive routing to achieve that
so if there is no reason other than
+1 for MilesJ's commentia plugin, it's not akismet by any stretch, but
it certainly works for me.
http://www.milesj.me/resources/script/commentia-behavior
Blank emails using Thunderbird for me too, CTRL + U let's me see the
HTML source and copy paste the link to the correct article, but it is
Is that not over simplified? How do you specify from the controller
an update message as opposed to an error or warning notice? Surely
all such messages share very the same code and just need a class
change to alter the colour and icon used so having multiple templates
seems a little OTT.
Check
Cool, added to my To Apply bookmark list (which is far too long)
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send
It's pretty simple, really:
echo $this-Session-setFlash('Some Error.', 'flash_error');
echo $this-Session-setFlash('Some Success.', 'flash_success');
echo $this-Session-setFlash('Some Notice.', 'flash_notice');
And so on.
My success message is using jQuery to fade away, but my notice stays
until
Sorry if that came across as militant and I should have provided an
answer too, but thought that would defeat the object of changing the
subject back to it's original value.
Paul crawls back under his rock ashamed :)
Check out the new CakePHP Questions site http://cakeqs.org and help others with
I would imagine your jquery plugin does an ajax request of some sort.
If so how is it passing the data? Typically this would be serialized
and passed as a parameter.
Are you using FireBug or something similar to be able to see the Ajax
requests and diagnose what data is being passed to the
Used $ajax-observeField() method ;
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to
теперь надо использовать
?php echo $this-element('sql_dump'); ?
Но лучше поставить debug_kit
On 3 апр, 10:52, ZoRRo mailof...@gmail.com wrote:
Решил опробовать версию CakePHP 1.3
Скачал, установил, поправил код. Единственная проблема не выводятся
запросы SQL, при Configure::write('debug',2);
Do you have security component enabled? By default it creates a token
based on all the fields that exist when the form is first loaded and
as such adding ajax fields on the fly will invalidate the form upon
submission.
However whenever working with Ajax you should use something like
FireBug so
Layouts are available to all controllers. Views are linked to
controllers, but can be changed within any action using the Controller-
render() method including running elements instead of views etc. Any
data sent to the view is also available within the layout .
However, as cricket states, if
On Apr 6, 10:06 am, Ayman Bedair ayma...@gmail.com wrote:
My CakePHP app is getting very slow... Although the debug give me
(default) 79 queries took 24 ms
79 queries is a lot. Even if each of those queries took 0ms (and
returned nothing) it'll cost you approximately 2ms per query - which
is
Is this the same query as you've posted at
http://groups.google.com/group/cake-php/browse_thread/thread/1db322c3db6238d3?
It's much better to contain all aspects of a query in one thread that
way people have the entire picture of what you are doing in one
place.
This is also a continuation of
Hello,
instead of umlauts, i see only signs on my website. I think the
problem occurs because i developed with Windows 7 with a tool which is
not UTF-8 compatible and later, i moved the needed files to Ubuntu. To
solve this, i downloaded the Notepad++ Editor. Then i opened all files
and checked
Hi Paul,
Thanks for the reply, got it fixed.
It was a simple error in that I should have been using:
$this-data['Photo']['attachmentName'] = $_FILES['Filedata']['name'];
rather than...
$this-data[$this-postType]['Photo']['title'] = $_FILES['Filedata']
['name'];
$this-postType referred to the
Your configuration should work, so must reduce the errors source.
Can you see special characters hard coded in html correctly in the page?
I mean, do not use the database
Leave just this in the head and make sure the file is correctly utf-8 saved
- inside my default.ctp layout file:
and inside
Hi guys,
Hoping you can help..
I have two versions of my project, one which uses ACL and the other
which doesn't.
This next piece of code is identical between both projects:
// create folder
$this-create_folder(/files/{$clientId}/{$albumId});
In my non ACL project this simply goes ahead and
On Apr 6, 2:56 pm, fonzie mic...@gmail.com wrote:
Hi guys,
Hoping you can help..
I have two versions of my project, one which uses ACL and the other
which doesn't.
This next piece of code is identical between both projects:
// create folder
Hi AD,
Thanks for coming back to me.
The link is broken but I've achieved it with two simple mkdirs.
Very odd that the same code wouldn't work with ACL.
Either way resolved, thanks :)
On Apr 6, 2:29 pm, AD7six andydawso...@gmail.com wrote:
On Apr 6, 2:56 pm, fonzie mic...@gmail.com wrote:
On Apr 6, 4:03 pm, fonzie mic...@gmail.com wrote:
Hi AD,
Thanks for coming back to me.
The link is broken
No it isn't ;)
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed
Upgrade from 1.1 to anything will be painful. If you need only bugfix
your project I recommend to stay on 1.1. But if you need to develop
new features / change existing ones, better upgrade. In this case of
course upgrade to 1.3 but better wait for stable if you have time. Or
start migration now
You may copied Cake caches when created dev installation. Clear caches
in both instances and it will solve problems.
On Apr 6, 5:07 am, JivaEric e...@jivacreative.com wrote:
Hello everyone-
I have a weird issue I can't seem to figure out. I have two instances
of the same code on a Windows
Hi all.
Sorry if its a noob question, but I cant find it anywhere...
So...
I have this two tables:
Users:
id - int
username - varchar
password - varchar
created - datetime
Projects:
id - int
name - varchar
created - datetime
and this HABTM table:
User_Projects:
id - int
user_id - int
There is a reference to NOT IN in the guide - I am sure you could adapt that?
http://book.cakephp.org/view/1030/Complex-Find-Conditions
Jeremy Burns
jeremybu...@me.com
On 6 Apr 2010, at 17:13, Renato de Freitas Freire wrote:
Hi all.
Sorry if its a noob question, but I cant find it
I've searched for a solution to my specific problem, but haven't found
it yet - probably because I'm not sure how to describe it in a search
field ;)
The situation is as follows:
Model 'Product' hasmany 'Variation' (as in: a product in a webshop can
come in different colors). Each Variation has
Hi!
I have interesting problem which I can't figure out for a long time.
Our website uses its own session handling module. It provides a unique
ID to a user i.e. SID. Copy of a SID is stored in the database.
Each link must have this SID as one of the parameters as well as each
form should have
Buena Pessoal, estou com pequenos problemas com um sistema que estou
desenvolvendo, ainda sou iniciante no Cake PHP, que queria uma ajuda
O Problema é o seguinte: Tenho duas tabelas e tenho que de alguma
forma relaciona-las
- tabela usuarios;
- teblas professions;
onde cada usuario tem uma
Hi there,
is it possible to use a datetime field (picker/select-box) combinding
different options to get a min and maxyear and a time interval set to
hours (60 Minutes option drops me a tim field without date function)
TIA CU
Michael
Check out the new CakePHP Questions site http://cakeqs.org
I got a pretty simple setup here, but can't seem to get the data to
save automatically (like its supposed to). Any guidance would be
appreciated...
I have two models: contacts and phones. Contacts HABTM phones and
vice versa...
contacts_controller.php
class ContactsController extends
Thanks to both you and nurzvy.
You are right - the reason I need a HABTM relationship is that two
people can share the same phone number.
So the only way to do this (once I get the actual syntax right) will
be to save the phones first, gather their ID's, and reformat the data
array, and then do
Never did it but try this.
After uploading the csv file to the server use mysql to do the rest
LOAD DATA *LOCAL* INFILE '*/importfile.csv*'
INTO TABLE *test_table*
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\n'
(field1, filed2, field3);
See also
Thanks guys. I think I'm gonna migrate to 1.2.6 (current stable). I''ll take
the time to refamiliarize myself with cake and at a later date migrate to
whatever is the latest release.
Is there some drastic improvement about 1.3 that one might consider making
the jump straight to 1.3?
Cheers,
I am designing an app at the moment, which has Users, Leaders and
Groups.
I want Leaders to be able to see all the Users in their Group.
My question is about the proper way to do this, if there is one...
should it go in the Users controller (since Users are being viewed) or
the Leaders
Você deve buscar as profissões usando o find('list')
http://book.cakephp.org/view/810/find-list
e definir o nome da variável com o mesmo nome do campo que é FK de
profissão na tabela usuarios
uma vez criado o campo pelo helper $form, ele vai ser auto preenchido
I'm not sure what to make of this.
When I try to load my site it gives me an error of:
[code] *Parse error*: syntax error, unexpected T_STRING in *
\..\..\..\users_controller.php* on line *184* [/code]
Line 184 in users controller is:
[code]
function login()
{
} // line 184
[/code]
If I
Having validate = first per default in saveAll() was terrible.
Automatically saving related data is not possible anymore, since the
foreign keys are not set before the main model is saved. =/
On Apr 1, 10:53 pm, jacmoe jac...@mail.dk wrote:
For the record:
I my RC2 powered app, I had this piece
Migrate to 1.2 _now_ is the worst decision. 1.3 almost ready, and when
it release, 1.2 will become too old very quickly, as it was with 1.1
when 1.2 finally released.
Plus 1.2 is not compatible with PHP 5.3 instead of 1.3 (this
compatibility is one of the drastic improvements). And it will make
I have two different models, Skatepark and Weather. I am calling $this-
Skatepark-read(). The Weather's beforeFind() never gets called but
it's afterFind() does. Any ideas why this is happening?
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related
Thanks for the input Dr. Loboto. Does anyone else agree with this assessment
though? Should I just migrate to 1.3 instead of 1.2.6? I already started
migrating to 1.2.6.
Cheers.
Adam
On Tue, Apr 6, 2010 at 6:49 PM, Dr. Loboto drlob...@gmail.com wrote:
Migrate to 1.2 _now_ is the worst
I think that happened to me when my nick wasn't registered and I tried
to say something. There were some instructions on the join message
from the server ( not the channel ) to follow if I recall correctly.
Ralph
On Apr 5, 11:28 am, merovinq merov...@gmail.com wrote:
I keep getting a Cannot
here it is ..
http://www.wikihow.com/Register-a-User-Name-on-Freenode
On Wed, Apr 7, 2010 at 9:39 AM, ralph.marchil...@gmail.com
ralph.marchil...@gmail.com wrote:
I think that happened to me when my nick wasn't registered and I tried
to say something. There were some instructions
Migrating from 1.2 to 1.3 is pretty easy - I found it to be a breeze
With 1.3 being so near finished planning to move to that is a good idea -
the jump from 1.1 to 1.2 is bigger
1.3 is nice fast and very stable; If your using git to manage your app then
you can easily make a branch for 1.3
Hi, I'm designing a travel document application ...
In this application, after we confirm user data, the application will assign
a travel document to this user.
Here's the related tables, documents and applicants tables
CREATE TABLE `applicants` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
HI Sam,
Thanks for your response.. As per your suggestion i tried
adding rewrite base to all three .htaccess file under cake_install_dir,
cake_install_dir/app and cake_install_dir/app/webroot. BUt it doesnt seems
to work. BUt putting this .htaccess file in root of server, it directs
I understand this question has been asked over and over again, but I
have yet to find a solid solution to my problem.
So here it is, I have a route:
Router::connect('/host-reviews/:host/user-reviews/:service_type/*',
array('controller' = 'user_reviews', 'action'='index'),
53 matches
Mail list logo