PDA

View Full Version : Getting Images back


Reece^B
12-16-2006, 09:21 PM
Hi,
I little while ago my server was taken offline along with that my forum. I digged out a backup with the images from my garage (photoplog) and had the XML plugin. However I could get none of it to display.

So i started again, however really want to know if I can get my old images back. I have them, just cant get photoplog to show them, lol.

Thanks for the help in advance.

Morgan
12-17-2006, 02:49 PM
What do you mean that you started again? If you uninstalled PhotoPlog, and then reinstalled PhotoPlog, that would have dropped the PhotoPlog database tables, so there wouldn't be anything in the current tables to connect to the files in the images directory. If this is what happened, you'll need to restore a backup of the PhotoPlog tables.

Reece^B
12-18-2006, 09:23 PM
Well I ended up uninstalling PhotoPlog, however I have a backup of the images, tables and XML. But when I tried last time I couldnt get them to work.

However I do have a test board running, I will try on there. If I have no joy may I ask yourself to take a look?

Morgan
12-19-2006, 03:31 AM
FTP the image files into the PhotoPlog images directory, keeping the same directory sturcture and making sure those directories have 777 permissions. Next import the backup of the PhotoPlog database tables using for example phpMyAdmin, and then install PhotoPlog, making sure the PhotoPlog settings are correct.

Reece^B
12-19-2006, 12:24 PM
OK Mate, giving it another shot today. Thanks for the help so far.

Reece^B
12-19-2006, 06:45 PM
Ok this is giving me a headache, I tried to do exactly as above and for some reason it wouldnt work. I didnt get error messages just the same images as before which was odd as I set up the old forum and export the XML along with the tables.

Reece^B
12-19-2006, 07:56 PM
Ok been heavy at work on my local host to get the garage sorted, however I've been met halfway.

Images show, but no thumbs or catergorys.

See Below:

Morgan
12-20-2006, 01:05 PM
Go to the Category Manager, and for each category, click the edit link and then click the save button, without changing anything unless you want, to rebuild datastore.

Reece^B
12-20-2006, 04:59 PM
Morgan!! Your a legend. Its worked on my localhost. Now to do it live!

Thanks alot for everything bud!

Reece^B
12-20-2006, 07:58 PM
Fun and games eh!

New error: Sorry, PitBikeClub: Bad Type - File is of the Wrong MIME Type

I searched this error and found safe mode had to be off. Which my host claims it is. And the images directory under 'garage' has 777 permissions.

Morgan can you hed any light? =z

Morgan
12-21-2006, 03:48 AM
Do all the directories within the PhotoPlog images directory also have 777 permissions?

Reece^B
12-21-2006, 07:03 PM
Well I set all the folders with the members pictures to 777. I just uploaded a picture, however the error stopped showing but the picture wont show.

http://www.pitbikeclub.co.uk/garage/index.php?n=227

Morgan
12-21-2006, 07:37 PM
Check that usergroups 'Can View Files' via the Usergroup Manager.

Reece^B
12-21-2006, 08:24 PM
Yep, Morgan can I get you to take a look if I send you the details?

This would help allot. :(

Reece^B
12-21-2006, 09:26 PM
If its any use there was a member who uploaded his images before I gave 777 permissions to all of the images...

See screen shot below.

I think its people who have already uploaded images that are having the trouble? After 777ing everything like you said my image has uploaded but blank. Again see screen shot below.

Morgan
12-21-2006, 09:30 PM
Look at these '404 Not Found' links:

http://www.pitbikeclub.co.uk/garage/images/3/large/1_SP_A0155.jpg
http://www.pitbikeclub.co.uk/garage/images/3/medium/1_SP_A0155.jpg
http://www.pitbikeclub.co.uk/garage/images/3/small/1_SP_A0155.jpg

There is no image located at those links, so PhotoPlog has no image to display. Only http://www.pitbikeclub.co.uk/garage/images/3/1_SP_A0155.jpg has an image, but it's the original, not the thumbs.

Reece^B
12-21-2006, 10:12 PM
OK then how can I go about fixing this?
I mean members can upload pictures..another member done it tonight no problem.

I tried uploading another but it was just blank. Its left me confused.

Thanks.

Morgan
12-22-2006, 02:34 PM
Using the PhotoPlog upload.php file found in the Lite v.2.0.5 ZIP find:
Content visible to registered users only.
And beforehand add the following:
Content visible to registered users only.
Then FTP the PhotoPlog upload.php file to the server, overwriting the file on the server.

Next, using the PhotoPlog functions.php file found in the Lite v.2.0.5 ZIP find the photoplog_create_thumbs function, and in that function, remove all the @ and then FTP the PhotoPlog functions.php file to the server, overwriting the file on the server.

Now try to upload a new image. What happens?

Also, PM me a link to your PHP info page:
Content visible to registered users only.

Reece^B
12-22-2006, 04:19 PM
PM Sent.

Did the above however the thumbs showed in the Random Bar, but not in the list.

See screen shot below.
Content visible to registered users only. (http://www.imagehosting.us/index.php?action=show&ident=1842793)

Secondly tried uploading and got the following error.

Content visible to registered users only.

Morgan
12-22-2006, 09:49 PM
The PhotoPlog images directory and all the directories within the PhotoPlog images directory need to have 777 permissions. This means the images directory, the userid directories within the images directory, and the small, medium, and large directories within the userid directories within the images directory.

Reece^B
12-23-2006, 08:11 AM
Well I just uploaded an image and it showed.
This means I have to go into each folder and make them 777? This is gonna take a while, lol.
http://www.pitbikeclub.co.uk/garage/index.php?n=235

You know I had to edit that file, if there is an upgrade what's going to happen to the modified files.

Morgan
12-23-2006, 02:45 PM
On a *nix server, to set 777 permissions in one go via hell, cd to your PhotoPlog images directory, and then type the following:
Content visible to registered users only.
Also, you can undo the edits from post eighteen. The only point to those edits was so I could see why thumbs weren't being created.

Reece^B
12-23-2006, 08:35 PM
Awesome, well I manually edited them mate so thats good. Everything is running fine.

Thanks for all help Morgan, this has been the biggest support I've needed on the PhotoPlog forums.