Uploaded Images Not Found
I’ve just installed this plugin on wordpress 3.1.2 and Buddypress 1.2.8 however, when I upload images via my test profile the image can’t be found (it’s a broken link on the page). I’ve tried to find the image on the server but can’t seem to locate it, the broken image file path is: http://thetiethatbinds.net/wp-content/uploads/album/1/test.jpg There is no /album folder on the server, only uploads/2011/04.
I’ve selected ‘yes’ for the URL re-mapping but it didn’t make a difference. Can someone please advise what I should do next to get this working?
Thanks in advance,
Have a look at this wiki article: http://code.google.com/p/buddypress-media/wiki/UsingTheURLRemapper
Thanks. I did look at that article before posting here and I’ve gone through it again but I can’t figure this out. I have BP My Home and I can upload images for the avatar no problem, the avatar folder was automatically created when I uploaded the image (uploads/avatar/….) but when I try and upload images in BB Media it’s not creating the album folder and the uploaded image is nowhere to be found.
I’m assuming there is an issue with the upload? I can’t find any info on this (I’ve spent hours trying to work this out cos I don’t want to ask a question if there is already an answer somewhere) unless I just don’t know the correct place to look?
One other question, in the options there is a box for ‘Slug Name’ which is prepopulated with the word album and it says it should be ‘name of album + slug’ … I’ve just left this with the default and can’t find anything on it in the wiki. I’ve read the definition on the WP codex so I’m assuming keeping the default should be fine?
Thanks so much for your help. I was so excited when I found this plugin and it’s just a little bump away from working and being an amazing addition to my website. I will provide a rating once I can get it working. Please note I only know css and html … trying to get my head around the rest
I checked out the link you posted, but I can’t get past your loading screen. Great idea for a site BTW, that’s going to be huge. You’ll *love* bp-media 0.1.9 …it has exactly what you’ll need to handle media for something like that, including monetization hooks.
The problems you’re describing could be caused by a lot of things:
1) Are you sure you have BuddyPress installed and activated? Because I’m not seeing any of it’s footprints in your site’s HTML code.
2) Are you sure that you have PHP’s permissions set up correctly on your server? Because bp-album should, in theory, create the uploads folder even if the file upload fails.
3) Are you sure you’re uploading a file that’s a) small enough and b) of a compatible file type. The max upload size for bp-album is set somewhere in WordPress’s admin menus. Compatible file types are JPG, GIF, and PNG.
4) With regards to slug names, it has to be a “wordpress legal” slug name. [AZ az 09 -_] only, and unique from all other slug names on the install.
5) BP-Album doesn’t work with sites that use subdomains, either …although BP-Media will work with subdomains.
Oops sorry, I forgot about the coming soon page cos I can’t see it. I’ve deactivated it and will start going through the 5 points. Thanks for the positive feedback! I’m really excited about it but you can’t help but have moments where you have doubts … I have so many ideas for it. Just wish I had money to pay someone to do all the dev work, I think it’s good to get your hands dirty though.
I definately have buddypress installed and activated as I was able to upload a new avatar. I haven’t completed the compatibility checks though.
Regarding the subdomains, I have this setup for the blogs that users will create but not for buddypress. I hope that makes sense, I’m assuming that it refers to the subdomains being used in BP for the member urls?
Q.1 Yep, just need to work my way through the BP configuration as I’m not using a BP template (it’s going to drive me nuts but I needed a prettier template until I have funds for a custom design …)
Q.2 I checked the PHP Configuration settings in CPanel and it says http file uploads are on, Paths and Directories says:
(directive) – include_path
(info) – Windows: “path1;path2″ c:phpincludes”
The permissions on the uploads folder are 755 with the write permissions only allowing for users, does it also need group ticked? Not sure if I’m looking at the right thing …
Q.3 The file I’ve tried to upload (I’ve actually tried several) is the same file I’ve used as the avatar which was successfully uploaded to the BP profile, it’s the right size for a twitter profile pic and is a jpg.
Q.4 I’ve left the slug name as the default which was ‘album’ – not really sure what benefit there would be to adding something else here?
Q.5 as per my above reply, I have setup subdomains for the creation of new sites (users blogs) but not for the BP member pages. Does it matter that the blogs are setup as subdomains?
When you say BP-Media 0.1.9 has exactly what I need were you refering to my other post about users being able to grab pics from the main site to store in their personal album? I’ll be over the moon if that’s the case! Very exciting! You must hate being asked this question all the time but is the release date for that still sometime in June?
You wouldn’t know of a good project/task manager by any chance? I’m trying to work out if CollabPress will do what I need but I need it to be a private task manager for each user.
Thanks so much again for your help, I can’t believe the incredible things you guys put together.
I think I forget to put in the mention in the above posts .. @foxly
RE: `Q.5 as per my above reply, I have setup subdomains for the creation of new sites (users blogs) but not for the BP member pages. Does it matter that the blogs are setup as subdomains?`
It might, so we need to test:
1) Backup your entire site, databases and all.
2) Delete your entire site, including all files and databases.
3) Install a fresh copy of WordPress. Set it up NOT to use subdomains.
4) Install BuddyPress
5) Ensure you are using the DEFAULT BuddyPress theme, and have set your URL structure to the format BP needs.
6) Install BP-ALbum+ (the latest version from the wordpress plugin site.
Then try uploading a JPG file that is under 2MB in size.
What happens? …provide screen captures if possible.
7) Delete the test install, and recover your main site from your backups.
`When you say BP-Media 0.1.9 has exactly what I need were you refering to my other post about users being able to grab pics from the main site to store in their personal album? I’ll be over the moon if that’s the case! Very exciting! You must hate being asked this question all the time but is the release date for that still sometime in June?`
Check out the BP-Media features list on our Google Code site. We’ve added a lot of new functionality that’s not on that list, but haven’t have time to update it.
Thanks for your reply. Before I uninstall wordpress etc I though I’d check with my web host what I software versions I currently have installed as I’m using a shared server until I get it up and running (purely to save cash until I have to upgrade). They have advised I have:
128MB memory limit
I notice MySQL and GD need an upgrade, could this be the problem? They have advised I’d need to upgrade to a VPS to have the software updated which is fine as I was expecting to have to do that from the start anyway.
I uploaded bp and bp album on a test domain which is also hosted by a different company and set it up as directories not sub domains and the upload works fine.
I then backed up my main site, uninstalled wordpress and then installed it again with directories + BP and BP Album using the default BP theme but it still won’t upload the images (I tried to upload the same pic that was successfully uploaded on the test site.
I checked with the host of the test site and they have older versions of PHP and MySql than the main host (for thetiethatbinds.net). They told me to upload a file to see more detail of the gdlibrary and php stuff (sorry I’m not really familiar with this stuff) so I’ve done that for both sites to see if there is anything in there that could be the issue. The test site info: http://pippamiddletonsdress.com/info.php Main site info (the one that doesn’t work): http://www.thetiethatbinds.net/info.php
I will also uninstall wordpress again from the main site (I did this via softaculous) and double check that all files etc have been deleted via the ftp.
Well you’re certainly a hard working site admin …
I suspect your problems are being caused by the auto-install tool you’re using to set-up WordPress. Your first goals are to get WordPress and BuddyPress working on your site.
What you need to do is post your questions in the General Troubleshooting forum, and the guys in there will help you get your install working.
Then, after you have BuddyPress running properly, come back here and the team in this forum will help you get BP-Album+ configured.
The least I can do is try and eliminate anything I can think of so that I’m not wasting your time
The image upload is working fine for wordpress and buddypress (I can upload a new avatar no problem) it’s just the image upload for BP Album that I can’t get working for my main site (it works on the test site which is weird).
I’ve checked the permissions and they are fine (755) but it’s not creating the folder for the images to live in. It doesn’t create an error when I upload to the album, it creates the thumbnail etc but the image link is broken.
Could it still be that wordpress isn’t installed properly? Not sure where to go from here.
Hit me up on Skype “carl.roett” and I’ll see what I try and debug your install remotely.
- The topic ‘Uploaded Images Not Found’ is closed to new replies.