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.
Related
I have a website made with Laravel and recently i have uploaded it on cPanel and now i have some problems;
First problem is that in localhost i can save images in public/images from website and delete them but on cPanel no longer i could upload images.
Second issue is that i have removed all the images in cPanel but still my website loads that old images.When i go to image url directory there is nothing! i don't know how is it possible.
This is the code i used to save images:
$image = $request->file("image");
$new_name = "image" . "_" . $lesson->id . "." . $image->getClientOriginalExtension();
$image->move(public_path('images/lessons'), $new_name);
And the code for show images:
src="{{asset('images/lessons/image_'.$lesson->id.".png")}}"
This is my local folder :
Below you can find my public_html folder :
I have a website made with Laravel and recently i have uploaded it on
cPanel and now i have some problems; First problem is that in
localhost i can save images in public/images from website and delete
them but on cPanel no longer i could upload images.
Could you explain this a little bit more detailed? Thank you.
Second issue is that i have removed all the images in cPanel but still
my website loads that old images.When i go to image url directory
there is nothing! i don't know how is it possible.
Sounds like Cache. Have you tried to empty your browser cache after deleting the images on your server? If they are gone, it was the Cache. A cache will/can expire after some amount of time, so that should not be an issue.
If you want to disable caching while debugging you can turn it off in your developer console. See this answer: Disabling Chrome cache for website development
I hope this helps.
Try renaming the image, and after you rename, access the link for the renamed image ( using the new name ).
ie. www.xyz.com/image2.png
And then try delete.
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.
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
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
I'm having trouble with missing images on my server.
I have been developing a site locally using MAMP for a while and now that I have uploaded it to my server the images cannot be found. Firebug tells me "Failed to load the given URL".
The file structure is the exact same as it was locally and the code is also the same.
The php file trying to load the images is in the site's root folder along with the folder "images".
Here is the file structure: images/models/dreadfinsl1.jpg
Here is the page: http://eoghanoloughlin.net/george/index.php
Can anyone help me? It seems like it would be just one of those stupid problems / simple answers but I'm relatively new to this don't have much experience. It was working fine when I was using MAMP.
Looks like your in the /george/ map on the server, and i assume locally u used www/
try /george/images/models/dreadfinsl1.jpg
else you will have to use full path http://eoghanoloughlin.net/george/images/models/dreadfinsl1.jpg
Try to access an image which is in your server with the help of web browser by specifying absolute path of the image....
Like http://eoghanoloughlin.net/images/models/dreadfinsl1.jpg
If you found any image on the browser, try to display the same image on your index page...
I think specifying the file path is being a problem in your application....