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.12When 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 137Warning: 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 251I 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?
Thanks.
— Mike
- The topic ‘Can't uplodad images via WP-Cycle’ is closed to new replies.