cake authentication

2011-07-20 Thread chris...@yahoo.com
hi guys,... trying to setup cake 1.2.8 authentication / login and having error after loging in... any clue...? Warning (512): DbAcl::check() - Failed ARO/ACO node lookup in permissions check. Node references: thanks -- Our newest site for the community: CakePHP Video Tutorials

menu Model

2011-07-20 Thread chris...@yahoo.com
hi guys,... can some one tell me whats wrong whit this...? this is a Model Menu that I use for version 1.2.0 and it works perfect. but now I need to upgrade to 1.2.8 or higher and this model seems to me is not responding... thanks ?php class Link { var $url; var $name; var $style;

what version of CAKE am I using ?

2011-06-11 Thread chris...@yahoo.com
Hi guys, what version of CAKE am I using? I'm confused... Have an existing script... Some files shows CakePHP(tm) v 1.2.0.4116 and some are in Library Helpers CakePHP(tm) v 0.10.0.1076 I would like to migrate completely new version but having problems... What do I need to do...? and How to find

Re: what version of CAKE am I using ?

2011-06-11 Thread chris...@yahoo.com
...@yahoo.com chris...@yahoo.com Hi guys, what version of CAKE am I using? I'm confused... Have an existing script... Some files shows CakePHP(tm) v 1.2.0.4116 and some are in Library Helpers CakePHP(tm) v 0.10.0.1076 I would like to migrate completely new version but having problems

migrate error

2011-05-27 Thread chris...@yahoo.com
Hi guys, ... How Yooo All doinnn... Trying to migrate from 1.2 to 1.3 and having problem. I have existing database, tables,... but with no Aros or Acos and it works perfect with old version. When I call in default.ctp ?php echo $content_for_layout ? Error: Database table fociki_aros for model

UPDATE table

2011-04-21 Thread chris...@yahoo.com
Hi guys,... What am I doin wrong...? Getting this error: Query: UPDATE fociki_quests WHERE id = 155 Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax... $this-User-query('UPDATE fociki_quests

Re: UPDATE table

2011-04-21 Thread chris...@yahoo.com
Burns Class Outfit jeremybu...@classoutfit.comhttp://www.classoutfit.com On 21 Apr 2011, at 10:52, chris...@yahoo.com wrote: $this-User-query('UPDATE fociki_quests SET guest_id = ' $this- user['id'] WHERE id = ' . $user['User']['id']); -- Our newest site for the community: CakePHP

Re: UPDATE table

2011-04-21 Thread chris...@yahoo.com
']; $result = $this-User-FokitiGuest-saveField('guest_id',$this-user['id']); which is far cleaner. HTH mikek Jeremy Burns Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 21 Apr 2011, at 10:52, chris...@yahoo.com wrote: $this-User-query('UPDATE

checkbox field to display

2011-04-14 Thread chris...@yahoo.com
Hi guys, I have a checkbox field which suppose to read db... value 0 or 1... checked=1 or not=0 but its not. What am I missing. ?php echo $form-checkbox('User/show_groups') ? I have tried with 'checked' = 'checked' ?php echo $form-checkbox('User/show_videos', array('checked' = 'checked')) ? but

Re: search function results

2011-03-10 Thread chris...@yahoo.com
Thank you for your response Sam,... In fact I did that,... another version to attempt... but now I'm not getting search results, but the page is clean on URL bar,... and yes its a urlencoded space %20 here is what I have... function search($name = null) { if(!empty($this-data)) {

search function results

2011-03-09 Thread chris...@yahoo.com
Hi ALL, can someone help me with search function... When I have 2 or more words in search field I'm getting en error on URL bar with %20 where I'm missing str_replace(' ', '+', and don't know where to put here is what I have in my controller ... function search() {

Re: help with guest table update

2011-02-15 Thread chris...@yahoo.com
, each time the page is rendered) you record the user_id and guest_id. Jeremy Burns Class Outfit jeremybu...@classoutfit.comhttp://www.classoutfit.com On 15 Feb 2011, at 06:11, chris...@yahoo.com wrote: Hi All, Ok guys, what am I doing wrong...? $this-Guest-query('UPDATE

time frame

2011-02-15 Thread chris...@yahoo.com
Hi All, can some one tell how to setup time frame. Say if User want to run add for one month, and auto stop it, and maybe delete it after all. I dig in cake website, couldn't find it. Thank You All, chris -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org

Re: error ??

2011-02-14 Thread chris...@yahoo.com
Hi Ryan, sorry to bother you again,... but where is that php.ini file is located? Can't find it. thanks chris On Jan 15, 7:39 am, Ryan Schmidt google-2...@ryandesign.com wrote: On Jan 14, 2011, at 23:28, chris...@yahoo.com wrote: getting error on first attempt to access the user page

help with guest table update

2011-02-14 Thread chris...@yahoo.com
Hi All, Ok guys, what am I doing wrong...? $this-Guest-query('UPDATE fociki_guests' . 'SET user_id = ($user['User']['id'])' . ' AND guest_id = ($this-user['id'])'); I need to update guest table every time its accessed by users to any User page. First I need to make this code straight it up...

Re: error ??

2011-02-14 Thread chris...@yahoo.com
:10 pm, Ryan Snowden sicapi...@gmail.com wrote: phpinfo() should also say this (from memory) On 15 February 2011 14:00, Meroe Meroe whme...@gmail.com wrote: What O/S? On Tue, Feb 15, 2011 at 12:23 AM, chris...@yahoo.com chris...@yahoo.com wrote: Hi Ryan, sorry to bother you again

views = 1234... numbers

2011-02-10 Thread chris...@yahoo.com
Hi All, How u All Doinnn...?! Can anyone teach me how to setup views,... so when page is accessed ... it will set field views=increment numbers like Video views=906, Group views=489, etc.. like how many time page has been accessed. Thanks chris -- Our newest site for the community: CakePHP

Re: views = 1234... numbers

2011-02-10 Thread chris...@yahoo.com
Hi Mike, Yes, I know that I have to read from table,... But I don't know how... LOL the code... anyone can help...? Thanks chris On Feb 10, 11:59 am, mike karthauser mi...@brightstorm.co.uk wrote: On 10 Feb 2011, at 17:30, chris...@yahoo.com chris...@yahoo.com wrote: Hi All, How u All

Re: views = 1234... numbers

2011-02-10 Thread chris...@yahoo.com
/ Jeremy Burns Class Outfit jeremybu...@classoutfit.comhttp://www.classoutfit.com On 10 Feb 2011, at 20:57, chris...@yahoo.com wrote: Hi Mike, Yes, I know that I have to read from table,... But I don't know how... LOL the code... anyone can help...? Thanks chris On Feb 10

pagination in controller

2011-02-10 Thread chris...@yahoo.com
Hi guys,... a ??? How can I have two or more pagination in same controller? if I put to together like this, ... will it work? var $paginate = array('order' = array('Gift.created' = 'desc')); var $paginate = array('order' = array('GiftPhoto.created' = 'desc')); Thanks chris -- Our newest

Re: views = 1234... numbers

2011-02-10 Thread chris...@yahoo.com
is rendered) you increment the view_count field by one. Jeremy Burns Class Outfit jeremybu...@classoutfit.comhttp://www.classoutfit.com On 11 Feb 2011, at 03:31, chris...@yahoo.com wrote: Hi Jeremy, What I'm looking for is to set the data,... say to set field views in Video table

Re: php statement as to appear replaced in views

2011-02-09 Thread chris...@yahoo.com
Hi Shadow, and again Thank you so much, but in some point it still unclear for me what to do exactly, I have tried it tried it,... and not giving up...! lol You sound like one of the Senior Programmer in here. I would like to ask you if you can take a look of my script,... I will give you access

Re: php statement as to appear replaced in views

2011-02-08 Thread chris...@yahoo.com
Hi Shadow, Thank you for your help and try, ... here are the tables say for Videos Favorite Feature: videos Table: id int(11) UNSIGNEDNo auto_increment user_id int(11) Yes NULL category_id int(11)

SWF Uploader ... or any Good One...?

2011-02-08 Thread chris...@yahoo.com
Hi guys, need help with UPLOAD... I have SWF Uploader originaly setup on a script for photos. And its uploading greate on photos,... however I have created groups and group photos seperated from original one. Now with this when I'm trying to upload I'm loosing session_id() when I try to set it up

Re: SWF Uploader ... or any Good One...?

2011-02-08 Thread chris...@yahoo.com
to file types before uploading. On Feb 8, 7:01 pm, chris...@yahoo.com chris...@yahoo.com wrote: Hi guys, need help with UPLOAD... I have SWF Uploader originaly setup on a script for photos. And its uploading greate on photos,... however I have created groups and group photos

error loading model on setup

2011-02-08 Thread chris...@yahoo.com
Hi guys, I'm trying to setup existing script, actually trying to migrate existing script to new version. And I have in my app_controller.php ?php uses('L10n'); uses('I18n'); loadModel('Menu'); class AppController extends Controller { static $FLASH_ALLOWED_TYPES = array('error', 'valid',

Re: error loading model on setup

2011-02-08 Thread chris...@yahoo.com
-import#!/view/499/The-App-... That may be what you wish to use. Enjoy,    John On 9 Feb., 07:23, chris...@yahoo.com chris...@yahoo.com wrote: Hi guys, I'm trying to setup existing script, actually trying to migrate existing script to new version. And I have in my

Re: php statement as to appear replaced in views

2011-02-07 Thread chris...@yahoo.com
links -- the user will be shown the form to enter their resume info, avoiding the extra step of having to click the Create Resume button; s/he can just as easily navigate away from that page as s/he would from your original (blank) view.ctp. On Jan 23, 2:59 pm, chris...@yahoo.com chris...@yahoo.com

php statement is_set or array_key_exist ??

2011-02-07 Thread chris...@yahoo.com
Hi guys,... How u all doi... Needless to say ...I Love You All ! What A Wonderful Group ... ! I still have problems on Favorite issues,... Once the User favorite say some group, or video,... the button to Add to Favorites MUST BE REPLACED WITH Remove Favorites I want to know how to make that

array_key_exists php statement

2011-02-06 Thread chris...@yahoo.com
Hi guys,... how u ding... I need help with php statement. I'm getting an error: Parse error: syntax error, unexpected ';' in /home/zipmaniak/ zippopeople.com/html/app/views/gifts/admin_manage.ctp on line 93 ?php if(!(array_key_exists($gift['GiftCategory']['name'])) ? Please some one help me

Re: array_key_exists php statement

2011-02-06 Thread chris...@yahoo.com
['controller']) $this-controller == 'gifts') { } }}} -- Lep pozdrav, Tilen Majerlehttp://majerle.eu 2011/2/7 chris...@yahoo.com chris...@yahoo.com Hi guys,... how u ding... I need help with php statement. I'm getting an error: Parse error: syntax error, unexpected ';' in /home

Re: array_key_exists php statement

2011-02-06 Thread chris...@yahoo.com
['controller'] == 'gifts'): else: endif; //better choice if (isset($this-params['controller']) $this-controller == 'gifts') { } }}} -- Lep pozdrav, Tilen Majerlehttp://majerle.eu 2011/2/7 chris...@yahoo.com chris...@yahoo.com Hi guys,... how u ding... I need help with php

Re: two ids in a view $id, $id

2011-02-03 Thread chris...@yahoo.com
using $groupId and $photoId } Strongly recommend you to brush up your basics of PHP (and programming in general) - the time spent will be well worth it Cheers Tarique On Thu, Feb 3, 2011 at 4:27 PM, chris...@yahoo.com chris...@yahoo.com wrote: Hi guys, having a problem to display two

Re: Save and Update 2 or more Tables

2011-01-24 Thread chris...@yahoo.com
://www.sanisoft.com On Fri, Jan 7, 2011 at 10:22 AM, chris...@yahoo.com chris...@yahoo.comwrote: if(!$this-GroupMember-save($this-$member)) -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org

Re: php statement as to appear replaced in views

2011-01-24 Thread chris...@yahoo.com
']['user_id'] == )): ? ...?? I don't know how... lol Thank You All for Your Help... Chris On Jan 23, 8:45 pm, Sam Sherlock sam.sherl...@gmail.com wrote: make your nav display links dependent on the action. On 24/01/2011, chris...@yahoo.com chris...@yahoo.com wrote: No cricket

php statement as to appear replaced in views

2011-01-23 Thread chris...@yahoo.com
Hi guys, I wanna to make a statement in ../views/resume/view.ctp I have a table named: resume id int(11) UNSIGNEDNo auto_increment user_idint(11) Yes NULL name varchar(120)latin1_swedish_ci No content

Re: php statement as to appear replaced in views

2011-01-23 Thread chris...@yahoo.com
: On Sun, Jan 23, 2011 at 5:59 PM, chris...@yahoo.com chris...@yahoo.com wrote: Hi guys, I wanna to make a statement in ../views/resume/view.ctp I have a table named: resume  id     int(11)         UNSIGNED        No              auto_increment  user_id        int(11

display page views

2011-01-16 Thread chris...@yahoo.com
Hi Guys, ... How you all doi... Have a ??? How can I display page views,... I have a table and a field called views and I want it to increment by 1 (one) every time is specific page accessed. Here is my videos table: id int(11) UNSIGNEDNo auto_increment

Re: error ??

2011-01-16 Thread chris...@yahoo.com
Thanks Rayan,... On Jan 15, 7:39 am, Ryan Schmidt google-2...@ryandesign.com wrote: On Jan 14, 2011, at 23:28, chris...@yahoo.com wrote: getting error on first attempt to access the user page,... after all,... refresh,... it getting thru and working... why...? Did anyone know why

Re: Video Points, Cost

2011-01-16 Thread chris...@yahoo.com
Thanks Amit, I manage to do that... On Jan 5, 8:37 pm, Amit Badkas amit.sanis...@gmail.com wrote: Hi, The code in action uses $id but from where does it come/initialize? Amit Badkas PHP Applications for E-Biz:http://www.sanisoft.com On Thu, Jan 6, 2011 at 1:55 AM, chris...@yahoo.com

error ??

2011-01-14 Thread chris...@yahoo.com
Hi guys, getting error on first attempt to access the user page,... after all,... refresh,... it getting thru and working... why...? Did anyone know why...? Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 311296 bytes) in /home/zipmaniak/zippopeople.com/html/app/

Save and Update 2 or more Tables

2011-01-06 Thread chris...@yahoo.com
Hi guys, Trying to create members join function and need to save and update in 3 tables. Here is what I have, but its not working, it's not adding to GroupMember table... any clue...? function join($id) { if(!($user = $this-User-findById($this-user['id']))) {

Video Points, Cost

2011-01-05 Thread chris...@yahoo.com
Hi guys, I need help with video points,... I'm creating feature that users can promote their videos, groups,... etc... in my social network site. In order to do that we need video promotion cost, which is in this case is points. And ADMIN can update points any time from control panel. Say default

admin edit points featured videos, groups, etc...

2010-12-29 Thread chris...@yahoo.com
Hi guys, How yo.. guys doinnn... I need help calling $point from User Table... I'm getting this error... Notice (8): Undefined index: data [CORE/app/controllers/ videos_controller.php, line 17] Apparently, I admit,.. lol... I don't know how to do this in CAKE. Can some one please help... This is

Re: call in to variables...

2010-12-23 Thread chris...@yahoo.com
THANKS Chris On Dec 23, 10:34 am, cricket zijn.digi...@gmail.com wrote: On Wed, Dec 22, 2010 at 8:56 PM, chris...@yahoo.com chris...@yahoo.com wrote: no there is no unique username, this is a social network site with lots of users ;) I guess,... this still in construction

call in to variables...

2010-12-22 Thread chris...@yahoo.com
Hi All,... sound stupid but I have to ask... I want to call user_id from Video table in to $parent_id variable in my controller in order to display and link to parent user username, video in ...Favorites section. And how do I do that...? Please help... $parent_id = $this-Video ??? thanks Check

Re: call in to variables...

2010-12-22 Thread chris...@yahoo.com
, Amit Rawat rawatami...@gmail.com wrote: Hi Chris, Use find field $parent_id = $this-Video-field('user_id',array('your condition goes here')) enjoy, Amit On Thu, Dec 23, 2010 at 3:41 AM, chris...@yahoo.com chris...@yahoo.comwrote: Hi All,... sound stupid but I have to ask... I

Re: call in to variables...

2010-12-22 Thread chris...@yahoo.com
-field('id',array('username'=$username)); Enjoy On Thu, Dec 23, 2010 at 6:48 AM, chris...@yahoo.com chris...@yahoo.comwrote: Hi Amit, thank you for your help. But it didn't work. I may, as well post the whole function here. This is a favorites section that I'm trying to create. All I'm

Re: call in to variables...

2010-12-22 Thread chris...@yahoo.com
)); $parent_id = $this-VideoFavorite-field('id',array('parent_id'= $parent_id)); // $parent_id = $this-Video-field(user_id); Please help... Thanks On Dec 22, 5:56 pm, chris...@yahoo.com chris...@yahoo.com wrote: Hi Amit, thanks again,... no there is no unique username, this is a social

Re: call in to variables...

2010-12-22 Thread chris...@yahoo.com
' ) ); function afterDelete() { } } ? MUCHO THANKS !!! Chris On Dec 22, 5:56 pm, chris...@yahoo.com chris...@yahoo.com wrote: Hi Amit, thanks again,... no there is no unique username, this is a social network site with lots of users ;) I guess,... this still in construction... and I'm building

video sharing script

2010-12-20 Thread chris...@yahoo.com
Hi guys, anyone can suggest video sharing social network script written in CAKE. I want to add video section to my social network (still in testing) site. So users can add their own videos from these MAJOR guys like Youtube, Metacafe, DailyMotion Vimeo,... etc... and if possible just by placing

Re: ratings, like and dislike buttons...

2010-12-14 Thread chris...@yahoo.com
together with the foreign key to the user who did it. Something like: fociki_blogs - hasMany - like_indications - belongsTo - users users - hasMany - like_indications - belongsTo - fociki_blogs The rest is up to you :) Enjoy,    John On 1 Dec., 15:49, chris...@yahoo.com chris

ratings, like and dislike buttons...

2010-12-01 Thread chris...@yahoo.com
hii All,... please help,... I need to create like and dislike buttons for users to use in my social network BLOG section, something like in a facebook. Please advise,... should I take it to a new table or add fields in existing one,... this is what I have so far... CREATE TABLE `fociki_blogs` (

how do I create categories and read from FORM FIELD and post to that... in CAKEphp

2010-11-08 Thread chris...@yahoo.com
Hi guys, I'm new to this,... and make a long story short I bought an incomplete social network script... I need to add videos, blogs, groups,... etc... and having problem to categories them... Found you here in Google Groups,... What a great place to be... Thank you in advance for your help and

Re: how do I create categories and read from FORM FIELD and post to that... in CAKEphp

2010-11-08 Thread chris...@yahoo.com
the CAKE and will catch you up in a year or so... lol here is my testing site url: http://www.zippopeople.com in case you want to look into it... THANKS A LOT again On Nov 8, 5:09 pm, cricket zijn.digi...@gmail.com wrote: On Mon, Nov 8, 2010 at 5:46 PM, chris...@yahoo.com chris...@yahoo.com wrote

The Biggest Social Network site...

2010-10-29 Thread chris...@yahoo.com
Hello all,... I have a beautiful START with a this BIGGEST Social site I have dreamed of. Half way thru,... can't finish it. I'm just a beginner, and have plans to create the BIGGEST ever social site on the Net... lol, with plans and strategies that CAN bring more Business to your pocket. ...

Social Network Site script help

2010-10-20 Thread chris...@yahoo.com
Hi there, I wonder if you can help me please with my social network site. Need to add video section, gift sections affiliated with Paypal or something, blog, event, and lot more to do, ... etc... Here is a testing site URL http://www.zippopeople.com Foundation cake Thanks Chris Check out the