http://www.xapian.org/
Xapian is an Open Source Search Engine Library, released under the
GPL. It's written in C++, with bindings to allow use from PHP
Xapian is a highly adaptable toolkit which allows developers to easily
add advanced indexing and search facilities to their own applications.
It
Ok I changed my file as you are saying
$cakeCache = array('File');
To:
$cakeCache = array('File', array(
'dir' = dirname(dirname(__FILE__)) . DS . 'tmp',
'prefix' = 'cakecache_',
'lock' = false
));
but I am still having the:
Your cache is NOT working.
Edit:
I've fixed thw
The other problem is that I dont have that neat style that Cake
usually gives.. it just shows me a white page but no style.
what I did, it was a vhost and that way xammp doesnt mess with the
root file.
On May 13, 4:02 pm, Changoso [EMAIL PROTECTED] wrote:
Hello!
well this is
So I found a kind of half-solution. I have decided for phpbb2 (for
its largest mod database and community support). In phpbb2 template
system you cannot use PHP in the templates. So I downloaded dothings
mod, which takes php doc, runs it with output capturing and then
assigning the captured
Hello!
I get i18n working, and it is a great improvement.
btw, it would be also nice to see an i18n routing :)
this way it would be possible to give descriptive urls in any language
but my question is not this
if I understood it well, then the __( ) function does not implement
string
Some ajax questions:
I have a div called domaincheck.
In that div i want to load 5 other divs with the domainextentions.
If you look at the example below, when all domains are showed in the
div domaincheck then an ajax icon wil apear and that one updates the
status of the domain if it's
Hi there,
Is it possible to pass html settings such as 'id' or 'class' through the
$ajax-link helper?
The api lists the syntax as:
AjaxHelper::link ($title, $href = null, $options = array(), $confirm = null,
$escapeTitle = true)
It then goes on to list the options as ajax related attributes,
Hello,
I am trying to get the rss working with the help of the rss-helper of
1.2, but somehow cake doesn't spit out valid rss.
Here is the problem and what I've done:
- I have followed the instructions at
http://cake.insertdesignhere.com/posts/view/8
- When I type webroot/model.rss as url in
First of all, don't assume things are not working just because it doesn't
work for you:
http://bakery.cakephp.org/comments.rss
That's an RSS feed generated with CakePHP 1.2 and works like a charm. So you
know this is how it works:
On app/config/routes.php add:
Router::parseExtensions( 'rss'
On 5/14/07, Mariano Iglesias [EMAIL PROTECTED] wrote:
First of all, don't assume things are not working just because it doesn't
work for you:
http://bakery.cakephp.org/comments.rss
Corollary to above - Don't assume it will work for everyone just
because it works for you / some
That said
Not applicable. If you want to start a car without gas, don't come and say
the engine is not working.
-MI
---
Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your
On 5/14/07, Enchy [EMAIL PROTECTED] wrote:
Hi
I have seen it before where you dont have to create a index.thtml or
edit.
You just setup your controller and model and it automatically goes to
a page where you can edit any column in your table.
How is this done?
Are you talking about
This is what I was talking about. Mariano posted some code that should
be helpful. But was it necessary to mock the poster?
On May 14, 7:58 am, Mariano Iglesias [EMAIL PROTECTED]
wrote:
Not applicable. If you want to start a car without gas, don't come and say
the engine is not working.
Who's mocking who?
-MI
---
Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your knowledge.
BAKE ON!
blog: http://www.MarianoIglesias.com.ar
-Mensaje
I ended up assigning the variable to a js variable in my view. That
worked great. Thanks!
On May 12, 3:21 pm, Vladimir [EMAIL PROTECTED] wrote:
assigning js var is better because .js file can be cached
--~--~-~--~~~---~--~~
You received this message because
Hello, everyone!
I'm trying to build an Access Control Tree :-) looking like this:
actions
- - controller
- - - - add
- - another
- - - - add
and setup the following rights for users:
supervisor has full access to actions
user has full access to controller and no access to another.
Here is
Thanks for the replies. It is indeed helpful.
Maybe I should stated it more clearly, but nowhere in my post I was
blaming the problem on cakephp... I was just strugling with this
problem and I was really looking for a solution. The only thing I said
was that it I could not get valid RSS. Of
In Cake 1.1.13, it was possible to override the views in cake/libs/
views/templates/scaffolds for the whole application by creating views
in app/views/scaffold/*.scaffold.thtml. It doesn't work in Cake
1.2.0.4451alpha.
Is it a bug or do you, development team, intented to do so (i.e.
removing
Cool, try with that car model I sent you, it should show you how to start
your engine.
-MI
---
Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your knowledge.
Geez that's freaking hot.
6 C here.
-MI
---
Remember, smart coders answer ten questions for every question they ask.
So be smart, be cool, and share your knowledge.
BAKE ON!
blog: http://www.MarianoIglesias.com.ar
Damn, 43! 15 here...
Still two unresolved issues.
1. For some reason, the RSS is not valid yet. The reason: about 8
spaces before the ?xml... ? starts. Anyone have a clue how I can get
rid of these spaces? When I save the rss file and I remove these
spaces, everything works!
2. There is still a
Hi,
When I set DEBUG to 0 and I test with bogus controller names, I get
404 Not found as the pageTitle - which is perfect.
But is there a way of overriding / changing the page title?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are
Oh, and maybe it is also good to show how my template file (in view/
rss) looks:
-
?xml version=1.0 encoding=iso-8859-1?
rss version=2.0
channel
use sprintf/printf:
sprintf(__('there_are %d comments'), 16);
On May 14, 5:07 am, V [EMAIL PROTECTED] wrote:
Hello!
I get i18n working, and it is a great improvement.
btw, it would be also nice to see an i18n routing :)
this way it would be possible to give descriptive urls in any
Just use 1.2 it's great!
On May 14, 1:32 am, Aaron Shafovaloff [EMAIL PROTECTED] wrote:
If it's a long-term enterprise application, and you're just getting
started, my opinion is to start using 1.2.
On May 13, 8:35 pm, Oshuma [EMAIL PROTECTED] wrote:
I've recently started a project using
On 5/14/07, Aaron Shafovaloff [EMAIL PROTECTED] wrote:
If it's a long-term enterprise application, and you're just getting
started, my opinion is to start using 1.2.
Although I don't know about the enterprise label, I have to agree
that going with 1.2 is probably a better idea. It's very
Hi
I'm using adodb to connect to my DB (MSSQL2000) and when I write:
function returnSomething
{
$this-set('data',$this-MyModel-findAll());
}
I get the following message from the browser:
Warning: Missing argument 2 for DboAdodb::fields(), called in mySite
I'm working on my first phpcake application and I'm trying to create a
nice admin front-end to the database. I'm using obAuth and I
uncommented CAKE_ADMIN from the config. I'd like to use a different
layout for my login function in my Users controller than the admin
front-end when you login.
You have it right. I do that all of the time. Just set $this-layout
within one of your actions.
On May 14, 8:55 am, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
I'm working on my first phpcake application and I'm trying to create a
nice admin front-end to the database. I'm using obAuth and I
Thanks for that, but it didn't work in the end for what I needed to
do. This is the code I ended up with in my model, so anyone working
with a cloud tag can give it a try:
function tagcloud()
{
return $this-query(SELECT `Tag`.`id`, `Tag`.`tag`,
I'm currently using a collection of SQL scripts to manage my database
tables. The scripts are pure SQL which I just 'source' in the mysql
command-line utility. However, with a growing number of tables,
single scripts are getting a bit hard to manage. Is there a better
way to handle database
Router::connect('/admin/projects/:action/*',array('controller' =
'projects', 'action' = 'index',CAKE_ADMIN=true));
when I do this like above,$paginator-prev and -next don't work.
where is problem?
--~--~-~--~~~---~--~~
You received this message because you are
On 5/14/07, Oshuma [EMAIL PROTECTED] wrote:
I'm currently using a collection of SQL scripts to manage my database
tables. The scripts are pure SQL which I just 'source' in the mysql
command-line utility. However, with a growing number of tables,
single scripts are getting a bit hard to
Hi,
I am a newbie to cake. I just read cake's manual and have a quick
question:
class User extends AppModel
{
// Its always good practice to include this variable.
var $name = 'User';
what does this $name mean? is it mandatory? Can I name it something
else? If I do not have this
On May 14, 2007, at 10:34 AM, Ming wrote:
Hi,
I am a newbie to cake. I just read cake's manual and have a quick
question:
class User extends AppModel
{
// Its always good practice to include this variable.
var $name = 'User';
what does this $name mean?
It's a way to ensure
I am still fairly new to cake and am trying to get some more info on
how to do a dynamic submenu using components and elements, and have
looked thru some of the posts and the manuals and can not seem to get
a good example or explanation on this, most of it points to the old
wiki which is no
On 5/14/07, Marcus [EMAIL PROTECTED] wrote:
Hello guys,
I'm trying to get the plain data from a POST (not a submitted form!)
request. Think about such a request:
POST /baz/post_test HTTP/1.1
Host: foobar.baz
Content-Type: text/xml
Content-Length: 666
abc
def123/def
/abc
How can
ACL in 1.2 has changed (quite significantly). AFAIK ACL is not yet
functional in 1.2.
http://groups.google.com/group/cake-php/msg/b03b899ebb73b488?hl=en;
On May 14, 1:12 pm, christianandradet [EMAIL PROTECTED]
wrote:
hi
i am working with cakephp 1.2..., i'am traying to use this in
Yes, I want to parse it with SimpleXML. But to do this I need to
access this data from within CakePHP - and this is my problem: I can't
access the POST body (XML snippet) in my controller action ...
(in this case we have a XML snippet in the POST request but it's also
possible that we have plain
On 5/14/07, Marcus [EMAIL PROTECTED] wrote:
Yes, I want to parse it with SimpleXML. But to do this I need to
access this data from within CakePHP - and this is my problem: I can't
access the POST body (XML snippet) in my controller action ...
I don't follow you here. You mean you can't
Hi guys,
I've just started using CakePHP a couple of weeks ago and so far I'm
beyond impressed with its flexibily and simplicity. I'm currently
implementing othAuth for the administration pages of the app and so
far its been great and works fine.
My question is this. as it is right now...
On May 14, 8:39 pm, Chris Hartjes [EMAIL PROTECTED] wrote:
Yes, I want to parse it with SimpleXML. But to do this I need to
access this data from within CakePHP - and this is my problem: I can't
access the POST body (XML snippet) in my controller action ...
I don't follow you here. You
On 5/14/07, Marcus [EMAIL PROTECTED] wrote:
I don't follow you here. You mean you can't access the $_POST variable at
all?
The $_POST variable is empty if I try to dump it with debug() in my
controller ...
Okay, I'm even more confused now (but that's common these days).
I'm assuming
On 5/14/07, Dave J [EMAIL PROTECTED] wrote:
My question is this. as it is right now... I'm using CakePHP's
admin routing functions to implement the admin actions (ie. the admin
actions are sitting alongside the 'public' actions in the same
controller). Now, on a heavily visited
Thanks for the reply Chris.
That wasn't the problem though, I cleared out the cache completely,
problem is still occuring.
Any other ideas?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post
On May 14, 9:11 pm, Chris Hartjes [EMAIL PROTECTED] wrote:
I don't follow you here. You mean you can't access the $_POST variable
at all?
The $_POST variable is empty if I try to dump it with debug() in my
controller ...
Okay, I'm even more confused now (but that's common these
I didn't tried your example, but if I have understood it well, then
__('dont_echo') would still echo dont_echo, so to achieve what you
wrote you should use __('dont_echo', true)
this would probably work, but is tedious, given that you need very
often to add some substrings
as an other idea it
without changing anything on the server, session data seem corrupt.
all of sudden the data column does not contain neatly serialized
data like :
Config|a:3:{s:4:rand;i:6637528;s:4:time;i:1179...
but
UPDATE `sessions` SET `data` = '7YDr60NnYV1R2asLTAPMDb-
bump.
i have the same problem!
on irc nobody seems to know this either :'(
On Apr 12, 1:08 pm, Derim [EMAIL PROTECTED] wrote:
Hi
I want to use drag and drop feature in my new CakePHP project.
I spent most the day today trying to figure out how controller action,
called by $ajax-dropRemote
...further debugging yields some interesting tidbits...
When debug=2, the 'url' specified in $ajax-observeField() is invoked.
I determined this by having the cake action output a log.
When debug=0, the 'url' specified in $ajax-observeField() is not
getting invoked (no log from the cake action).
Perhaps you should try:
$post_data = file_get_contents ('php://input');
That will tell you if your data is being posted correctly.
On May 14, 4:11 pm, Marcus [EMAIL PROTECTED] wrote:
On May 14, 9:11 pm, Chris Hartjes [EMAIL PROTECTED] wrote:
I don't follow you here. You mean you can't
Hi L, look in the manual for scaffolding.
Regards,
Langdon
Enchy wrote:
Hi
I have seen it before where you dont have to create a index.thtml or
edit.
You just setup your controller and model and it automatically goes to
a page where you can edit any column in your table.
How is this
here's another debug message.
INSERT INTO `sessions` (`data`,`expires`,`id`) VALUES ('WoONRKQof-
dpa5Lk1aqI_xbaYeex74vqPLtW1mBgp9_Qnr9MDsstjrHy_FdX6BAjwOMJgnKMkGNrO866i1WSxubOkjHSI7jnWiVXkvCQBeyJDkV8Lfh64sZ-
hsY1in1W7eB2SdIMIb73lSK7PS6fc6Y-ThkwtlX_EAQG15S6LF602kyJFZbuy5rRS__S-
Agv',
By the way, I need it to exclude multiple strings. So something to the
effect of:
Router::connect('/:group/:curriculum/*',
array('controller'='curriculum'),array('curriculum'='!xyz AND !abc
AND !mno'));
On May 14, 3:38 pm, Aaron Shafovaloff [EMAIL PROTECTED] wrote:
With Router::connect I'd
the aforementioned problem went away after one hour or so.
perhaps i should consider changing my hosting provider ..
thanks for looking over this :-)
jyrgen
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP
From what I can see in trac the next release will have a mechanism for
including extra columns from a habtm join table. In the meantime, are
there some techniques that might help me to get around this issue?
Thanks,
Jon
--~--~-~--~~~---~--~~
You received this
Wooo hoo!
I figured it out:
Router::connect('/:group/:curriculum/*',
array('controller'='curriculum'),array('curriculum'='\b(?:(?!
curriculum|courses|facilitators|configuration)\w)+\b'));
Thanks to:
http://www.roscripts.com/PHP_regular_expressions_examples-136.html
On May
I'm sure this is a newbie question but I've been unable find the
answer. If I run findAll on a simple table with no joins, I get an
array with an unnecessary middle level with the model name, eg.
Array ( [0] = Array ( [User] = Array ( [id] = 1 [username] = user1
[emailaddress] = [EMAIL
Like this?
http://groups.google.com/group/cake-php/browse_thread/thread/bef70558f7854732/6363603e04fcee68?lnk=stq=rnum=10#6363603e04fcee68
Check out the 3rd post by nate.
On May 14, 7:07 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
From what I can see in trac the next release will have a
59 matches
Mail list logo