• Hi everybody,
    I have a blog that I’m helping a friend out with. I searched every site I could that had a lay out like what he wanted and what I thought would work best for him. We eventually stumbled across WooThemes and were going to buy the News Press theme until we saw the Original Premium News.

    For some reason, we he tries to upload photos for the custom field thumbnails, he gets a “woo themes upload error- image failed test” error (or something close to that*). I can’t figure out why, either? Has anyone seen this and know how to solve it?

    I know someone will probably tell me to go to the WooThemes forum for support and help, but they don’t give you access to the forum if you use a free theme. And in my case, I would have gladly paid for this theme because it is almost exactly a lay out that would really serve us well on his site. Can anyone lend me a login and password to the WooThemes forum via DM? I just need to see if anyone has a solution and i think it’s kinda sh*tty that they don’t support the one free theme they have up there. I have tried emailing them and have gotten some really useless responses.

    Or does anyone know any themes that are like the Original Premium News theme that isn’t as buggy? I’m looking for something that has the “featured posts” AND “featured videos.”

    Thanks!

Viewing 12 replies - 16 through 27 (of 27 total)
  • By the way, thanks to t31os_ for your explanation. It also works beautifully in my website https://www.sekolahku.info

    Thank you!

    Hey all,

    Our forums also seems to be buzzing with this issue.

    The “Specified file failed upload test” comes directly from the /wp-admin/includes/file.php more specifically the wp_handle_upload function. I know this because I wrote it all myself fro the WooFramework. ??

    Many times the users who have issues with the “Custom Field” uploader also have issues with their normal WP Uploader; sometimes not.

    For more detail:

    // A properly uploaded file will pass this test. There should be no reason to override this one.
    	if (! @ is_uploaded_file( $file['tmp_name'] ) )
    		return $upload_error_handler( $file, __( 'Specified file failed upload test.' ));

    As you can see, the explanation says that a properly uploaded file will pass the test. So the error must be due to the file being “Put” some where after the upload… only not to be put there at all. Hence a permissions error.

    MANY people have no problem at all, where some claims it happened “all of a sudden/overnight”.

    I’m personally stumped as I’ve not worked on the uploader to quite a while seeing that it’s working really well.

    I’m still open to suggestions. As I’m trying to keep free and paying customers happy. ??

    Cheers,
    Fox
    WooThemes Developer

    Yes I have this problem too. Must admit its doing my head in. Its a big shame as its a lovely theme and Im surprised it was free. I also bought productum earlier in the week which appears to work fine on the same server with the same permissions.

    Ill book mark this and hopefully an answer will be forthcoming.

    Hi Foxini,

    If it is of any help, the error message is at the top of the new posts page even before you try to upload an image. Infact the error is on the new post page even before you put a title in and start to type the post out. It appears the error is there prior to uploading.

    Using the full image url in the “Image” field works for me

    hey everyone – i found out how to make it work.

    You’re going to have to manually upload the file to your FTP or any server, whether it be an image hosting service if you dont have your own webhost, etc. Once you do that, go into add a new post or edit your existing post.

    at the bottom of the post (under typebased custom settings), in the field above where it asks you to choose file, etc., you’re going to put the address of your image and then click SAVE and it works perfectly.

    So, basically, you put your full address: https://www.yourdomain.com/images/imagename.jpg or whatever your path is.

    i dont think the problem is with the uploader, ive tried to put manualy the custom fields image, ive put "image" at the name and the full path to the "value" and guess what ... it doesnt display the custom image.

    I`ve tried the theme on two diferent hosts and on one of them is working like a charm but on the other one is not working …. so …

    Hi All (again)

    @betzy: You’re doing it wrong. ?? You don’t need to add the custom field manually. It’s already been created at the as a Custom Setting, perhaps just lower down the page… https://foxinni.com/screens/cf-20100719-123944.png

    Further more I think I’ve found a possible fix. One has to add a override into the framework admin-interface.php file. I’m not sure if it works.. but it should bypass the error message, causing the WP file upload function to return to soon because of the error check.

    Here is the possible fix: https://foxinni.com/screens/upload_fix-20100719-123127.png

    Good Luck.
    Fox

    Has anyone found a solution that works? I’ve tried ALL of the suggestions posted here, and I still can’t get the image in the Featured section to work.

    Thanks,
    Lani

    I have the same problem. I’m using wordpress 3.
    The permission are OK cause I’m using localhost and not FTP.

    But i noticed If i try to delete the code

    // A properly uploaded file will pass this test. There should be no reason to override this one.
    	if (! @ is_uploaded_file( $file['tmp_name'] ) )
    		return $upload_error_handler( $file, __( 'Specified file failed upload test.' ));

    the problem still exists. I don’t know why. Even if there’s no sting like “Specified file failed upload test.” in the entire site.
    I’ve found on this forum some files that could work, but they’re for wordpress 2.5.
    Anyone found a fix for this issue?

    i think i’ve found a not-so-cool solution but it works for me..
    you just have to go to feature.php, when you open it scroll down to the
    bottom where you’ll see the ‘if’ condition to display the image specified in the custom field..

    you just have to comment the li code where the custom field has not been completed .. and copy and paste the li code where the if condition is evaluated to true

    <?php if ( get_post_meta($post->ID, 'image', true) ) { ?> <!-- DISPLAYS THE IMAGE URL SPECIFIED IN THE CUSTOM FIELD -->
    
    <!-- copy this line  --> 	<li <?php if ($counter == 5) { ?>class="last"<?php } ?>><a href="#post-<?php the_ID(); ?>">
    <!-- copy this line  -->        <?php woo_image('height=57&width=100&link=img'); ?>
    
                </a></li>			
    
    		<?php } else { ?> <!-- DISPLAY THE DEFAULT IMAGE, IF CUSTOM FIELD HAS NOT BEEN COMPLETED -->
    
    <!-- comment this line -->            <!--<li <?php if ($counter == 5) { ?>class="last"<?php } ?>><a href="#post-<?php the_ID(); ?>"><img src="<?php bloginfo('template_directory'); ?>/images/no-img-thumb.jpg" alt=""/></a></li>   -->
    
    <!-- paste it here  --> 	      <li <?php if ($counter == 5) { ?>class="last"<?php } ?>><a href="#post-<?php the_ID(); ?>">
    <!-- paste it here  --> 	      <?php woo_image('height=57&width=100&link=img'); ?>

    the only drawback is that it uses the first image inserted in the post [0]

Viewing 12 replies - 16 through 27 (of 27 total)
  • The topic ‘Problem with WooThemes Original Premium News Images’ is closed to new replies.