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.
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
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.)
- The topic ‘Can't uplodad images via WP-Cycle’ is closed to new replies.