Posts: 28
Threads: 3
Joined: Oct 2016
(10-Feb-2017, 11:14 PM)Steven Wrote: Sure, I've added the validation for you. I clicked to edit a few of your pages and they all loaded very quickly for me.
I wanted to edit page/comments, the site won't load but show me this error "
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 576 bytes) in /home/sex727/public_html/comments/system/database/mysqli.php on line 48 "
Posts: 2,894
Threads: 59
Joined: Jun 2010
Your server's PHP memory limit is only 32MB. The default for your PHP version is meant to be 128MB. Your site has a lot of data so you'll need at least the default limit. You'll have to speak to your host about increasing it.
Have
you completed
the interview?
Posts: 28
Threads: 3
Joined: Oct 2016
(13-Feb-2017, 09:15 PM)Steven Wrote: Your server's PHP memory limit is only 32MB. The default for your PHP version is meant to be 128MB. Your site has a lot of data so you'll need at least the default limit. You'll have to speak to your host about increasing it.
Hi Steven, already increase the limit to 128MB, but when i want edit comments/page, its hang there.
Posts: 2,894
Threads: 59
Joined: Jun 2010
Okay I've identified the issue. On the edit comment page it displays a select field where it lists all of your profile pages so that you can change which profile page a comment belongs to. It's the database query for this data which was causing it to take so long. I've applied a temporary fix by changing it so that it doesn't list all your profile pages anymore. Everything still works, it just means you can't change that particular field. I'll work on a proper solution for the next version.
Have
you completed
the interview?
Posts: 28
Threads: 3
Joined: Oct 2016
(16-Feb-2017, 09:31 PM)Steven Wrote: Okay I've identified the issue. On the edit comment page it displays a select field where it lists all of your profile pages so that you can change which profile page a comment belongs to. It's the database query for this data which was causing it to take so long. I've applied a temporary fix by changing it so that it doesn't list all your profile pages anymore. Everything still works, it just means you can't change that particular field. I'll work on a proper solution for the next version.
Thanks alot Steve.
Its working now, wahahaha! YOUre da MAN!