• Resolved jkherman

    (@jkherman)


    I worked with a crew to get this site up and going, and we used WP-Cycle for a section of the header. On the demo site it worked, now bringing it over to a test server to show my client, it’s not. When I try to upload an image I get this error….

    Warning: getimagesize() [function.getimagesize]: Filename cannot be empty in /home/jkherman/www/www/infinity/wp-content/plugins/wp-cycle/wp-cycle.php on line 109

    Warning: unlink() [function.unlink]: No such file or directory in /home/jkherman/www/www/infinity/wp-content/plugins/wp-cycle/wp-cycle.php on line 113

    Sorry, but the file you uploaded does not seem to be a valid image. Please try again.

    Any idea what this could be?!? Very frustrated.

    Thank you!!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jkherman

    (@jkherman)

    Got it figured out!!

    Thread Starter jkherman

    (@jkherman)

    Solution ::: Uploads path was incorrect, and changed permissions to my .htaccess file.

    Care to explain in further detail? I have the exact same problem and I can’t get it to work, thanks in advance

    @ggthomasgg:

    I had the same problem. When running wordpress in a local xampp environment, everything went smoothly. But when i tried to upload an image to my server (parallel plesk environment) i always got the message

    “Sorry, but the file you uploaded does not seem to be a valid image. Please try again.”

    I solved this issue after doing 3 steps:

    1. look if php safe_mode is enabled and if yes, deactivate it (doesn’t matter if php-safe_mode is blocking upload, but with safe_mode “on”, you cannot do automatic updates or plugin installations from dashboard after all)

    2. i created a .htaccess-file (also necessary for using “pretty” permalinks) and gave it the chmod 744

    3. i gave my wp-content/uploads folder the chmod 777, after doing this wp-cycle uploaded the images. i don’t know if this is security-relevant, but i came to this after reading this article where it says the following:

    Some plugins require the /wp-content/ folder be made writeable, but in such cases they will let you know during installation. In some cases, this may require assigning 755 permissions or higher (e.g. 777 on some hosts). The same is true for /wp-content/cache/ and maybe /wp-content/uploads/

    here is the link: http://codex.wordpress.org/Changing_File_Permissions

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WP-Cycle Issues’ is closed to new replies.