• I believe I did everything right… very simple install. I’m on ipower and cgi is enabled. My localhost is set to mydomainname.ipowermysql.com and now when I go to:
    http://www.mydomain.com/blog/wp-admin/

    I get this code on the page…. (IE is only code, Firefox is code and then displays the dashboard and most of the features correctly)
    r’])) $meta[‘aperture’] = round( wp_exif_frac2dec( $exif[‘FNumber’] ), 2 ); if (!empty($exif[‘Model’])) $meta[‘camera’] = trim( $exif[‘Model’] ); if (!empty($exif[‘DateTimeDigitized’])) $meta[‘created_timestamp’] = wp_exif_date2ts($exif[‘DateTimeDigitized’]); if (!empty($exif[‘FocalLength’])) $meta[‘focal_length’] = wp_exif_frac2dec( $exif[‘FocalLength’] ); if (!empty($exif[‘ISOSpeedRatings’])) $meta[‘iso’] = $exif[‘ISOSpeedRatings’]; if (!empty($exif[‘ExposureTime’])) $meta[‘shutter_speed’] = wp_exif_frac2dec( $exif[‘ExposureTime’] ); } // FIXME: try other exif libraries if available return apply_filters( ‘wp_read_image_metadata’, $meta, $file, $sourceImageType ); } // is the file a real image file? function file_is_valid_image($path) { $size = @getimagesize($path); return !empty($size); } // is the file an image suitable for displaying within a web page? function file_is_displayable_image($path) { $info = @getimagesize($path); if ( empty($info) ) $result = false; elseif ( !in_array($info[2], array(IMAGETYPE_GIF, IMAGETYPE_JPEG, IMAGETYPE_PNG)) ) // only gif, jpeg and png images can reliably be displayed $result = false; elseif ( $info[‘channels’] > 0 && $info[‘channels’] != 3 ) { // some web browsers can’t display cmyk or grayscale jpegs $result = false; } else $result = true; return apply_filters(‘file_is_displayable_image’, $result, $path); } ?>

Viewing 1 replies (of 1 total)
  • To me, looks like your site requires some plugin (photo gallery ?) that is not present or not functioning … but i might be wrong.

Viewing 1 replies (of 1 total)

The topic ‘getting code on dashboard page after install’ is closed to new replies.