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.

White Page when Uploading Avatar File

June 24, 2010 8:23pm

Subscribe [5]
  • #1 / Jun 24, 2010 8:23pm

    Alex Pereda

    17 posts

    I’m getting a white page when trying to upload an avatar photo from my hard disk.
    I verified that the directory is set to 777, but still have the issue.

    I’m running EE v2.0.2pb01

    Any ideas?

  • #2 / Jun 25, 2010 1:52am

    John Henry Donovan

    12339 posts

    Moknys,

    What build are you running? You can find this out in your footer.
    Is this a local set-up or a live server?

    Can you run our Server Wizard please

    Can you turn debug on in system/index.php and try again.

    $debug = 1;
  • #3 / Jun 25, 2010 2:01am

    Alex Pereda

    17 posts

    Hi

    I’m running
    Build:  20100430

    Thanks for the reply


    The server is live on a dedicated server.

    I’ll run the wizard and turn on debug. The setting is already at 0, I’ll see what happens with the setting at 1;

  • #4 / Jun 25, 2010 2:13am

    John Henry Donovan

    12339 posts

    Yes my bad. Switch it to 1. Let us know how you get on.

  • #5 / Jun 25, 2010 2:19am

    Alex Pereda

    17 posts

    I ran the wizard, and I got yes for all the items.

    I’m attaching a screengrab.

    the debug set to 1 or 0 do not affect the result, I still get the blank page.

    thanks again for your help

  • #6 / Jun 25, 2010 2:39am

    John Henry Donovan

    12339 posts

    Moknys,

    A blank page is usually indicative of a suppressed error.

    Do you have error reporting supported in your PHP?

    Tools -> Utilities -> PHP Info

    Is display_errors set to On?

    Can you upload images in your publish page?

  • #7 / Jun 25, 2010 3:53am

    Alex Pereda

    17 posts

    I’m not able to upload from the publish form either. I turned on debugging explicitly on a htacess file, but phpinfo reported display_errors as being on for local and off for master.

    Regards

    Alex

  • #8 / Jun 25, 2010 5:11pm

    Sue Crocker

    26054 posts

    Moknys, EE records the path to your images in two places.

    1. The URL http://example.com/images/uploads/

    2. The server path /path/to/images/uploads

    I suspect it’s the server path that is messed up.

    What I do is create a .php file called whereami.php and FTP it up to your server, then visit it using your browser.

    Here’s the contents of the file:

    <?php echo realpath(dirname(__FILE__)) . '/'; ?>

    The resulting text is the server path to your uploads folder.

    Does that help?

  • #9 / Jun 25, 2010 7:31pm

    Alex Pereda

    17 posts

    I’ll give this a shot an report back.

    Thank you..


    Alex

  • #10 / Jun 25, 2010 8:08pm

    Brandon Jones

    5500 posts

    Sounds good, we’ll be here.

  • #11 / Aug 04, 2010 3:29am

    John Henry Donovan

    12339 posts

    Closing our old thread

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

ExpressionEngine News!

#eecms, #events, #releases