CataBlog images are broken
-
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
- The topic ‘CataBlog images are broken’ is closed to new replies.