out of memory(?) with Fundamental theme

Permalink
Hi,

I'm getting a blank screen while trying to edit the fundamental theme
http://c5hub.com/resources/blank-screen-when-changing-concrete5-57-...

Tried with php 5.5, 5.6, and finally updated php to v7 and assigned memory limit to 512.
Using PHP info I've validated the settings.

Strangely while using concrete5 system info tool I can see 256 only..

# concrete5 Version
Core Version - 5.7.5.6
Version Installed - 5.7.5.6
Database Version - 20151221000000

# concrete5 Packages
Fundamental (3.0.5).

# PHP Version
7.0.4

# PHP Settings
memory_limit - 256M
post_max_size - 32M


Why the memory is set to 256 not to 512?

An I'm not getting any errors....

So basically I'm stuck... and can't progress.

HELP!

extensi
 
A3020 replied on at Permalink Reply
A3020
Not sure about the difference between your phpinfo page and the c5 environment page. Did you test phpinfo via cli or via a web page?

Anyway, the way I debug these kinda things is by commenting out stacks / global areas / includes /etc in the template files or by setting breakpoints. I'd say it's not likely your script uses more than 256MB to process unless you're working with large files.
extensi replied on at Permalink Reply
extensi
Did check with php info via web. But confirmed it with my hosting provider It is set to 512 and I do have 1GB of physical memory assigned.

OK I've tried something else.
Reinstalled concrete5 and the fundamental theme... and everything went back to normal...
So its not a OOM issue.

I do have a backup of the corrupted version.

I've been trying to compare the changes to identify what could be the issue but there were too many changes and I can't say what it is.

So the only solution for me is to setup a daily backup and revert in case of the same error again.
extensi replied on at Permalink Reply 1 Attachment
extensi
OK my preview is broken again.......

I have no idea when and why that happened - have a look at the screenshot.

And I think its not Fundamental theme related at all.
I've reinstalled the site again and It was broken with the default framework from start.
That was on php 5.6.19.

So decided to switch back to 7.0.4 and everything went back to normal with the Fundamental theme. After few hours BANG,...

Everything broken again.

So I've been able to reproduce this with php 5 and 7 and wit and without Fundamental theme.

Any ideas ?
WebcentricLtd replied on at Permalink Reply
hi, I'd toggle debug off and on via the control panel just in case then see if any messages show. I'd also check in your server logs: php error log to see if there are any clues in there.

Ask your host to check the logs if you do not have access, help you out by turning on logging etc.

Although you are just seeing a blank page does viewing the source show the rendering stopping at a specific point?

If you switch to developer console in your browser does that give any clues?

I'd also ask the theme developer if they've had any issues with or have tested the theme against php7.
extensi replied on at Permalink Reply 1 Attachment
extensi
I've tried everything.

It wasn't actually completely blank page.
Just the preview in the editor or in the version's panel.

Have a look at the attachment.

But as said in the comment above - fixed by doing a clean-up.
That's fine for now as I started building the website a week ago.
But if something like this would happen later on I'd be domed.
extensi replied on at Permalink Reply
extensi
Found the issue...............

When You switch Site Access to member or private this happens

and when You access the preview version directly
http://XYZ/ccm/system/panels/details/page/versions?cID=1&cvID[]...

that can be reproduced immediately.

Concrete5 team please fix it


So its a concrete5 issue not a memory or fundamental theme related thing.