How to integrate Twitter Bootstrap to cakePHP 1.2

2015-07-26 Thread dbarasuk
Hi all, I'm very new to this forum. First of all my excuses because I'm using cakePHP 1.2 due to the lack of good web tutorials. So i have finished reading a PDF book I just downloaded from the Internet. I'm stuck on how to integrate Twitter Bootstrap in my exercise applicatio

How to use ajax to update values using drop down button in cakephp 1.2

2014-07-24 Thread mike brandon
Hi all, I am quite new to cakephp. So ...things which are easy for you are quite difficult for me now. Plz help me to get it soon. my problem is i am not able get the edit field id and cant edit it as click on edit button which i made.evrry time i have to get my search done.then,my search disa

Multiple apps one core in cakephp 1.2

2013-08-05 Thread Amogh Venkatesh
I have requirement like this, I currently have a www and www2 folder in which i have example.com n corp.example.com app respectively. I want to make it a single www folder so that i can use only one core. I was able to do this in 2.3 but i am not able to do it in cakephp 1.2. What path should

Re: CakePHP 1.2 Layout error

2013-01-02 Thread Marcus James
Found the error there was a file BOM encoded -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@google

Re: CakePHP 1.2 Layout error

2013-01-02 Thread Maicon Pinto
Hello Marco, Do you can to put of source code of your Layout? ;) Em quarta-feira, 2 de janeiro de 2013 03h39min30s UTC-3, marco metal escreveu: > > Hi, > > I made a custom layout for admin panel. The problem is when i validated my > HTML i am getting an error > > *"* *Non-space characters fou

Re: CakePHP 1.2 Layout error

2013-01-02 Thread lowpass
My guess is that one of your files contains a byte-order mark (BOM) which you should remove. What editor are you using? Be sure to check not only your layout template, but any view or element templates as well. On Wed, Jan 2, 2013 at 1:39 AM, Marcus James wrote: > Hi, > > I made a custom layout

CakePHP 1.2 Layout error

2013-01-01 Thread Marcus James
Hi, I made a custom layout for admin panel. The problem is when i validated my HTML i am getting an error *"* *Non-space characters found without seeing a doctype first. Expected .*" On Firefox the layout renders perfectly when i inspect it but on google chrome its showing an empty space inside

Re: how can i migrate from cakephp 1.2 to 2.x...?

2012-11-03 Thread Dave M.
1. http://book.cakephp.org/2.0/en/appendices/migrating-from-cakephp-1-2-to-1-3.html 2. http://book.cakephp.org/2.0/en/appendices/2-0-migration-guide.html I would definitely run through #1 just to make sure there are no deprecated items still in use. On Thursday, November 1, 2012 8:07:46 AM UT

how can i migrate from cakephp 1.2 to 2.x...?

2012-11-01 Thread Ankur Pandit
is it necessary to migrate to 1.3 first from 1.2 and than to 2.x...? kindly provide links or ways to help me out. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups

Re: Upload file to server with cakephp 1.2

2012-06-26 Thread Raj Dudi
Error and your code please On Tue, Jun 26, 2012 at 12:02 PM, Mr. Manager wrote: > Dear All, > > I want to update file to server and save file name into table with cakephp > 1.2. And I try to use many tutorials but it doesn't work. > > Thanks in advance! > > S

Re: Building CMS CakePHP 1.2

2012-02-09 Thread Thiago Belem
This happend because you don't have the _findPost() on your model... where you defined it? Tried $this->_findPost()? Cya, -- ***Thiago Belem* Desenvolvedor Rio de Janeiro - RJ - Brasil +55 (21) 8865.9250 thiagobelem.net cont...@thiagobelem.net *Skype / gTalk **»* thiago.belem.web *LinkedIn* *»*

Re: Building CMS CakePHP 1.2

2012-02-09 Thread Diddy
thanks. i already do both of the solution. and it comes out with another error which is this SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '_findPost' at l

Re: Building CMS CakePHP 1.2

2012-02-09 Thread Thiago Belem
The Post (Model) object inside the *PostsController* is accessible by: * $this->Post*, so your line should be: $post = $this->Post->_findPost($id); But if the *_findPost()* method is defined inside your controller, you should use: $post = $this->_findPost($id); Because *$this->Post* is the Post

Building CMS CakePHP 1.2

2012-02-09 Thread Khady
Hye, you can help me to cater this problem. I have this problem. I'm using version 2.0.4 (the latest version). I'm trying to solve this problem, but it didn't works. Fatal error: Call to a member function _findPost() on a non-object in C:\xampp\htdocs\cakecms\Controller\PostsController.php on lin

created modified function (default) is not working in Cakephp 1.2 version

2012-01-04 Thread Jpsworld
Hi all, I created an application and all the db tables have 'created,modified' fields that filled automatically by Cakephp's Default Functionality. And i put the Field Type is created datetime NULL, modified datetime NULL, like. But it doesn't work. The data where shows -00-00 00:00:00 Form

created modified function (default) is not working in Cakephp 1.2 version

2012-01-04 Thread Jpsworld
Hi all, I created an application and all the db tables have 'created,modified' fields that filled automatically by Cakephp's Default Functionality. And i put the Field Type is created datetime NULL, modified datetime NULL, like. But it doesn't work. The data where shows -00-00 00:00:00 Forma

created modified function (default) is not working in Cakephp 1.2 version

2012-01-04 Thread Jpsworld
Hi all, I created an application and all the db tables have 'created,modified' fields that filled automatically by Cakephp's Default Functionality. And i put the Field Type is created datetime NULL, modified datetime NULL, like. But it doesn't work. The data where shows -00-00 00:00:00 Forma

Re: District and city select with Ajax in cakephp 1.2

2011-01-12 Thread Amit Badkas
-Biz: http://www.sanisoft.com On Wed, Jan 12, 2011 at 11:37 PM, n4thancake wrote: > Hello to all, I have been trying to write a dynamic district and city > select in cakephp 1.2 using Ajax Helper. > These are the code I wrote, but it isn't work. > I have two db tables, cities

District and city select with Ajax in cakephp 1.2

2011-01-12 Thread n4thancake
Hello to all, I have been trying to write a dynamic district and city select in cakephp 1.2 using Ajax Helper. These are the code I wrote, but it isn't work. I have two db tables, cities and districts in which I have insert all the Italian district and cities. Then I have a contr

Re: Integrating facebook class to cakePHP 1.2

2010-11-24 Thread John Andersen
66 in our application. > Any pointers/help to the below questions will be very helpful. > > * Getting the facebook class to work in CakePHP 1.2 > * Is it disruptive to migrate to CakePHP 1.3? > > Thanks in advance. Check out the new CakePHP Questions site http://cakeqs.org and help

Integrating facebook class to cakePHP 1.2

2010-11-23 Thread sumit
Hi , We are using cakePHP version 1.2.3.8166 in our application. Any pointers/help to the below questions will be very helpful. * Getting the facebook class to work in CakePHP 1.2 * Is it disruptive to migrate to CakePHP 1.3? Thanks in advance. Check out the new CakePHP Questions site http

cakephp 1.2 manual for print out (in pdf format)

2010-04-19 Thread zonery
if you need you can get it here; http://www.ibonette.com/cakephp-1-2-manual-for-print-out/ Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group.

CakePHP 1.2 Manual for print out (in pdf format)

2010-04-19 Thread zonery
I compiled cakephp 1.2 manual for print out from online book. if you need, you can get it here; http://www.ibonette.com/cakephp-1-2-manual-for-print-out/ Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message

Dynamic menu with AJAX (CakePHP 1.2)

2010-03-06 Thread Arndtinho
Hello, I created an dynamic drop down menu with prototype and scriptaculous. It's working fine but there is a little problem. If an topcategory doesn't have an subcategory (subcategories) the topcategory-link has to link to an /controller/action and I don't need an -Element. Topcategory with subc

getParent cakephp 1.2.x

2010-02-22 Thread vcrack
hii all, how to get a parent group of user. in cake 1.1.x I use $someone = $aro->getParent($userId); how do it in cake 1.2 ? thx.. :) Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are sub

Re: highest traffic cakePHP 1.2 sites?

2010-02-07 Thread keymaster
www.scratch.mit.edu ==> ranked 1,153 worldwide by Alexa. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email

Re: Doing CakePHP 1.2.x in PHP 5 way

2010-02-04 Thread euromark
well, i was in a hurry.. im sorry this happens only if the browser has some invalid cookie/browserinfo setting check it out with anonymouse.org its a service to hide your identity - but it also destroys the cookie information and cake suddenly behaves weird. anyway - even if its a bug it was just

Re: Doing CakePHP 1.2.x in PHP 5 way

2010-02-04 Thread Miles J
Then that should be filed as a bug, not hacked to work correctly. I have yet to see any translation problems on error pages, ill test it out. On Feb 4, 10:13 am, euromark wrote: > thats not quite correct > if its anything that is needed even on error pages and beforeRender() > is called too late

Re: Doing CakePHP 1.2.x in PHP 5 way

2010-02-04 Thread euromark
thats not quite correct if its anything that is needed even on error pages and beforeRender() is called too late you'd need to override the constructor e.g: # bug fix for i18n if (!isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) { Configure::write('

Re: Doing CakePHP 1.2.x in PHP 5 way

2010-02-04 Thread Miles J
He shouldn't need to create his own __construct() no matter what. Any custom code can be placed in beforeFilter(), since its called right after construct anyways. On Feb 4, 2:12 am, euromark wrote: > you have to distinguish between php5 code itself and framework related > callbacks > they have no

Re: Doing CakePHP 1.2.x in PHP 5 way

2010-02-04 Thread euromark
you have to distinguish between php5 code itself and framework related callbacks they have nothing to do with each other if you need to override any of the above you should always call the parent parent::__construct() and parent::beforeFilter(); etc On 4 Feb., 08:46, Miles J wrote: > before

Re: Doing CakePHP 1.2.x in PHP 5 way

2010-02-03 Thread Miles J
beforeFilter() isn't a constructor. Its just a normal method, which is used as a callback. You should never overwrite the constructor as it has important code. That's what the callbacks are for, to define custom code to not conflict. Also, this has nothing really to do with PHP 4 or 5, its a arch

Doing CakePHP 1.2.x in PHP 5 way

2010-02-03 Thread Okto Silaban
Can I refere to a complete documentation how can I work with strict PHP5 on CakePHP? For example : Can I remove beforeFilter() and use __construct() instead ? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this messa

Re: Paginator helper bug cakephp 1.2

2010-02-01 Thread Pau
the index view work's fine, the problem is > only the $paginator->counter " ; ?>; ?>; ?>; ?>; ?>; ?>; ?>; ?>; ?>" > string. > > Any idea? > > OS: Windows XP PRO sp3. > Web Server: Wamp > Cakephp 1.2 > Database: MySql Check

Paginator helper bug cakephp 1.2

2010-01-31 Thread Pau
for this unwanted chars in the helper's files but I haven´t found the bug. The table information in the index view work's fine, the problem is only the $paginator->counter " ; ?>; ?>; ?>; ?>; ?>; ?>; ?>; ?>; ?>" string. Any idea? OS: Windows XP

Re: highest traffic cakePHP 1.2 sites?

2010-01-20 Thread mehodgson
We are running a CakePHP frontend with 3-4 Million page views a month at www.good.is. We combined using memcached and some custom page caching to increase performance. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received thi

Re: highest traffic cakePHP 1.2 sites?

2010-01-17 Thread robustsolution
just trust cake... because it deserves On Jan 17, 7:38 am, keymaster wrote: > So far, the short list of cake's absolutely largest known sites, is: > > addons.mozilla.com > ==> ranked 308 worldwide by > alexa:http://www.alexa.com/siteinfo/mozilla.org#trafficstats > (rumored to be changing to a py

Re: highest traffic cakePHP 1.2 sites?

2010-01-16 Thread keymaster
So far, the short list of cake's absolutely largest known sites, is: addons.mozilla.com ==> ranked 308 worldwide by alexa: http://www.alexa.com/siteinfo/mozilla.org#trafficstats (rumored to be changing to a python based platform). hotscripts.com ==> ranked 2,022 worldwide by alexa: http://www.a

Re: highest traffic cakePHP 1.2 sites?

2010-01-14 Thread Miles J
Oh I also forgot, Hotscripts runs Cake. http://hotscripts.com On Jan 14, 12:19 am, Matt Bianco wrote: > It's a German car pooling / ride sharing platform:www.mitfahrgelegenheit.de > Thanks to cake we can easily do our roll outs to other countries > (e.g.www.pamemazi.grwhere we are already live)

Re: highest traffic cakePHP 1.2 sites?

2010-01-14 Thread Matt Bianco
It's a German car pooling / ride sharing platform: www.mitfahrgelegenheit.de Thanks to cake we can easily do our roll outs to other countries (e.g. www.pamemazi.gr where we are already live), others will follow in the next weeks. On 13 Jan., 13:41, Jon Bennett wrote: > > We serve >35M PVs (>2M vi

Re: highest traffic cakePHP 1.2 sites?

2010-01-13 Thread Maurits van der Schee
hen one doesn't feel like working :-) By chance, does anyone have a feel for which sites (other than addons.mozilla.org which is cakePHP1.1 anyways) might be among the highest traffic'ed cakePHP 1.2 sites ? Check

Re: highest traffic cakePHP 1.2 sites?

2010-01-13 Thread Jon Bennett
> We serve >35M PVs (>2M visits) per month. Who/what is 'we'? j -- jon bennett - www.jben.net - blog.jben.net Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Gr

Re: highest traffic cakePHP 1.2 sites?

2010-01-13 Thread Matt Bianco
We serve >35M PVs (>2M visits) per month. Alexa isn't really relevant here in Germany, so I assume we have quite a bad rank. M Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to

Re: highest traffic cakePHP 1.2 sites?

2010-01-12 Thread Jon Bennett
> By chance, does anyone have a feel for which sites (other than > addons.mozilla.org which is cakePHP1.1 anyways) might be among the > highest traffic'ed cakePHP 1.2 sites ? www.totalfilm.com J Check out the new CakePHP Questions site http://cakeqs.org and help others with

Re: highest traffic cakePHP 1.2 sites?

2010-01-12 Thread paulus websta
I'm lead contributing dev on a large content managed site, all done in 1.2. We've had our fair share of performance issues - we get large runs of promotional traffic which we've had to handle by creating and serving some content independent of cake during these high traffic periods. http://www.ale

Re: highest traffic cakePHP 1.2 sites?

2010-01-11 Thread keymaster
These sites don't have the enviable alexa traffic rank of 312 that mozilla.org has, but are still relatively high. Anyone know a cake site with higher rankings? cyclingnews.com (alexa traffic rank: 10,400 worldwide) totalfilm.com(alexa traffic rank: 19,795 worldwide) Check out the new CakeP

Re: highest traffic cakePHP 1.2 sites?

2010-01-08 Thread robustsolution
ity question. The kind of thing one > thinks about when one doesn't feel like working :-) > > By chance, does anyone have a feel for which sites (other than > addons.mozilla.org which is cakePHP1.1 anyways) might be among the > highest traffic'ed cakePHP 1.2 sites ? Check out

Re: highest traffic cakePHP 1.2 sites?

2010-01-08 Thread Miles J
e cake 1.2's various features for > > > > performance optimization to the fullest, there are very few issues of > > > > performance remaining even for the busiest apps. > > > > > So, this is really just a curiosity question. The kind of thing one > >

Re: highest traffic cakePHP 1.2 sites?

2010-01-08 Thread Pablo Viojo
n to the fullest, there are very few issues of > > > performance remaining even for the busiest apps. > > > > > So, this is really just a curiosity question. The kind of thing one > > > thinks about when one doesn't feel like working :-) > > > > > By chance

Re: highest traffic cakePHP 1.2 sites?

2010-01-08 Thread Dave J
e cake 1.2's various features for > > performance optimization to the fullest, there are very few issues of > > performance remaining even for the busiest apps. > > > So, this is really just a curiosity question. The kind of thing one > > thinks about when one doesn&

Re: highest traffic cakePHP 1.2 sites?

2010-01-08 Thread Chad Smith
performance remaining even for the busiest apps. > > So, this is really just a curiosity question. The kind of thing one > thinks about when one doesn't feel like working :-) > > By chance, does anyone have a feel for which sites (other than > addons.mozilla.org which is cake

highest traffic cakePHP 1.2 sites?

2010-01-08 Thread keymaster
e remaining even for the busiest apps. So, this is really just a curiosity question. The kind of thing one thinks about when one doesn't feel like working :-) By chance, does anyone have a feel for which sites (other than addons.mozilla.org which is cakePHP1.1 anyways) might be among the h

Re: 1&1 CakePHP 1.2 MySQL5.0

2010-01-06 Thread Ian M. Jones
Hi Dave, I use 1&1 for hosting using one of their shared hosting accounts, if you're using the same sort of thing you should specify the host name for the database server in the 'host' param, not a socket file path, as the database is on a separate server to the web server. You'll need to check

Re: 1&1 CakePHP 1.2 MySQL5.0

2010-01-06 Thread John Andersen
Try to specify the port independently as: ... 'host' => 'localhost', 'port' => '/tmp/mysql5.sock', ... I can't say based on the documentation, whether or not using a socket replaces using a port number, but try it and tell us what happens :) Enjoy, John On Jan 6, 5:34 pm, Dave wrote: >

1&1 CakePHP 1.2 MySQL5.0

2010-01-06 Thread Dave
I've been working on a website for a client on 1&1 server, and we are having an issue where cake won't connect to the database server. my database configuration is as follows: class DATABASE_CONFIG { var $default = array( 'driver' => 'mysql',

Re: Cakephp 1.2 Paginator Helper, setting limit from view

2009-12-30 Thread Jon Bennett
> I would like to put in the view a link like the following: > > Show 20 50 100 Records > > And change the limit parameter if the user clicks on 20 50 100. Yep, use the paginator helper: link('20', array('limit' => 20)); echo $paginator->link('50', array('limit' => 50)); echo $paginator->link('10

Cakephp 1.2 Paginator Helper, setting limit from view

2009-12-30 Thread Sunchaser
I would like to put in the view a link like the following: Show 20 50 100 Records And change the limit parameter if the user clicks on 20 50 100. There is an easy way to do it? Thanks Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questio

Re: CakePHP 1.2 can't find my foreign key relationship

2009-12-04 Thread Mike Hostetler
Thank Kani -- that worked! For some reason, I think it was the capitalized Regions that was causing me grief. See, I knew it was something silly On Fri, Dec 4, 2009 at 8:15 PM, kani wrote: > Maybe shoud remove plural 's' suffix from model class name > like this > > class Ajiltan extends A

Re: CakePHP 1.2 can't find my foreign key relationship

2009-12-04 Thread kani
Maybe shoud remove plural 's' suffix from model class name like this array( // It was BankSalbrs 'className' => 'BankSalbr',// It was BankSalbrs 'foreignKey' => 'bank_salbrs_id', 'condition

CakePHP 1.2 can't find my foreign key relationship

2009-12-04 Thread Mike Hostetler
I know I'm just doing something silly, but I can't figure out what. These are my tables, which are in PostgreSQL \d regions; +--- +-- id | integer | not null default nextval ('regions_id_s

Re: How to access hasMany relation in CakePHP 1.2 ??

2009-11-18 Thread habib
How to controller access hasMany relation in CakePHP 1.2 On Nov 18, 2:00 am, habib wrote: > Thank you > _ > HABIB -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-...@g

Re: How to access hasMany relation in CakePHP 1.2 ??

2009-11-18 Thread appel268576
Hi Habib. CakePHP has a wonderful source of information on their site, http://book.cakephp.org/view/78/Associations-Linking-Models-Together On Nov 18, 11:00 am, habib wrote: > Thank you > _ > HABIB -- You received this message because you are subscribed to the Google Groups "CakePHP

How to access hasMany relation in CakePHP 1.2 ??

2009-11-18 Thread habib
Thank you _ HABIB -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-...@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. For more options, visit

Re: How to access hasMany relation in CakePHP 1.2

2009-11-17 Thread Amit Rawat
Try this $this->set('users', $this->Donor->find('all', array ('conditions'=>array(' Organization.org_name'=>"%habib%"),'fields'=>array('Donor.*','Organization.*','DonorDetail'))); -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group

Re: How to access hasMany relation in CakePHP 1.2

2009-11-17 Thread mike karthauser
Does your find work without the condition? Mike Karthauser Brightstorm limited Tel: 07939252144 On 17 Nov 2009, at 08:12, habib wrote: > class Donor extends AppModel > { >var $name = 'Donor'; > > var $hasOne = array( >'DonorDetail'=>array( > 'className'=>'DonorDetail', >

How to access hasMany relation in CakePHP 1.2

2009-11-17 Thread habib
class Donor extends AppModel { var $name = 'Donor'; var $hasOne = array( 'DonorDetail'=>array( 'className'=>'DonorDetail', 'foreignKey'=>'donor_id', 'dependent'=> true ) ); var $hasMany = array( 'Organization'=>array( 'clas

Re: Ajax update div, cakephp 1.2

2009-10-15 Thread Dr. Loboto
, what is the best method > > to simply update a div with ajax, using cake 1.2? > > I wish to have a link that call a search function and update a div > > with the results. > > > Thank you > > -- > View this message in > context:http://www.nabble.com/Ajax-update

Re: Ajax update div, cakephp 1.2

2009-10-14 Thread hahmadi82
have a link that call a search function and update a div > with the results. > > Thank you > > > > > > -- View this message in context: http://www.nabble.com/Ajax-update-div%2C-cakephp-1.2-tp11687387p25899148.html Sent f

[Cakephp 1.2.x] Missing Session in Firefox and Internet Explorer

2009-09-16 Thread santino83
Hi, I have my web app using cake 1.2.5 (but problem have been starting from 1.2.x, after switching from 1.1.3) and I have some problems with Session. Cakephp lost Session, with or without Ajax calls, during user navigation. Whithout any logic, Session got timeout and I'm redirect to the login pa

Smarty + Cakephp 1.2

2009-09-10 Thread Dave
Hi, I'm trying to setup cakephp and smarty. I've gotten it to run without errors apart from the views are not understanding the {} tags and so just displaying them as is. I'm assuming this is due to it not finding the helpers? My app_controller.php is like so With all the helper files in /apps

Re: CakePHP 1.2 Missing Database Table

2009-09-05 Thread mikeottinger
Oh boy, what a difference a night of sleep makes. I went to grab the model for my missing database table and the problem jumped right at me: var $useDbConfig = 'local'; was found at the top of the work.php model, I switched it to 'default' and voila, it worked. So *this* is another solution for

Re: CakePHP 1.2 Missing Database Table

2009-09-05 Thread Teh Treag
Are your database connection settings different on your production and development servers? Do you have other models that work? On Sep 5, 1:55 am, mikeottinger wrote: > Hi All, > >   I just deployed the beginnings of a new site onto a little > development space up on my host server. Everything

Re: CakePHP 1.2 Missing Database Table

2009-09-05 Thread learning_cake_php
please post your model and database structure for us to envistigate; ) On Sep 4, 11:55 pm, mikeottinger wrote: > Hi All, > >   I just deployed the beginnings of a new site onto a little > development space up on my host server. Everything works great in my > local environment. But upon deploy, I

CakePHP 1.2 Missing Database Table

2009-09-04 Thread mikeottinger
Hi All, I just deployed the beginnings of a new site onto a little development space up on my host server. Everything works great in my local environment. But upon deploy, I see this: Missing Database Table Error: Database table works for model Work was not found. I've searched google, and a

Re: Getting Xdebug to work under CakePHP 1.2 and NetBeans 6.5

2009-08-24 Thread Freight
Hi, take a look here: http://groups.google.ch/group/cake-php/browse_thread/thread/73bcf80a3d626c75 For me I have to set the webroot correct to the cake-webroot-dir in project-properties. Greetz On 20 Jul., 20:16, MarcS wrote: > have you (or anyone else) figured this out? > > On Jun 15, 2:26 a

Re: Getting Xdebug to work under CakePHP 1.2 and NetBeans 6.5

2009-07-20 Thread MarcS
have you (or anyone else) figured this out? On Jun 15, 2:26 am, kdubya wrote: > I have recently switched from a plain text development style to using > NetBeans 6.5. I figured I might like some of the niceties of a real > IDE (I have used them before) but my main motivation was to get > debuggin

How debug CakePHP 1.2 with Zend Debugger or XDebug

2009-07-15 Thread Miroling
Hello I have problem with remote debugging on Zend Debugger or XDebug. I attemped debug CakePHP 1.2 in Zend Studio (PDT) with Zend Debugger on linux and XDebug in Windows. Debuggers work. But when I started debugging first lines passed but in result I got: Fatal error: Cannot redeclare config

Re: File Upload validation in cakephp 1.2

2009-06-30 Thread Miles J
You can use my file upload plugin, it comes bundled with validation rules. http://www.milesj.me/resources/script/uploader-plugin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group,

Re: File Upload validation in cakephp 1.2

2009-06-30 Thread aarkerio
I do in this way: http://trac.chipotle-software.com/karamelo/browser/trunk/app/controllers/users_controller.php line 236: public function avatar() { I check if fil was uploaded and if is a valid file, in this case an image: if ( $type != 'image/jpeg' && $type != 'image/pjpeg' && $type != 'ima

File Upload validation in cakephp 1.2

2009-06-30 Thread bhushan A
Hi All, I have done with file uploading functionality in cakephp. But i want to apply validation (i.e. Please upload file.. ) . How to actieve this. I have created $validate array in model. waiting for reply. Please guide me. --~--~-~--~~~---~--~~ You received th

Re: Cakephp 1.2 + swfupload

2009-06-24 Thread Bryan Paddock
hey man thanks for the heads up... tried searching through there again.. still no luck... It's a weird problem.. swfupload appears to be working 99%... I get the file upload box, I can upload a file and it displayed the progress etc as the file gets uploaded... but theres just no data appearing at

Re: Cakephp 1.2 + swfupload

2009-06-19 Thread rod
I'm sure you can find something on this group: http://groups.google.com/group/cake-php/search?group=cake-php&q=swfupload&qt_g=Search+this+group or at swfupload website: http://swfupload.org/search/node/cakeph I've been using a similar one, Uploadify: www.uploadify.com On Jun 18, 1:38 pm, Bryan P

Cakephp 1.2 + swfupload

2009-06-18 Thread Bryan Paddock
Hey guys, I've been sitting with this swfupload module for days and just cant seem to get it right. In my js to create the uploader i have this setting: upload_url: "/properties/uploadvideo", and I have my function uploadvideo() in my properties controller I've done some simple debugging like s

Getting Xdebug to work under CakePHP 1.2 and NetBeans 6.5

2009-06-15 Thread kdubya
I have recently switched from a plain text development style to using NetBeans 6.5. I figured I might like some of the niceties of a real IDE (I have used them before) but my main motivation was to get debugging with breakpoints, watches etc. So, I have gotten Xdebug (verision 2.0.4) to work with

Re: Error Installation CakePHP 1.2.

2009-05-28 Thread Mike Karthauser
been discontinued for a very long time >> now. >> >> > On Wed, May 13, 2009 at 9:49 PM, genobee wrote: >> >> >>> > Notice: Undefined offset: 0 in /var/www/vhosts/ideal-weddings.com/ >> >>> > httpdocs/cakephp/cake/libs/configu

Re: Error Installation CakePHP 1.2.

2009-05-28 Thread andy
l-weddings.com/ > >>> > httpdocs/cakephp/cake/libs/configure.php on line 1185 > > >>> > Line 1185: "unset($this->__paths[rtrim($core[0], DS)]);" part of > >>> > destructor method > > -- > View this message in > context:http:/

Re: Error Installation CakePHP 1.2.

2009-05-27 Thread iammikek
ee wrote: > >>> > Notice: Undefined offset: 0 in /var/www/vhosts/ideal-weddings.com/ >>> > httpdocs/cakephp/cake/libs/configure.php on line 1185 >>> >>> > Line 1185: "unset($this->__paths[rtrim($core[0], DS)]);" part of >>> &g

Re: Error Installation CakePHP 1.2.

2009-05-13 Thread brian
for a very long time now. On Wed, May 13, 2009 at 9:49 PM, genobee wrote: > > Thanks for the replay. You just cleared my doubt since cakephp 1.2 web > documentation never mentioned which PHP 4 version supported. > > On May 14, 8:52 am, andy wrote: >> Cake requires PHP 4.3.2 or g

Re: Error Installation CakePHP 1.2.

2009-05-13 Thread genobee
Thanks for the replay. You just cleared my doubt since cakephp 1.2 web documentation never mentioned which PHP 4 version supported. On May 14, 8:52 am, andy wrote: > Cake requires PHP 4.3.2 or greater > > On May 13, 12:22 am, genobee wrote: > > > Hi CakePHP Group, > &g

Re: Error Installation CakePHP 1.2.

2009-05-13 Thread andy
Cake requires PHP 4.3.2 or greater On May 13, 12:22 am, genobee wrote: > Hi CakePHP Group, > > I'm new to this and using CakePHP 1.2 framework. I've trouble for my > production installation and would like to ask for help from > CakePHPGroup. The content uploaded from

Error Installation CakePHP 1.2.

2009-05-13 Thread genobee
Hi CakePHP Group, I'm new to this and using CakePHP 1.2 framework. I've trouble for my production installation and would like to ask for help from CakePHPGroup. The content uploaded from my local which is running ok. I've done and checked these: 1. Clear model and persistent cac

Re: Validation returning false on cakephp 1.2

2009-05-11 Thread FANFAN
This is the full validation block, but I did test the function with only the username validation. It does the same thing. Strange how it works at home and not on live. Could it be related to charsets of the database? --~--~-~--~~~---~--~~ You received this message

Re: Validation returning false on cakephp 1.2

2009-05-11 Thread FANFAN
Thanks for your reply. I have just tested that, it returns an array 'username' => 'alphaNumeric', 'passwd' => 'alphaPass', Does that mean cakephp treated the two as invalid fields? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Validation returning false on cakephp 1.2

2009-05-11 Thread John Andersen
What does $userModel->invalidFields(); return? Enjoy, John On May 11, 10:56 am, FANFAN wrote: > Hello, > > I have encountered a strange problem with validation where it works > when I am testing on my localhost machine but does not work on my live > server. > > The following is what I am tryi

Validation returning false on cakephp 1.2

2009-05-11 Thread FANFAN
Hello, I have encountered a strange problem with validation where it works when I am testing on my localhost machine but does not work on my live server. The following is what I am trying to do. $params['User']['email'] = $email; $params['User']['username'] = trim($username); $params['User']['p

CakePHP 1.2 AdminAuth Problem

2009-05-10 Thread simon...@terra.com.br
Hi Everyone, I did migrate to CakePHP 1.2 and with the older version, I could init the AdminAuth this way in the app_controller file : //init the admin component... $this->AdminAuth->msgError = "Erro ao efetuar seu login. Tent

Re: CakePHP 1.2 Javascript Problem

2009-04-29 Thread brian
That should work fine. Do you have a file at webroot/js/util.js? Have you viewed the source to be sure the link is there? If you have Firebug or webdeveloper extension, can you see the JS? On Wed, Apr 29, 2009 at 4:22 PM, simon...@gmail.com wrote: > > Hi, > > When I was using the older version o

Re: CakePHP 1.2 Javascript Problem

2009-04-29 Thread starkey
link(array('prototype')); ?> Works for me. On Apr 29, 4:22 pm, "simon...@gmail.com" wrote: > Hi, > > When I was using the older version of cakephp,  I was using javascript > in a view this way: > >                 link('util'); ?> > > In the version 1.2, it doesn't work. What is the sintax I ha

CakePHP 1.2 Javascript Problem

2009-04-29 Thread simon...@gmail.com
Hi, When I was using the older version of cakephp, I was using javascript in a view this way: link('util'); ?> In the version 1.2, it doesn't work. What is the sintax I have to use? Regards, --~--~-~--~~~---~--~~ You received this message becau

Re: Strange folders in CakePHP 1.2.

2009-04-10 Thread Miles J
Well the js could by dynamically generated and/or could contain i18n strings. --~--~-~--~~~---~--~~ 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 unsubscr

  1   2   3   4   5   6   7   >