• ResolvedPlugin Author macguru2000

    (@macguru2000)


    This message arrived in my inbox today, I thought I would put it here on the forum so that if anyone else is having the same problem they might be able to read the answer here instead of asking me the same question again.

    — FORWARD MESSAGE —
    Hey Zach,

    The CataBlog plugin still isn’t working for me. The images still won’t show.
    Can you take a look for me?

    Hope you can let me know what the reason is for it not to show/upload the images.
    Thanks in advance!

    Yassine
    — END MESSAGE —

    After logging into your admin panel and reseting CataBlog (catablog > options > systems > reset all catablog data) I noticed that the disc usage statistics in the CataBlog About Panel were wrong. When ‘not present’ is the value for a directory then that directory doesn’t exist. If the directory doesn’t exist then CataBlog has no where to save the images you have uploaded. Also if the directory doesn’t exist after a reset, that means that PHP cannot write to disc and did not make the necessary folders on your server.

    This could be for a number of reasons but the most likely is that Apache or your web server, which runs PHP, does not have permission to write files to your WordPress uploads directory. This is a file permissions error. You should delete the current CataBlog folder in the WordPress uploads folder. Then you should chown and or chmod the uploads folder to give PHP write access to it. If that makes no sense you should contact your server’s technical support team and ask them for help.

    Once you are sure Apache has write access to your WordPress uploads forlder you should reset CataBlog again. Once reset go to the about panel where instead of ‘not present’ you should see 0.

    If you can not chown or chmod or have no idea what they are, again, you should get in touch with your web servers technical support staff and ask them about changing file permissions on your web server.

    NOTE
    You can create the folders manually with FTP and the ‘not present’ message will go away from the CataBlog About Panel, but those folder most likely will not be writable by PHP and CataBlog will not be able to save uploaded images to your server.

    SECOND NOTE
    CataBlog has gotten better at error reporting and server checking at activation. Please upgrade to the latest version, in this case I believe that CataBlog now checks if the uploads folder is writable before letting you complete plugin activation.

    Cheers
    – Zach

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey Zach,

    Thanks alot for your time and efforts. Great plugin support you deliver.

    The writing permissions are all 777 and i just logged in to the ftp again and made the writing permissions for the plugins and uploads folder, and all enclosing folders 777(so also uploads/catablog) but still when i upload a picture in wordpress i get: You have selected:
    C:\fakepath\image.png as your upload image.

    And it still doesn’t work i get a broken image indicator, and the uploads folder is empty.

    I don’t get it? Is there any other folder i need to make writable?

    Thanks again!

    When upgrading the plugin and adding a new item i got the alert:
    CataBlog must be setup for this site before you may use it! Setup CataBlog Now

    and i clicked setup catablog now. Then it was succesfully installed and i got:
    CataBlog options and directories have been successfully installed.

    But when i then tried to add a new item i got another alert at the top of the page:
    CataBlog must be setup for this site before you may use it! Setup CataBlog Now
    Can’t write uploaded image to server, please make sure CataBlog is properly installed.

    Even when i just succesfully installed it. Very strange. When i checked the ftp i did see the folder ‘catablog’ in uploads but not any other folders inside it. And i could not change the writing permissions for some reason.

    So what i did was i deleted that folder and manually added a new folder named catablog with three new folders inside of it(fullsize,originals, thumbnails) And it now seems to work!

    Thank Zach, for your quick replies on my questions. I really appreciate the support you deliver on your plugins even though you don’t even have to.

    Thanks alot for your time and efforts!

    Take care!

    Plugin Author macguru2000

    (@macguru2000)

    Hi Yassine,

    I am glad we got a chance to troubleshoot this problem together. It would seem that CataBlog is not showing an error when it fails to make a folder on the server. You were successful at solving the problem by manually creating all four CataBlog image folders and giving Apache permission to write to them. These folders are:

    wp-content/uploads/catablog/
    wp-content/uploads/catablog/fullsize/
    wp-content/uploads/catablog/originals/
    wp-content/uploads/catablog/thumbnails/

    Better error handling for this problem will be in a future version of CataBlog.
    Thanks again.

    – Zach

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CataBlog images are broken’ is closed to new replies.