Log message #111198

# At Username Text
# Aug 8th 2008, 07:00 ammadsaleem1 working fine now
# Aug 8th 2008, 07:00 macneti hi all...
# Aug 8th 2008, 07:00 ammadsaleem1 and removed it from the app_controller uses array
# Aug 8th 2008, 07:00 ammadsaleem1 I included in the controller.php uses array
# Aug 8th 2008, 06:59 annnna ammadsaleem1: what was the solution?
# Aug 8th 2008, 06:59 ammadsaleem1 I figured it out
# Aug 8th 2008, 06:58 ammadsaleem1 THANKS FOR ALL OF YOUR HELP
# Aug 8th 2008, 06:58 medice in case i need to specify which items are allowed to be viewed, for example
# Aug 8th 2008, 06:58 medice hmm. can i check the $id inside isAuthorized?
# Aug 8th 2008, 06:57 annnna ammadsaleem1: yeah franko is right. Sometimes your server needs alone time lol
# Aug 8th 2008, 06:56 franko ammadsaleem1: strangely enough, these errors have disappeared for me overnight on two occasions, waiting to ask sysadmin about it, because clearing the cache did not work for me last time, though it was recommended by someone on this channel...
# Aug 8th 2008, 06:55 annnna ammadsaleem1: im wrong.... cookbook says you should include it, like this App::import('Sanitize');
# Aug 8th 2008, 06:54 franko ammadsaleem1: I have very similar problems...try clearing the /app/cache/*/* files...
# Aug 8th 2008, 06:54 annnna ammadsaleem1: if it throws you that error maybe it's included by default (sorry i dont remember exactly, i'll check)
# Aug 8th 2008, 06:53 ammadsaleem1 no I included it in the app controller class
# Aug 8th 2008, 06:52 annnna Matt1: allright, i get it know
# Aug 8th 2008, 06:52 Matt1 annnna: no, you make your.
# Aug 8th 2008, 06:52 annnna ammadsaleem1: did you write your own sanitze function?
# Aug 8th 2008, 06:52 ammadsaleem1 ?
# Aug 8th 2008, 06:52 ammadsaleem1 any help
# Aug 8th 2008, 06:52 ammadsaleem1 but I am getting this when I upload it to the web server
# Aug 8th 2008, 06:51 annnna like core.php?
# Aug 8th 2008, 06:51 ammadsaleem1 the site is working fine locally
# Aug 8th 2008, 06:51 Matt1 annnna: no, just config file
# Aug 8th 2008, 06:51 ammadsaleem1 any idea what can be wrong
# Aug 8th 2008, 06:50 ammadsaleem1 Fatal error: Cannot redeclare class sanitize in /homepages/11/d250922577/htdocs/wsb4994188301/betafinal3/cake/libs/sanitize.php on line 38
# Aug 8th 2008, 06:50 ammadsaleem1 hello all I am getting this
# Aug 8th 2008, 06:45 annnna Matt1: this would go in the bootstrap.php file?
# Aug 8th 2008, 06:43 annnna i think i will have to implement ARO and ACL first, then figure out this part, once i know how it all works
# Aug 8th 2008, 06:43 Matt1 http://bin.cakephp.org/view/78732946
# Aug 8th 2008, 06:43 skua Matt1 > THANK !
# Aug 8th 2008, 06:42 annnna Matt1: and the administration panels should allow the agent to modify only his properties
# Aug 8th 2008, 06:42 Matt1 You could have that on the configure file.
# Aug 8th 2008, 06:41 annnna Matt1: yeah, i need the app to be aware of which realestate agency is using. For example, if a contact mail is sent, it should know whose agency got the client
# Aug 8th 2008, 06:41 Matt1 annnna: so you could have any variable there you like to switch between domains.
# Aug 8th 2008, 06:40 Matt1 annnna: my example has code not really needed. I could have set those in the configuration file and load it based on the domain.
# Aug 8th 2008, 06:39 Matt1 annnna: that should work if all you need is the theme switch. but you needed something else too I belive ?
# Aug 8th 2008, 06:38 annnna Matt1: this is as far as i've got if ( $_SERVER['HTTP_HOST'] == 'johnson....com' ) { $this->theme = 'johnsonrealtor'; }
# Aug 8th 2008, 06:38 Matt1 skua: var $useDbConfig = 'test';
# Aug 8th 2008, 06:37 skua ?
# Aug 8th 2008, 06:37 skua from default to test for example