Not only the one in app/webroot but also in app and in your root
folder!
John
On Jun 2, 9:54 am, John Andersen wrote:
> How does your .htaccess file look like?
> John
>
> On Jun 1, 11:45 pm, Jay wrote:> I think it has
> something to do with the .htaccess file in /app/webroot
>
> > On Jun
How does your .htaccess file look like?
John
On Jun 1, 11:45 pm, Jay wrote:
> I think it has something to do with the .htaccess file in /app/webroot
>
> On Jun 1, 4:24 pm, Jay wrote:
>
> > Hi John:
>
> > The problem is more like this: On my local machine, i'm getting to
> > pageshttp://loca
You mention tree behaviour but I don't see any parent, left or right fields.
Just want to clarify a few things...are these accurate statements?
- A section has many documents
- The order is (i) section then (ii) documents within the section
- The document order is not based on the name of the doc
While that may be your FTP user's full path, it most likely isn't your
server's full path. Try putting a file in webroot with the line:
echo __FILE__;
For example, putting that line in a file called path.php will probably
give you /full/path/to/app/webroot/path.php rather than just /app/
webroot/p
Shift hasMany Assignment
Assignment belongsTo Person, Shift
Person hasMany Assignment
So if I do this:
$this->Shift->find('all', array(
'contain' => 'Assignment.Person'
));
I get something like this:
Array
(
[0] => Array
(
[Shift] => Array
(
Hi Andy,
Actually that is my full path. At least when I FTP to my server,
immediately in the root directory "/" is the app folder. Is there
anything else that could be wrong?
Thanks
On May 12, 9:20 pm, Andy Dirnberger wrote:
> You need to use /the/full/path/to/app/.htpasswd.
>
> On May 12, 11
I definitely plan on attending. Chicago is a ways but I have family
near there. Looking forward to some CakeFest!
On May 30, 11:32 pm, Graham Weldon wrote:
> The website for CakeFest 2010 has just been launched.
>
> http://cakefest.org
>
> You can now signup if you are interested in attending.
I've developed a Paypal IPN plugin for CakePHP you're free to use or
at the very least use as a template for your own integration.
http://www.webtechnick.com/blogs/view/218/CakePHP_Paypal_IPN_Plugin
I hope it helps,
Nick
On Jun 1, 12:21 pm, calvin wrote:
> I'm not familiar with PayPal integrati
Cake 1.2.7
I've got a Document model that's used for uploading various files by
an admin that can then be downloaded by users. The client wanted to be
able to specify a section/category for these files and so I've
included a DocumentSection model. The index page lists all Sections,
with each Docum
I think it has something to do with the .htaccess file in /app/webroot
On Jun 1, 4:24 pm, Jay wrote:
> Hi John:
>
> The problem is more like this: On my local machine, i'm getting to
> pageshttp://localhost/index.phpandhttp://localhost/page1.phpwith
> no problem. But our web host set everything
Hi John:
The problem is more like this: On my local machine, i'm getting to
pages http://localhost/index.php and http://localhost/page1.php with
no problem. But our web host set everything up so that my homepage is
now http://www.foo.com/user/index.php and when I click on the "Page 1"
link, it r
Or if you don't want to analyze the format of the 'username' field,
you could create a method (perhaps under the User model) that attempts
to log in first using username, then tries with email if that doesn't
work.
On May 31, 8:23 am, John Andersen wrote:
> The same issue has been discussed in th
Can you explain clearly what it is you are trying to do?
1) Do you want to change the apache configuration?
2) Do you want to change the CakePHP configuration?
3) Do you want to do something else?
Based on what you have posted, I can't find out which it is you want
to do!
You could for example s
Anyone know of any instance in which the user CakePHP, upon entering
the portal using your login and password with basic ACL control. Login
to your Control Panel and can adjust your preferences and allows you
to select from several templates to navigate according to potential
pre-installed by the d
I'm not familiar with PayPal integration, but I do have a Magento
store that I'd like to add PayPal as a payment method for (right now
we just do credit card processing through Authorize.net), but there
are like 6 different PayPal payment methods, and most seem to require
a monthly fee instead of j
I didn't see where I could change the webroot =(
On Jun 1, 12:17 pm, John Andersen wrote:
> I assume that you are using CakePHP version 1.3.x, then take a look at
> the CakePHP book at:http://book.cakephp.org/view/945/Routes-Configuration
>
> It looks like you have routes set for some of your con
I do hope it is only a typo in the post and not in your code!
[code]
$this->Model1->Model2->find(
'threaded',
array('contain' => 'Model3')
);
[/code]
Is the above what is not working?
Have you checked that an association/relationship is defined between
Model2 and Model3?
Enjoy,
John
On
I'm hoping you've set the reverse relationships too?
Customer hasMany Order
But I think you may have to use the HABT relationship between
Shipments and orders.
On 31 May, 16:42, Ernesto wrote:
> hello.
>
> my app has 3 models:
>
> - Order belongsTo Shipment
> - Order belongsTo Customer
>
> Cu
I'm trying to avoid putting $uses at the top of my controller and
aiming to make do with model associations, but alas containable()
doesn't work when trying:
$this->Model1->Model2->find('threaded', array('contain') => 'Model3');
But:
$this->Model1->find('threaded', array('contain') => 'Model2.M
I assume that you are using CakePHP version 1.3.x, then take a look at
the CakePHP book at:
http://book.cakephp.org/view/945/Routes-Configuration
It looks like you have routes set for some of your controller/actions
- so take a look in your routes.php file in the config directory of
your applicati
Hi Guys:
I'm hosting a website at an address like http://www.blahblah.com/user,
and my subpages should go to http://www.blahblah.com/user/page1 but
now they are going to http://www.blahblah.com/page1
Is there a constant variable I can change to make the links go to /
user/ instead of /
And wher
I got around this by adding the following to
AppController::beforeRender until I was able to clean up the
controllers.
if (!empty($this->pageTitle)) {
$this->set('title_for_layout', $this->pageTitle);
}
On May 31, 11:27 pm, Miles J wrote:
> This was the one thing I hated that they changed. Too
Thanks Jeremy,
I intend to re-use the Cart and the Paypal plugins (and others) a lot,
which is why I asked for any comments.
The question is more related to - which design do other use in order
to ensure re-use of plugins?
a) use configuration
b) just make changes to the application
c) other
Enjo
Have you looked at the RFC specification? Have you done something
based on the information there?
Anyway, the 4.1.1.1. specification starts with:
[extract]
Extended HELLO (EHLO) or HELLO (HELO)
These commands are used to identify the SMTP client to the SMTP
server. The argument field contains the
Hi John
I guess my first reaction is asking why you feel the need to make these
components that know nothing (or very little) about the rest of the
application. Is your intention to re-use the components - in which case
portability is indeed your main driver? If not, then I'd be tempted to make
I am using CakePHP version 1.2.7 and using the return attribute works
flawlessly.
My value that I use is constructed as:
"Name of receiver "
The email address is enclosed in <> which I assume is important!
Could that be your issue?
Enjoy,
John
On Jun 1, 12:09 pm, "toka...@gmail.com" wrote:
>
@Jeremy,
Thanks for the quick response. A couple of quick questions
1. Your thoughts on PDT vs IPN [I have used the wsdl to implement
payment integration in the past, but prefer a simpler solution (HTTP)
here]
2. I believe IPN is tied to a single paypal account. What if I need to
use payp
Take a look at this:
http://cakephp.lighthouseapp.com/projects/42648/tickets/771-wrong-core-path-in-templatephp
On May 31, 5:06 am, kanickl wrote:
> Besides the filecache errors described in other posts the download of
> CakePHP 1.3.1 brought me a broken Bake Shell which reports after
> running "
IPN will send back transaction confirmation to a page that you specify. It is
then up to your code to process the response back in your site/database. You
can specify custom attributes to go along with the PayPal message so that you
can tie everything back together. I'd suggest you read the deve
Hi,
NOT related to CAKEPHP, sorry about that but I thought this question
(and also answers) will help this community.
I have built an information portal in PHP [Something like a recipe
book], where the first few recipes are free to access. The advanced
recipes are available only to paid members.
open the file "...\cake\libs\file.php"
goto line 195 and change it from
return $data;
to
return trim($data);
On May 30, 3:29 am, mark_story wrote:
> The CakePHP development team is happy to announce the release of
> CakePHP 1.3.1[1]. 1.3.1 is the first maintenance release for 1.3 and
> contains
Thanks for the reply.. It is just a typo.. Actually it contains, the
code for selecting data from database. So I removed that part while
posting here.
On May 28, 5:51 pm, John Andersen wrote:
> I assume you copy/pasted the code into the post, so I have to tell you
> that you have an error in your
Nobody ??
On 26 kvě, 06:51, "toka...@gmail.com" wrote:
> is it cakephp BUG or just some wrong apache settings? thanks. Tomas
>
> On 25 kvě, 12:46, "toka...@gmail.com" wrote:
>
> > Hi,
> > I am trying to set "return-path:" param in email header... but it is
> > not working ...I am using cake's
That's what i understood later, but as my test database was cleared
automatically, i thought nothing happened.
Thank you
On 1 juin, 07:18, Bogdan Bursuc wrote:
> I think they are imported automatically during the test.
>
> On Mon, May 31, 2010 at 6:04 PM, Yannick ANSQUER
> wrote:
>
>
>
> > Hi
>
34 matches
Mail list logo