Alright! Problem solved. Hope this helps everyone else with Java
applet issues in their Cake views while debug is 1+
I don't understand the solution and don't know squat about Java, but I
found the solution here:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6506467
I followed the "add fi
Just another clue:
When debug is set to 1+, the Java console reports this error (among
many others):
Exception in thread "thread applet-Painter.class-2"
java.lang.NoClassDefFoundError: IllegalName: http://www.w3.org/TR/xhtml1/DTD/
xhtml1-transitional.dtd">
I am guessing this means that some HTML
If its possible in PHP, its possible in CakePHP. I suggest going
through the blog and ACL tutorial to help get you started:
http://book.cakephp.org/view/1527/Tutorials-Examples
On Jul 6, 7:47 pm, maxarbos wrote:
> I am just getting into learning about cake and wanted to know if I am
> going t
Hi Andy,
I appreciate your checking in and adding your thoughts. I commented
out the time stamp code and verified it was no longer appearing in the
HTML, but still experienced the same issue with the applet not loading
properly. I added Configure::write('debug', 0); to the controller
method that
I've done the configuration right.
Let me validate by giving an example
>From the command line using psql command able to connect with my
database
# psql -h localhost -d IVR -U freeswitch
Welcome to psql 7.4.16, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
hi this is baski,
i started studyiing cakephp.. i just wanna know that is uses of
cakephp?
what is difference b/w php and cakephp?
pls send me the link if any site was developed by cakephp.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related
Please help me in cakephp multilingual site. If you have any tutorial about
this please send
--
Thanks & regards.
Yasir Arafat (Hasib)
Software Engineer
Epsilon Consulting and Development Services (ECDS)
Contact Information:
Cell : +8801816536901
Web: http://a
I am just getting into learning about cake and wanted to know if I am
going to be able to do the things I am hoping it can do, easily.
The site I am going to use this for is a product rental agency. They
have a number of categories with unlimited levels of parent to child
relationships. Prices can
I've been struggling with the well-trodden issue of wanting stand-
alone elements to use requestAction() to isolate their data needs from
their hosting controllers, and the good vs evil of that approach.
I'm less concerned with the performance aspects than the architectural
aspects.
The Cake manu
When a controller action calls another model's action of which the
user does not have privileges, the original action fails. Is there any
clever way of allowing controller actions to call actions in other
models without being denied due to user privileges?
For Example :
Staff member has full acce
hi pips!
i need ur help.
i'v got 2 models: prospects and programs.
prospects saves records of prospects for one or more programs while
programs have records of the different disciplines offered.
the prospects model looks like this:
create table prospects(
... ,
... ,
program_first_id int(11
I'm writing a Simpletest test case for a helper class that uses Js
helper, which has the value method for turning arbitrary PHP objects
into JSON. I've done the setup: import the Js helper and construct it
before using it. This is the error I'm getting:
Fatal error: Call to a member function value
How are you? Which way can I show a post, its comments, and users that
commented them? Do you know I'm talking about, don't you? The
following example does not work, or at least I don't know how
retrieving data I wait for answers, thank you very much!
Check out the new CakePHP Questions site h
Hi all,
I am writing a TYPO3 extension to externally call Cake applications
and merge their output into TYPO3 pages. Away from TYPO3 what I am
basically trying to do is to access Cake output from another
(external) PHP script over HTTP protocol and post process it.
Everything is working perfectly
Hello,
I'm having an issue baking when specifying associations with legacy
table names. Fixtures seem to ignore the specified table name.
Couldn't find anything in groups or bug tracker. Is there something
I'm doing wrong?
I know the table names and all don't make sense, but this is from a
legacy
Nice! thanks tm
On Jul 7, 2:24 pm, Tilen Majerle wrote:
> and i forgotmore about function here:http://si.php.net/sprintf
> --
> LP,
> Tilen Majerlehttp://majerle.eu
>
> 2010/7/7 femasazo
>
>
>
> > Is there a function that does this outright?
>
> > $string = __( 'The file %s already exists.',
my bad, thats right
sry
On 7 Jul., 21:18, Miles J wrote:
> The findByUsername() magic methods are not deprecated. Have fun.
>
> Only the findCount or findAll is deprecated.
>
> On Jul 7, 10:29 am, nurvzy wrote:
>
>
>
> > Show me where it says findByx is depecated.
>
> > Nick
>
> > On Jul 7, 3:21
and i forgotmore about function here: http://si.php.net/sprintf
--
LP,
Tilen Majerle http://majerle.eu
2010/7/7 femasazo
> Is there a function that does this outright?
>
> $string = __( 'The file %s already exists.', true );
> $error = str_replace( '%s', $to_filename, $string );
> $messages
ofc it is :D
use sprintf
$string = sprintf(__( 'The file %s already exists.', true ), $to_filename);
$messages['Errors'][] = $error;
--
LP,
Tilen Majerle http://majerle.eu
2010/7/7 femasazo
> Is there a function that does this outright?
>
> $string = __( 'The file %s already exists.', tr
Is there a function that does this outright?
$string = __( 'The file %s already exists.', true );
$error = str_replace( '%s', $to_filename, $string );
$messages['Errors'][] = $error;
ie something like __( 'your name is %s', aa( 'arg', 'Damon' ) )
Check out the new CakePHP Questions site http://c
The findByUsername() magic methods are not deprecated. Have fun.
Only the findCount or findAll is deprecated.
On Jul 7, 10:29 am, nurvzy wrote:
> Show me where it says findByx is depecated.
>
> Nick
>
> On Jul 7, 3:21 am, euromark wrote:
>
> > but thats deprecated, sam!
>
> > u should always us
Show me where it says findByx is depecated.
Nick
On Jul 7, 3:21 am, euromark wrote:
> but thats deprecated, sam!
>
> u should always use the generic find(type, options)
> where options contains conditions:
>
> e.g.
> find('first', array('conditions'=>array('username'=>$username)))
>
> On 7 Jul.,
I had some issues while deploying a site to a production server
becouse I also copied the cache files from the test server, if this is
the case for you you might try deleting the cache files from the app/
tmp/cache folder and subfolders or set debug to 1 or 2 for a while in
the production server.
I am working on a staff site for my company where users must log in
and submit reports. An admin must create each new user account before
that user is able to log in to the site.
Everything seems to be working perfectly fine when testing on my local
environment, but when I test it out on the live
The 404 page is the same. When an error occurs in production mode, the
site will return a 404 instead of the actual error. That's the only
difference in how 404s are handled.
The difference that may be tripping you up is that when debug is set
to 1+ there is an HTML comment appended to the end of
Hey guys,
Having a weird problem here.
Have a basic function judge_index($type = null) that spits out a simple
listing. Basic $this->paginate(); function.
In the view I have:
$paginator->options(array('url'=>array_merge(array('judge' => true),
$this->passedArgs)));
The judge_index gets called
Better formatting for my function:
public function admin_save() {
$this->layout= 'ajax';
$this->autoLayout= false;
$this->autoRender= false;
if(empty($this->data)) :
$response = array('No input.');
else :
$response = $this->NavigationNode->
The CakePHP documentation has zero information on this function. The
API has very little more. I've looked at the code, but am not sure I
fully understand what it's supposed to be doing.
I was under the impression that I could pass reorder() a field out of
the table and it would alter the lft and
That's very odd... with that query you shouldn't get any duplicates.
Are you absolutely sure they're duplicates, not just identical rows in
the database? Do they have the same ID?
Try unbinding the associations - if you get the correct results then
add-in the associations one by one.
Otherwise,
but thats deprecated, sam!
u should always use the generic find(type, options)
where options contains conditions:
e.g.
find('first', array('conditions'=>array('username'=>$username)))
On 7 Jul., 05:42, Sam wrote:
> Try ->findByUsername($username)
>
> On Jul 6, 9:38 pm, Louie Miranda wrote:
>
Hi all,
I looked up in the cake core code and found that there are to methods
that generate the fields hash. The first is in the form helper and
generates the fields hash that's displayed at the end of the form. The
second one generates a fields hash based on the submitted fields in
the Security C
http://book.cakephp.org/view/1566/View-and-Helpers
Jeremy Burns
Class Outfit
jeremybu...@classoutfit.com
http://www.classoutfit.com
On 7 Jul 2010, at 05:58, arif hossen wrote:
>
> Dear Experts,
>
> I need help. i got below this problem when i have added renderElement in my
> layout. I have a
32 matches
Mail list logo