# |
Aug 8th 2008, 09:56 |
gwoo |
NOSLOW: sure |
# |
Aug 8th 2008, 09:54 |
TommyO |
__mork: it's an out of memory error? how much memory does it say the max is? |
# |
Aug 8th 2008, 09:54 |
__mork |
some pages simply do not display (and they work on the remote server) |
# |
Aug 8th 2008, 09:53 |
freebox2 |
$base = array($model.'.'.$field . ' LIKE' => '%'.$data[$model][$field].'%'); |
# |
Aug 8th 2008, 09:53 |
NOSLOW |
gwoo: Should I open a ticket with a test case to show the failure? |
# |
Aug 8th 2008, 09:53 |
freebox2 |
yeah! done =D |
# |
Aug 8th 2008, 09:53 |
__mork |
i repeat (sorry): the error raises even with a plugin (phpgacl) but not for all the pages |
# |
Aug 8th 2008, 09:52 |
__mork |
no, for sure |
# |
Aug 8th 2008, 09:51 |
TommyO |
__mork: hmmm... are you calling h() somehwere in your app? |
# |
Aug 8th 2008, 09:51 |
teknoid |
__mork: it's never easy :) |
# |
Aug 8th 2008, 09:51 |
__mork |
teknoid: not so easy for me :-( |
# |
Aug 8th 2008, 09:51 |
freebox2 |
dammit :( |
# |
Aug 8th 2008, 09:51 |
teknoid |
__mork: i'm saying something in your app is triggering that error, what you need to find out is what, where and why |
# |
Aug 8th 2008, 09:51 |
__mork |
and more exactly at if (empty($charset)) ... |
# |
Aug 8th 2008, 09:51 |
__mork |
at that point there is a Convenience method for htmlspecialchars: function h |
# |
Aug 8th 2008, 09:51 |
__mork |
TommyO: Hi! there is a charset |
# |
Aug 8th 2008, 09:50 |
__mork |
i downloaded phpgacl and it gives that fatal error |
# |
Aug 8th 2008, 09:50 |
TommyO |
it'll be clear when you see what function line 208 is in... |
# |
Aug 8th 2008, 09:50 |
__mork |
teknoid: it is not only in my code (mmmh... thinking about: unless it is in app_controller, but... no: only some pages give that |
# |
Aug 8th 2008, 09:49 |
TommyO |
__mork: no, that's just where it's being revealed. the error is in your code |
# |
Aug 8th 2008, 09:49 |
__mork |
and more exactly at if (empty($charset)) ... |
# |
Aug 8th 2008, 09:49 |
teknoid |
__mork: in your code |
# |
Aug 8th 2008, 09:49 |
__mork |
at that point there is a Convenience method for htmlspecialchars: function h |
# |
Aug 8th 2008, 09:49 |
__mork |
in in /var/www/prestazioni/cake/basics.php on line 208 |
# |
Aug 8th 2008, 09:49 |
__mork |
already figured out |
# |
Aug 8th 2008, 09:49 |
__mork |
I guess it it not the issue |
# |
Aug 8th 2008, 09:49 |
teknoid |
__mork: you should figure out which line of code is causing it |
# |
Aug 8th 2008, 09:48 |
teknoid |
__mork: in php.ini |
# |
Aug 8th 2008, 09:48 |
__mork |
how can i increase memory cache? |
# |
Aug 8th 2008, 09:48 |
__mork |
teknoid: no success: same error |
# |
Aug 8th 2008, 09:47 |
__mork |
teknoid: thanks |
# |
Aug 8th 2008, 09:46 |
FunkyWeasel |
TommyO: cheers, I'll go have a look there. |
# |
Aug 8th 2008, 09:46 |
teknoid |
__mork: meaning, the main cake dir |
# |
Aug 8th 2008, 09:46 |
teknoid |
__mork: all you need to do is replace 'cake' core |
# |
Aug 8th 2008, 09:46 |
TommyO |
FunkyWeasel: it tells you what's missing. but what it also tells you is that you've got a bad model call somewhere. my guess in AppModel |
# |
Aug 8th 2008, 09:46 |
NOSLOW |
gwoo: it looks like that line should not apply when $type == 'hasAndBelongsToMany' |
# |
Aug 8th 2008, 09:46 |
kamalcom |
May God bless you |
# |
Aug 8th 2008, 09:46 |
__mork |
teknoid: can i replace all the dirs but app? |
# |
Aug 8th 2008, 09:45 |
kamalcom |
I will be here with you for everytime |
# |
Aug 8th 2008, 09:45 |
FunkyWeasel |
TommyO: Because it'd be nice to know what table was actually missing :P |
# |
Aug 8th 2008, 09:45 |
kamalcom |
ok thanks teknoid |