CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • PCP Images Not Displaying
Pages: [1]

Author Topic: PCP Images Not Displaying  (Read 1247 times)

escapeit

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Drupal
  • MySQL version: 5.2.12-MariaDB-mariadb115~squeeze
  • PHP version: 5.3.10
PCP Images Not Displaying
February 09, 2013, 11:34:06 pm
Pretty stumped on this one.  The images exist in the correct folder, are publicly accessible, but won't load in the PCP page.  The query ID looks good in the db and matches the file name.

Firebug says it's 200 so it doesn't throw an error message in the server log (nor in the watchdog) but the (firebug) console's error message is:  "image corrupt or truncated: example.org/civicrm/file?reset=1&id=5&eid=2"

Multiple browsers, same for anonymous users and user 1.

I've spent way too long diagnosing this one.  any thoughts on what i'm missing?  where i could look? 

Very much appreciate the help!

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: PCP Images Not Displaying
February 10, 2013, 03:11:16 am
How did the images get into the folder?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

escapeit

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Drupal
  • MySQL version: 5.2.12-MariaDB-mariadb115~squeeze
  • PHP version: 5.3.10
Re: PCP Images Not Displaying
February 10, 2013, 10:39:29 am
Hi Hershel, it's a new install and the images were uploaded through the standard Create PCP.

Appreciate any insight or where i could look to troubleshoot.  I've exhausted everything I can think of.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: PCP Images Not Displaying
February 10, 2013, 10:47:17 am
Not sure. The images you uploaded are complete files on the server?

Perhaps try a very small one as a test.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

escapeit

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Drupal
  • MySQL version: 5.2.12-MariaDB-mariadb115~squeeze
  • PHP version: 5.3.10
Re: PCP Images Not Displaying
February 10, 2013, 10:55:35 am
Yes, complete files that i can view from the absolute path.  I tried a 2x2 image and same result as the normal size images.

escapeit

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Drupal
  • MySQL version: 5.2.12-MariaDB-mariadb115~squeeze
  • PHP version: 5.3.10
Re: PCP Images Not Displaying
February 10, 2013, 11:09:04 am
I defaulted the theme and the image appears.. weird.  There's no css action on the image or any parent.  Any reason why a theme would impact the loading of a PCP image?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: PCP Images Not Displaying
February 10, 2013, 11:11:06 am
Hard to say. Can you post the URL of the page or email it to me privately so I can look at it?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

escapeit

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Drupal
  • MySQL version: 5.2.12-MariaDB-mariadb115~squeeze
  • PHP version: 5.3.10
Re: PCP Images Not Displaying
February 10, 2013, 02:40:31 pm
After narrowing it down to the theme, I found a formatting error in my custom theme's template.php file.  Not sure of the correlation but it fixed 'er right up.

Thanks again Hershel.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • PCP Images Not Displaying

This forum was archived on 2017-11-26.