Support » Plugin: WP-Cycle » Can't uplodad images via WP-Cycle

  • Greetings. I’m having trouble uploading images via WP-Cycle on my linux
    system. (I’ve actually tried this on three similar systems with basically the same results.)

    I’ve seen various references to this kind of problem on the web, but I haven’t found anything that helps me.

    Here’s the configuration:

    Fedora 16, x86_64.
    WordPress 3.4.1
    mysql 5.5
    php 5.3
    Apache 2.2
    WP-Cycle 0.1.12

    When I try to upload an image, the upload never succeeds, and I get the
    following messages on an otherwise-empty WP-Cycle plugin page:

    Warning: basename() expects parameter 1 to be string, object given
    in /usr/share/wordpress/wp-content/plugins/wp-cycle/wp-cycle.php on
    line 137

    Warning: file_exists() expects parameter 1 to be string, object given
    in /usr/share/wordpress/wp-includes/media.php on line 250 Catchable
    fatal error: Object of class WP_Error could not be converted to string
    in /usr/share/wordpress/wp-includes/media.php on line 251

    I have no trouble uploading exactly the same file to be used as a background image, and it appears that uploading a background image uses essentially the same “machinery” for uploads that WP-Cycle does.

    BTW, the other two systems on which I’ve tried this are both Fedora 17
    systems, similarly configured with the latest WP and WP-Cycle. I’ve gone through this exercise using the WordPress package that comes with Fedora and by downloading the WordPress source directly.

    I’ve tried this with and without firewalls, with and without selinux
    (additional level of security on Fedora), etc. I’ve tried changing ownership and access privileges for the uploads directory. (And, as I mentioned, the background image goes into the uploads directory without any problem, suggesting that file permissions are probably not the source of the problem.)

    Any suggestions?


    — Mike

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Mike,

    I used to see a “WP_Error” too. But it wasn’t shown in the Plugin-Page but in my database where the information about the wp-cycle-images are stored.

    Just curious if you set the Image Dimension (width) to less than 101px?

    (More info about my problem can be found in this topic )


    Hi, Mario. Thanks for the follow-up. I haven’t reduced the Image Dimension
    at all, but I like your suggestion to look in the database at the wp_options
    variable. (The MySQL aspect of WP is a mixed blessing, IMHO.)

    — Mike

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can't uplodad images via WP-Cycle’ is closed to new replies.