Wordpress thumbnails wont show (Upload error?) - php

Please tell me if this is already a Post for Server fault. I've posted it here, because i don't know what's the problem.
I'm on a WordPress project for a client and i struggle with the image uploads on my server. My files are hosted by a host in my Country.
Whenever i try to upload an image, it looks like this:
But when i edit the image, the image shows up.
When i try to access the image uRL for example this one:
http://example.com/woohoo/wp-content/uploads/Screenshot-2015-09-21-10.31.41.png
i get an 403 error.
And like you see in the second screenshot the uploads folder is empty. I've just installed WordPress and a theme and the theme is also not showing up in the FTP client.
The uploaded Folder has 710 access rights like the themes folder. Do i have to change the access rights or is it not possible by me and i have to contact the host?
Any help much appreciated

Related

Images not displaying in wordpress

So for some reason my images are just showing a broken image icon when I open my website from the adminpanel in WP. But when I open the index.php file the images are showing just as I want them to. Same with my javascript.
I have linked the image directory correctly since they are showing up when I only open the index.php file. They are also in the media library in wordpress.
Maybe a simpler explanation is:
localhost/website/wordpress = no images, only broken image icons.
localhost/website/wordpress/wp-content/themes/mywebsite/index.php = the images are showing.
EDIT: I found out you could copy the link that wordpress gives you for every image, and that made it work.
Is that the only way of doing it or is there another way?
Check is your .htaccess file for rules applied to images or image folder. Rename it to be sure
Remove image related wordpress plugins like "Adaptive Images"
It may due to file accessibility permission issue. Just give permission to your image folder. check your .htaccess file (on root).
Install a file browsing plugin or directly go to the hosted site and edit the .htaccess file. Add the folder name on the file

Image is not showing in wordpress media

When I am uploading images in WordPress media. It shows error.
error showing: An error occurred in the upload. Please try again later.
And also any of the images is not showing.
Here I click to attched image to the page but there is no image
Not any of the images are showing here only wp loader is rotating.
This issue comes when I make a second copy of wordpress site on the same server. I have given Site URL and Home URL correctly and also given permission to the all the folder. Yet this issue not resolved. but other wordpress site is working fine on this server.
There are many reasons to do not upload images in your WordPress media library.
That might be the issue of permission of your directory or as you said you have given permission already then you should check you upload path.
There are also some other steps to check and solve your issue.
Please follow this link. It will guide you step by step process and hopefully work for you.

Moving WP site to another Domain. Images and content missing

I developed a wordress site at: http://acenetsolution.com/activelearningwp/
I have manually moved the site to: http://activelearningpartnersltd.com/ on a different server.
But now, i can't see any images on the site and content is missing. However, pages are working fine.
I can see all the images are uploaded on server but they are not displaying.
When i upload a new image in wordpress the URL for the image comes as: http://activelearningpartnersltd.com/home/activey2/public_html/activelearningpartnersltd.com/wp-content/uploads/2016/04/logo-1.png
It should be like: http://activelearningpartnersltd.com/wp-content/uploads/2016/04/logo-1.png
My widgets are also not displaying in wp-admin.
Anything i did wrong?
Use This process
download your server database file.
now open your database file in notepad++ editor
now find "http://acenetsolution.com/activelearningwp/" and replace url = "http://activelearningpartnersltd.com/" replace all
now upload this database on server

Images uploads with old url and wont show up

i have migrated from host to my new host
everything is working good but when i upload a image to my media it goes with old URL and wont even show up
the thing is the image actually uploads , i know that from filezilla cause it goes into the uploads folder
what is the problem? and how can i fix it?
Edit functions.php
If you have access to the site via FTP, then this method will help you quickly get a site back up and running, if you changed those values incorrectly.
FTP to the site, and get a copy of the active theme's functions.php file. You're going to edit it in a simple text editor (like notepad) and upload it back to the site.
Add these two lines to the file, immediately after the initial "
update_option('siteurl','http://example.com');
update_option('home','http://example.com');
Use your own URL instead of example.com, obviously.
Upload the file back to your site, in the same location. FileZilla offers a handy "edit file" function to do all of the above rapidly; if you can use that, do so.
Load the login or admin page a couple of times. The site should come back up.
Repeat the above steps, but remove those lines. IMPORTANT: Do NOT leave those lines in there. Remove them immediately after the site is up and running again.

Getting a 404 on images uploaded using FTP in Magento

I have recently installed Magento and am using it for the first time. I am trying to uplaod an image to a folder as the new logo in the heading. When I upload the image using FTP the file uploads successfully but I can’t see it in the folder listing in a browser or on the website or if I visit the url for the image. I get a 404 page instead. Everything is getting cached I believe. I have turned off caching in the back end and cleaned out var/cache folder. This is a new one to me as I wouldn’t ahve thoughts ftp uploading an image would or could be cached? I can’t even change the header image on my website.
Im using the hellowired them as a starting point.
Cheers
Check the permissions on the Images and the directory it is in.
Can you verify that it is in the folder that you have uploaded it too?
Can you view it on server browsing the directories?
Finally check that you have type it correctly as Linux box's are CAPS sensitive, this could be why you can't see it also.
Looks like my host migrated my accounts to another server and I was actually updating the old hosting. Thanks for your help.

Categories