ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Blank white page on trying to edit weblog entry

November 11, 2009 3:27pm

Subscribe [7]
  • #16 / Nov 18, 2009 8:34pm

    Adam Dorsey

    1439 posts

    Hi Communitas-

    This definitely looks like an extension issue, but before we move forward, can you try turning on display_errors?

    Here are some instructions for turning Display Errors on.

    Then report back to us with the specific error you are getting. This will point us in the right direction. Thanks!

  • #17 / Nov 18, 2009 11:57pm

    Communitas

    59 posts

    Dear Adam,

    sorry - couple of questions:

    if I understand correctly, there are three steps to enable error reporting:
    1. change the index.php in the root folder if PHP is not set up to display errors
    I am working on MAMP on a Mac, so the PHP is part of MAMP - can I change the PHP server setting in MAMP or do I change the index.php, to include ini_set(‘display_errors’, 1);
    If so, WHERE in the file index.php do I paste that ? (that index.php has quite a lot in it, including a line “Do not edit below THIS.”), so I have for now pasted it near the top:

    $qtype = 0; 
    ini_set('display_errors', 1);

    2. change the index.php in the system folder
    (little comment re a clarification in the Wiki: it gives the instruction to change ...

    error_reporting(0);

    to

    error_reporting(E_ALL);

    I copied and pasted it including the beginning and end quotes and had a panic as I could not log-in to system after that at all, so might be useful to point that out in the wiki - only took me 10 minutes to figure out what the problem was, but might still save somebody that time ...

    3. set Debug Preference to 1. PHP/SQL error messages show only to Super Admins.
    I am not sure whether to also turn on: Display SQL Queries? and Display Template Debugging? ....

    I have done all three things, and now the front-end webpages show a long list of data at the bottom of each page - which is what we want presumably.
    I have turned on MD Live Search extension and played around with the front-end of the site without a problem - can’t see any errors being reported.
    I have turned on Field Frame extension and played around with the front-end of the site without a problem - can’t see any errors being reported, either. I have not enabled any of the field types even. I have experimented with different field types enabled - does not seem to make a difference.

    I log into the CP and go to My Account and Weblog Settings. I try to access HTML Buttons and get a blank page. That’s the PROBLEM.
    I have no problem editing the Default HTML Buttons in the Admin.
    I do not get any error reporting when I’m in the CP (although I remember that I once did manage to enable that - no longer sure how).

    Thanks for your patience with me ...

    Michael

  • #18 / Nov 19, 2009 12:02am

    Communitas

    59 posts

    Small additional point of information: I played around with other sections of My Account, just to check.
    All of them are OK, except - under Weblog Settings:
    Ping Servers (that also produces a blank page)
    HTML Formatting Buttons (that produces a blank page and that’s where I noticed the problem)

    The third items in that section - Bookmarklet - seems to work fine.

    Does that tell us anything ?

  • #19 / Nov 19, 2009 12:15am

    Communitas

    59 posts

    Plus another piece of info that seems relevant:
    when Publishing or Editing an Entry, the html buttons seem to work fine ...

  • #20 / Nov 19, 2009 1:45am

    John Henry Donovan

    12339 posts

    Communitas,

    How much PHP memory do you have?

    EE Wiki : HowTo Determine Memory Limits

  • #21 / Nov 19, 2009 8:06pm

    Communitas

    59 posts

    How much PHP memory do you have?

    I am testing on a local installation (MAMP on a Mac).
    Here is what it says in PHP Info:
    Directive           Local Value         Master Value
    memory_limit         8M                   8M

    What does that tell us ? Look forward to hearing from you.
    Thanks. Michael

  • #22 / Nov 19, 2009 8:30pm

    Adam Dorsey

    1439 posts

    Hi Communitas-

    8M is a bit low. I would up this to 32M.

    Let us know if this solves your issue. Thanks!

  • #23 / Nov 19, 2009 11:19pm

    Communitas

    59 posts

    Well, I have had a few hours of fun. In order to up the memory limit on the PHP, I had to upgrade to MAMP Pro (which I have done) and following instructions have increased the memory in the php.ini file to 64M. When I check this in MAMP’s PHPInfo, it correctly shows as 64M.

    But when I log into EE CP and go to Admin-Utilities-PHPInfo, it still only shows 8M as the memory limit.
    Here is some of the detail from the PHPInfo:

    Server API   Apache 2.0 Handler
    Virtual Directory Support   disabled
    Configuration File (php.ini) Path   /Applications/MAMP/conf/php5
    Loaded Configuration File   /Applications/MAMP/conf/php5/php.ini
    PHP API   20041225
    PHP Extension   20060613
    Zend Extension   220060519
    Debug Build   no
    Thread Safety   disabled
    Zend Memory Manager   enabled
    IPv6 Support   enabled
    Registered PHP Streams   php, file, data, http, ftp, compress.bzip2, compress.zlib, https, ftps

    Do I need to tell EE separately somehow to increase the memory limit, too ?
    I don’t suspect so, but I don’t understand why the increased memory limit from the local MAMP server does not show up in EE PHPInfo ??

    I have tried accessing the usual error: My Account- My Weblog Settings - HTML Formatting Buttons.
    I still get the error as before if either FieldFrame or MD Live Search are enabled, and the error disappears when I disable both.
    As it looks like I haven’t been able to increase the memory limit as displayed within EE, I am none the wiser.

    Sorry this is dragging on ....

  • #24 / Nov 19, 2009 11:38pm

    Greg Aker

    6022 posts

    There are two versions of PHP that ship with MAMP.  So are you using PHP5 or PHP4?  And if so, did you alter the appropriate php.ini file?

    -greg

  • #25 / Nov 20, 2009 5:54am

    Communitas

    59 posts

    I am using PHP5 and followed the instructions to alter php.ini to 64M.

  • #26 / Nov 20, 2009 7:17am

    Sue Crocker

    26054 posts

    Which php.ini did you change?

    Did you restart the server after making the change?

  • #27 / Nov 20, 2009 10:02am

    Communitas

    59 posts

    Which php.ini did you change? Did you restart the server after making the change?

    As a default on MAMP installation, PHP4 and PHP5 were set to 32M. I set php5.ini to 64M.
    Restarted the computer, re-started MAMP, re-started Firefox and logged into EE.

    When I use Webstart in MAMP to access phpInfo (PHP Version 5.2.11), it clearly shows memory_limit as 64M, as expected.
    When I log into EE via Firefox, and visit CP Home ›  Admin ›  Utilities ›  PHP Info, it only shows 8M, as both Master value and Local value.

    It’s a mystery to me ...

  • #28 / Nov 20, 2009 10:32am

    Sue Crocker

    26054 posts

    Communitas, is this your only domain set up using MAMP? The reason I’m asking is that I just recently installed MAMP on my Mac Mini, and the default for memory_limit was set to 32m.

    I know you’d prefer to work locally, but have you considered moving the install to a regular host?

  • #29 / Nov 20, 2009 10:42am

    Communitas

    59 posts

    is this your only domain set up using MAMP?

    Not sure I quite understand that question. Yes, I am developing the site and testing on MAMP on my Mac, and yes, it’s the only domain locally. And, yes, after installation, the default memory size in MAMP 1.83 was 32M.
    But why would it not show up in the phpInfo of the EE CP ?

    Yes, I’m in the process of arranging hosting with a company called Streamline, but it’ll take a few days ...

  • #30 / Nov 20, 2009 11:15am

    Sue Crocker

    26054 posts

    Honestly, we don’t normally support helping with server setups. What I can suggest you try is to add a new MAMP install and see how a generic install with no additional plugins, modules, extensions behaves.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases