Re: ajax-problem onchange

2008-05-05 Thread robdeman

yes site is still down.. anybody here with a similar tutorial?

On Mar 10, 6:50 pm, susa <[EMAIL PROTECTED]> wrote:
> or does anybody have the devmoz tutorial? (http://www.devmoz.com/blog/
> 2007/04/04/cakephp-update-a-select-box-using-ajax/)
> the site is not working, but it seems to handle exactly the things I
> need.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: ConnectionManager::getDataSourc error with recusrsion = 3

2008-04-10 Thread robdeman

ok answering own post

cake  framework issues

1.1.19.6305 -> OK
1.1.18.5850 -> ERROR


On 10 apr, 19:35, robdeman <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have developped CakePHP V1.1.x code under WAMP (WinXP, Apache, PHP5)
> and works fine.
> That same code has been tested on a LAMP machine (CentOS, Apache,
> PHP5) - running Plesk 8.3 and works fine.
>
> But now I have moved the same code over to the real live server (LAMP:
> FreeBSD, PHP5, MySQL) - also running Plesk 8.3 - but now Im getting
>
> ConnectionManager::getDataSource errors:
>
> Notice: Trying to get property of non-object in /usr/local/psa/home/
> vhosts/theorieplein.nl/httpdocs/cake/libs/model/datasources/
> dbo_source.php on line 704
>
> this happens when Im using recusrion 3 .. when using 2 it works
> again.. (but Im missing required data...)
>
> any solutions?
--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



ConnectionManager::getDataSourc error with recusrsion = 3

2008-04-10 Thread robdeman

Hi all,

I have developped CakePHP V1.1.x code under WAMP (WinXP, Apache, PHP5)
and works fine.
That same code has been tested on a LAMP machine (CentOS, Apache,
PHP5) - running Plesk 8.3 and works fine.

But now I have moved the same code over to the real live server (LAMP:
FreeBSD, PHP5, MySQL) - also running Plesk 8.3 - but now Im getting

ConnectionManager::getDataSource errors:

Notice: Trying to get property of non-object in /usr/local/psa/home/
vhosts/theorieplein.nl/httpdocs/cake/libs/model/datasources/
dbo_source.php on line 704

this happens when Im using recusrion 3 .. when using 2 it works
again.. (but Im missing required data...)

any solutions?


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



CakePHP V1.2.x.x on IIS?

2008-02-18 Thread robdeman

Hi all,

I have been trying to get CakePHP V1.2.x.x (1.2.0.6311 beta to be
specific) to run under IIS.
Setup:

IIS 5.1 on WinXP - PHP V4.3.4

When using Cake straight out of the box with only a DB connection
configured, it complains that the cache is not working. tmp directory
is writable.

Any help here?

--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



any GData updates?

2007-11-19 Thread robdeman

Hi all,

is there any update on CakePHP and GData?
Any code snippets, wrappers, tutorial, blogs, etc...?

If not: is there any example code of how to work with the Youtube API
using CakePHP?

thanks!

--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



cascade delete hasAndBelongsToMany

2007-08-28 Thread robdeman

Hi all,

say I have User hasAndBelongsToMany Roles

now when I delete a User I want to cascade all related Roles from the
User_Roles join table.

should this work?
$this->User->del($user_id, true);

I know that with hasOne and hasMany associations I should set the
'dependent' key in the Model association. How does this work with
hasAndBelongsToMany assocations? There is no 'dependent' key?

-ROB


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



empty $_SERVER['REQUEST_URI']

2007-06-29 Thread robdeman

Hi all,

on my webhoster's Plesk 7.5 Reloaded Windows 2003 machine I had the
problem of an empty $_SERVER['REQUEST_URI'] . This caused Cake
(V1.1.15.5144) to fail (broken URL's)

a quick patch is to add this to /cake/bootstrap.php

/**
* start fix SERVER_URI
*/
if (!isset($_SERVER['REQUEST_URI']) || empty($_SERVER['REQUEST_URI']))
{
$_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'];
// Append the PATH_INFO if it exists and isn't null
   if (isset($_SERVER['PATH_INFO']) && !empty($_SERVER['PATH_INFO']))
{
$_SERVER['REQUEST_URI'] .= $_SERVER['PATH_INFO'];
   }
// Append the query string if it exists and isn't null
if (isset($_SERVER['QUERY_STRING']) && !
empty($_SERVER['QUERY_STRING'])) {
$_SERVER['REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING'];
}
}
/**
* end fix SERVER_URI
*/


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Bekijk deze pagina: 'Cake Apps/Sites In The Wild'

2007-06-25 Thread robdeman



Klik op 
http://groups.google.nl/group/cake-php/web/cake-apps-sites-in-the-wild?hl=nl
- of kopieer de link en plak deze in de adresbalk van je browser als
dit niet werkt.


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Added Outloud.TV

2007-06-03 Thread robdeman

Folks I just added Outloud.TV - our humble Upload Video To Amsterdam
local TV project never made that $1.6 billion despide we were first,
but hey, we love CakePHP!

Click on http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild
- or copy & paste it into your browser's address bar if that doesn't
work.


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: image in BLOB

2006-07-30 Thread robdeman

oh ok YES it is the Byte Order Marker. The point is that the layout
file that is used in the view that generated the upload form needs to
be set to 'unix' byte order marker. Usually you can choose betwene
unix, mac and dos. Use unix.

robdeman wrote:
> hello all,
>
> I'm having trouble inserting a JPEG as a blob.
> My script does some resizing and stuff and then creates a valid JPEG
> file. This is stored in a BLOB field form a controller using
> 'Model->save'.
>
> The problem: when I output the data to a file before storing it as a
> BLOB it works. The JPEG data gets corrupted during the 'save'
> operation. When I overwrite a BLOB field with a corrupt JPEG with
> another JPEG using PhpMyAdmin then the new image is not corrupt.
> So it must be cake I guess that has trouble inserting the BLOB data
> correctly. Any help here?
>
> (Yes I did look at the Wiki and the Byte Order Marker thing.. I fiddeld
> around, but nothig really helped)


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



image in BLOB

2006-07-30 Thread robdeman

hello all,

I'm having trouble inserting a JPEG as a blob.
My script does some resizing and stuff and then creates a valid JPEG
file. This is stored in a BLOB field form a controller using
'Model->save'.

The problem: when I output the data to a file before storing it as a
BLOB it works. The JPEG data gets corrupted during the 'save'
operation. When I overwrite a BLOB field with a corrupt JPEG with
another JPEG using PhpMyAdmin then the new image is not corrupt.
So it must be cake I guess that has trouble inserting the BLOB data
correctly. Any help here?

(Yes I did look at the Wiki and the Byte Order Marker thing.. I fiddeld
around, but nothig really helped)


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



onBeforeFilter in AppController

2006-07-24 Thread robdeman

Hi all,

I have an onBeforeFilter in AppController.
Also I have an onBeforeFilter in myCoolController.

The problems; the onBeforeFilter in myCoolController overwrites the one
in AppController... what to do?


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---