# |
Jan 29th 2014, 13:10 |
siver |
Hi, I'm having issues getting an existing cakephp that I inherited up and running. For some reason, it keeps telling me it can't write the log file for "cake_dev_en-us" in the Cache.php class. I've made sure that my app/tmp directory is SUPER writeable (drwxrwxrwx 2 www-data www-data 4096 Jan 29 12:56 tmp) and still it's not working? |
# |
Jan 29th 2014, 13:00 |
mini-me |
$this->viewClass = 'View'; |
# |
Jan 29th 2014, 12:59 |
mini-me |
I am using smarty in my main project, would the plugin also expect smarty templates? |
# |
Jan 29th 2014, 12:58 |
mini-me |
yes, I have included the asset dispatch filter within bootstrap.php |
# |
Jan 29th 2014, 12:58 |
dereuromark |
;) glad it worked out |
# |
Jan 29th 2014, 12:57 |
mini-me |
@dereuromark.. I knew that sounded familiar!.., I used your upgrade shell!! thanks!! |
# |
Jan 29th 2014, 12:56 |
dereuromark |
mini-me: sure you didnt forget the asset dispatch filter? |
# |
Jan 29th 2014, 12:53 |
mini-me |
when I click on sql log and then click the button "Explain" I am taken to "/debug_kit/toolbar_access/sql_explain", but this returns a blank page? |
# |
Jan 29th 2014, 12:53 |
mini-me |
so I have setup the toolbar, and I can see it on the page |
# |
Jan 29th 2014, 12:53 |
mini-me |
the only problem I'm having is getting the debug toolbar working |
# |
Jan 29th 2014, 12:53 |
mini-me |
hey guys!!, I've just upgraded from cakephp 1.3 => latest (2.4!!), everything works as expected and I have managed to integrate smarty (because our system was written using it) |
# |
Jan 29th 2014, 12:13 |
Vikky |
hi i am sending mail on form submission but the form is not picking line 1 and line 12 from database .Any clue to solve this problem http://bin.cakephp.org/view/389790812 |
# |
Jan 29th 2014, 11:48 |
challet |
you can disable that kind of incode conf changes by disabling the ini_set function, see http://www.php.net/manual/en/ini.core.php#ini.disable-functions |
# |
Jan 29th 2014, 11:44 |
challet |
maybe a ini_set somewhere that changes the value |
# |
Jan 29th 2014, 11:30 |
halim |
master value contains the value that i set in php.ini |
# |
Jan 29th 2014, 11:30 |
halim |
i just saw that phpinfo() prints 2 values, one is called "local value" and the other is "master value" |
# |
Jan 29th 2014, 11:22 |
halim |
phpinfo() also prints 0 for max_execution_time |
# |
Jan 29th 2014, 11:21 |
halim |
when i updated the php.ini i also restared the webserver (apache) |
# |
Jan 29th 2014, 11:20 |
halim |
but ini_get('max_execution_time') always returns 0 |
# |
Jan 29th 2014, 11:20 |
halim |
i've got the following problem: i somehow seem unable to change php's max_execution_time. i tried doing it via php.ini, using set_time_limit(), and using .htaccess |
# |
Jan 29th 2014, 11:16 |
Neon1024 |
) |
# |
Jan 29th 2014, 11:15 |
halim |
however, thanks for pointing it out Neon1024 |
# |
Jan 29th 2014, 11:15 |
Neon1024 |
Could be |
# |
Jan 29th 2014, 11:15 |
halim |
seems like i've got a problem with my dns |
# |
Jan 29th 2014, 11:15 |
halim |
i get "server not found" |
# |
Jan 29th 2014, 11:14 |
halim |
damn |
# |
Jan 29th 2014, 11:14 |
Neon1024 |
Confirmed up, http://www.downforeveryoneorjustme.com/book.cakephp.org |
# |
Jan 29th 2014, 11:14 |
Neon1024 |
halim: the book is up for me :) |
# |
Jan 29th 2014, 10:50 |
Dustinbvh |
thank you verry much Halim! |
# |
Jan 29th 2014, 10:48 |
halim |
on that page look for "useDbConfig" |
# |
Jan 29th 2014, 10:48 |
halim |
it's from the google cache, because book.cakephp.org seems to be down at the moment |
# |
Jan 29th 2014, 10:47 |
halim |
Dustinbvh, http://webcache.googleusercontent.com/search?q=cache:dw-xrjqdEmAJ:book.cakephp.org/2.0/en/models/model-attributes.html+andcd=1andhl=enandct=clnkandclient=iceweasel-a |
# |
Jan 29th 2014, 10:43 |
Dustinbvh |
Can someone tell me how I can define a second database connection ( I have default and external as database connections in the connection manager) Normally in every model it fetches the default DB connection but for a sertain page i want to select the external db connection. How can i realise this? |
# |
Jan 29th 2014, 10:39 |
haris |
Does that work? |
# |
Jan 29th 2014, 10:39 |
haris |
I am currently using Router::connect('/browse/*',array('controller' => 'posts', 'action' => 'view'));. I want the action to be different If there is 2 parameters i.e. /browse/** |
# |
Jan 29th 2014, 10:37 |
Neon1024 |
!ask |
# |
Jan 29th 2014, 10:36 |
haris |
can someone help me with routes |
# |
Jan 29th 2014, 10:36 |
haris |
hello |
# |
Jan 29th 2014, 10:36 |
Dustinbvh |
I have a small question which i cannot find on the book site |
# |
Jan 29th 2014, 10:36 |
Dustinbvh |
Good morning everyone |
# |
Jan 29th 2014, 09:55 |
halim |
if you think that the key 'role' should be existing in that array, i'd print the contents of that array (using pr() or debug()) and look at the code that sets or modifies that array |