WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WPtouch iPhone Theme] Cannot upload custom icon

[Plugin: WPtouch iPhone Theme] Cannot upload custom icon

  • I am unable to upload a custom icon for use with WPtouch. Each time I try, I get the following error.

    There seems to have been an error.
    Please try your upload again.

    I have tried deleting the wptouch/custom-icons directory on the server and recreating them myself. They are set up with full permissions (777). This feature was working some time ago, but I recently created a new icon and wanted to add it… that’s when I discovered that it no longer works. I am using the latest versions of WPtouch and WordPress.

    Any help that anyone can provide would be greatly appreciated.

    Thanks!

    http://wordpress.org/extend/plugins/wptouch/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m having the exact problem regarding uploading custom icons. Has this issue been resolved?

    We had that problem too…

    To solve it, try adding in your FULL upload path to Dashboard > Settings > Miscellaneous or manually create the folder wptouch under your wp-content/uploads folder and then inside wp-content/uploads/wptouch create a folder called custom-icons do you end up with:

    wp-content/uploads/wptouch/custom-icons

    Assuming your permissions on those new folders are correct you should now be able to upload.

    Our staff programmer explained the issue this way:

    When uploading a file, the upload script tries to create the appropriate icons directory for storing the file:
    get_option( ‘upload_path’ ) . ‘/wptouch/custom-icons’

    In a relative environment, this path is:
    wp-content/uploads/wptouch/custom-icons

    The script tries to create each of those directories by exploding the path and looping through the parts. In the loop each part is prepended by /. The actual paths the script tries to create is:
    /wp-content
    /wp-content/uploads
    /wp-content/uploads/wptouch
    /wp-content/uploads/wptouch/custom-icons

    When the script tries to store the file, wp-content/uploads/wptouch/custom-icons does not exist because the proper path was never created.

    I’m not the original poster, but…

    My path in Misc Settings now matches what’s in my FTP, but the image still does not appear in the pool of other icons. I gave the custom icons folder full permissions, but still nothing. The icon is uploaded, but it’s not made available to me.

    What am I missing?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WPtouch iPhone Theme] Cannot upload custom icon’ is closed to new replies.
Skip to toolbar