Some themes in 100 Themes pack not handling attachments properly.
WPMU DEV Community
Some themes in 100 Themes pack not handling attachments properly.
Inactive
14 pointsStarting to get into this DEV thingI'm new here
aramzs
Member
—
30th June 2009 (2 years ago)
I've installed the latest version of the 100 Themes pack in my WPMU site and most of the themes seem to be working perfectly.
However on some of the themes we've been getting a Parse error when the user hits the "View" link on a file in their media library. This has happened with audio files and image files.
The place where we've constantly been able to replicate the error has been on blogs running the Mandigo theme. We are consistently able to get the error:
"Parse error: syntax error, unexpected T_STRING in [server's file-path]/wp-content/themes/mandigo/attachment.php on line 30"
Line 30 seems to be fine, but it looks like something wasn't closed properly (but I'm not sure) on line 27 which reads
I've installed the latest version of the 100 Themes pack in my WPMU site and most of the themes seem to be working perfectly.
However on some of the themes we've been getting a Parse error when the user hits the "View" link on a file in their media library. This has happened with audio files and image files.
The place where we've constantly been able to replicate the error has been on blogs running the Mandigo theme. We are consistently able to get the error:
"Parse error: syntax error, unexpected T_STRING in [server's file-path]/wp-content/themes/mandigo/attachment.php on line 30"
Line 30 seems to be fine, but it looks like something wasn't closed properly (but I'm not sure) on line 27 which reads
I've modified the < a > tags so they are visible. Sorry about that.
<?php printf(__('You can < a href="#respond">leave a response</ a>, or < a href="%s" rel="trackback">')) ?><?php _e('trackback');?></ a> <?php _e('from your own site');?>.','mandigo'),trackback_url(false)); ?>
I reuploaded the entire pack when the new release came out but apparently not all the files uploaded correctly. Re-uploading the template seems to have gotten it to work.
Thanks.
I'll have to re-upload the files again to make sure they all go up correctly this time.
Responses (3)
Member — 30th June 2009 (2 years ago) #
I've modified the < a > tags so they are visible. Sorry about that.
<?php printf(__('You can < a href="#respond">leave a response</ a>, or < a href="%s" rel="trackback">')) ?><?php _e('trackback');?></ a> <?php _e('from your own site');?>.','mandigo'),trackback_url(false)); ?>Erstwhile founder — 30th June 2009 (2 years ago) #
Hiya,
Are you using the Mandigo theme from the latest theme pack?:
http://premium.wpmudev.org/project/farms-100-big-ones-theme-pack-updated
Thanks,
Andrew
Member — 30th June 2009 (2 years ago) #
I reuploaded the entire pack when the new release came out but apparently not all the files uploaded correctly. Re-uploading the template seems to have gotten it to work.
Thanks.
I'll have to re-upload the files again to make sure they all go up correctly this time.
Become a member