Javascript error..
I have included my js files that resides in webroot/js folder in the
default layout (default.thtml) as
link('projrct.basic'); ?>
The name of my javascript file is project.basic.js
Then I found the error message like-
Notice: Undefined variable: javascript in H:\www\webr
I am having issues with my simplepie view. I can get a feed but I can
not display the feed.
I am trying to follow this example:
http://cakeforge.org/snippet/download.php?type=snippet&id=341
Please let me know what is wrong with this view...
View Index.thtml
Controller:
Simplepie->feedu
The easiest way is to have
$this->layout = 'other_layout'
in the actual view file, rather than messing with routes/ request
params.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this
I have a very simple site and am new to cake, but not MVC frameworks.
I currently use the default Pages controller to render the pages in
the site, very few of them need their own customer controller /
logic. I do however need some of them to switch to a different
layout. I have defined a default
thanx buddy will surely lookup for them :P
Thanx once again :D
On Nov 3, 3:27 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Nov 3, 8:20 am, maxpo <[EMAIL PROTECTED]> wrote:
>
> > how easy isn't it??? But u forgot it can cause a duplicate entry of
> > same student_id and assessment_id which is not a
http://xerophyte.net looks good.
Thanks friend! you are a lifesaver.
cakegchk did not provide any downloads, probably the code needs to be
fetched from repository.
I will try it somtime.
On Nov 4, 7:41 pm, Walker Hamilton <[EMAIL PROTECTED]> wrote:
> Here's my start to a component. There will e
Never mind.
I found the problem. It is because I have some course_id in groups
which do not exist in courses.
On Nov 4, 3:50 pm, Steveston <[EMAIL PROTECTED]> wrote:
> I have 6 tables
> 1. course
> 2. groups
> 3. group_members
> 4. group_events
> 5. events
> 6. users
>
> "Users" is the parent ta
I have 6 tables
1. course
2. groups
3. group_members
4. group_events
5. events
6. users
"Users" is the parent table for group_members
"Courses" is the parent table for groups
"events" is the parent table for group_events
"groups" is the parent table for group_members and group_events
(Parent tab
1. It is just not possible to do this, unless the one mysql
connection has permission to access both databases (ie same database
server, same user/pass).
2. If the permissions are ok, then you can do a join across databases
by prefixing the database name, eg
SELECT User.* from database1.users a
No no, the only issue is the recursive level.
When you query a model, by default the queries generated also include
that model's direct associations. So, when you request a Topic you
also get the Posts (one level of association away). But it doesn't
get the Users for those Posts, because that i
Sorry, I just forgot to translate that part.
Now I changed everything to English, it matches the model and table
correctly.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, s
Sorry, I translated the table name to English and I forgot to change
that part.
It was written "Usuario" everywhere, but now I changed everything to
Users, and the problem continues the same way.
--~--~-~--~~~---~--~~
You received this message because you are sub
I came up with this solution, based on code from ACL behavior. I'm a
newbie so I may have missed something important. Any comments from a
pro will be welcomed.
I have added the following aftersave function to my user model:
function afterSave() {
if ($this->id) {
$type = 'Aro';
$parent
Ask your provider, maybe it's possible ..I had similar on share
hosting and I did ask them proposing a "special CGI" and it works
On Nov 4, 7:32 pm, Andreas <[EMAIL PROTECTED]> wrote:
> Unfortunately I can't do that. Using a webhotel and I doubt they would
> do that for me.
>
> On Nov 4, 4:45 pm,
Did you set debug to 2 ? belongsTo relation is generating a JOIN
statement I believe..
I admit I have never tried having this kind of relation over 2
different DB, very interesting case. Did you try to set the Document
with a "not default" config and the user with the default one ?
On Nov 4, 10:1
Hey,
> var $belongsTo = array('Usuario' =>
>array('className' => 'Usuario',
> 'conditions' => '',
> 'order' => '',
> 'foreignKey' => 'poster_id'
>
I'm making a simple Forum plugin to train with CakePHP.
It has 4 models: Forum, Topic, Post and User:
(You can pass by this part, I put it to explain better the problem)
array('className' => 'Post',
'conditions' => '',
I have a similar question to this one :
http://groups.google.com/group/cake-php/browse_thread/thread/739fceb74b7ad621/f79ef013c80afccf?lnk=gst
which is kind of lurking unanswered. :)
Say I have 2 models, User and Document
User hasMany Documents
Document belongsTo User
They each live in sepera
I have seen this error, mainly when I was updating the site while
people were working ...
Maybe it's related to file/directory permissions or lock during
update ?
On Nov 4, 7:30 pm, "lee carroll" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm receiving intermittent errors (perhap 1 in 10 page requests
I think is a behavior related with your browser cache. Try deleting it
before going back to the list
--
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net
On 11/4/07, Jan Koprowski <[EMAIL PROTECTED]> wrote:
>
>
> Hi !
>
> I have strange "caching" in cake. I have list of some items. I delete
> it
Unfortunately I can't do that. Using a webhotel and I doubt they would
do that for me.
On Nov 4, 4:45 pm, francky06l <[EMAIL PROTECTED]> wrote:
> I had this prior to remove the zend optimizer from php.ini
>
> On Nov 4, 4:11 pm, Andreas <[EMAIL PROTECTED]> wrote:
>
> > Hi
>
> > Just downloaded the
Hi,
I'm receiving intermittent errors (perhap 1 in 10 page requests) which
either return a blank page or the following errors
Warning: main(config/core.php) [function.main]: failed to open stream:
No such file or directory in
/...server..path.../htdocs/sites/ampname/cake/bootstrap.php on line 34
Hi !
I have strange "caching" in cake. I have list of some items. I delete
item, and back to the list - item is still present... I have same
things with log (session) users, add and edit all things in cakephp...
I must press F5 to refresh view to real - what i should to do ?
--~--~-~--~
Thanks :)
On 1 окт, 17:23, esion <[EMAIL PROTECTED]> wrote:
> May be you can execute db_acl.sql stored in yourcake/app/config/sql/
> on your sql server
>
> No local cake install?! urf
>
> On 20 sep, 17:51, SpyderDriver <[EMAIL PROTECTED]> wrote:
>
> > I am stepping through the IBM tutorials and n
I have implemented ACL (and auth) using lemoncake tutorials (thanks
Geoff! - http://lemoncake.wordpress.com/2007/07/19/acl-with-groups/)
and everything works fine, though it took me a fair numbers of hours
to make it all work (btw, there is an excellent tutorial for ACL
newbies here:
http://realm
Have the same problem see:
https://trac.cakephp.org/ticket/3479
-david
On 4 Nov., 15:54, Walker Hamilton <[EMAIL PROTECTED]> wrote:
> The bakery is not sending Password Reset or New Account emails.
> I can only assume that the comment notification emails are not working
> either.
--~--~---
I had this prior to remove the zend optimizer from php.ini
On Nov 4, 4:11 pm, Andreas <[EMAIL PROTECTED]> wrote:
> Hi
>
> Just downloaded the pre beta to test out but I keep getting internal
> server error 500 in the browser when I run it. I'm sorry that i can't
> be more precise but I can't find
Hi
Just downloaded the pre beta to test out but I keep getting internal
server error 500 in the browser when I run it. I'm sorry that i can't
be more precise but I can't find any logs anywhere.
I had another cakephp installation running on the same machine just a
few days ago (the current stable
Here, better: http://code.google.com/p/cakegchk/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send
The bakery is not sending Password Reset or New Account emails.
I can only assume that the comment notification emails are not working
either.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To pos
Here's my start to a component. There will eventually be an extended
API section and a helper to go along with this, as I am actively
working on 3 projects that will be useing and are using google
checkout.
Here's the first one: http://xerophyte.net
http://code.google.com/apis/checkout/samplecod
You can change the path to access your cakeapp on several ways. E.g.
htaccess, index.php, cake-route.
I would use a model also for forum.
Greetings
On 3 Nov., 17:29, mbleonardo <[EMAIL PROTECTED]> wrote:
> Hi all, I wanna start making a forum application with CakePHP and I'm
> asking for sugges
Thank you.
On Nov 2, 3:10 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Nov 1, 2:46 pm, Richard <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I have several component classes that need to extend a parent class.
> > Which is the correct approach:
>
> > class Availability extends Object
> > {
> >
Hi,
Are there any components to integrate Google checkout or paypal with
CakePHP 1.2?
I can see one component for cake 1.1 but not clear about how much it
supports.
Anybody any suggestions?
TIA,
Rex
--~--~-~--~~~---~--~~
You received this message because you ar
Is "the Rails" book titled Agile Web Development with Rails ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from thi
Thanks, Gwoo! That does help. I'll start updating all my cache()
calls.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscri
You request the action in an action, one instance of the modelB is
already loaded and used. I think that quite the way I expect it to
work, creating new instances would make some tasks very difficult to
achieve as well as performances poor (in my opinion).
However, you can still create explicitly
37 matches
Mail list logo