View Full Version : HELP! I need help. All is gone...
Dear experts.
I have had a pixelpost for a year, I had losts of photos and lots of comments. I then yesterday wanted to make one more, this one with my paintings. I copied it all to a new folder then logged in to that new adminmodule and deleted all the photos. Apperently now I have two empty blogs:((((
http://www.12day.dk/Ny/pixelpost/index.php?x=browse
this is my old one.
the other one that I wanted for my paintings:
http://www.12day.dk/ny/pixelmaleri/index.php
And I have problems even installing the new one, because I cant make te folders readable (CMOD 777). My serverhoster tells me it is a windows server and I dont have to CMOD, that it is 777 by automatic, but still pixelpost tells me I cant write to the folders....
Help is very much appriciated as I now all of a sudden lost all my portefolio:(
Sim (sad)
www.12day.dk
kevincrafts
12-29-2007, 04:18 PM
You may have copied your folders and files but both of them were still connected to the same database - each separate install needs it's own database tables. Did you ever back up your data?
dakwegmo
12-29-2007, 05:19 PM
If you copied all off the files, including /includes/pixelpost.php then each version of PP was connecting to the same database as Kevin suggested. Unless you or your web host have backed up your files and database recently then you are SOL.
Hi guys.
I have backup but where is the database located... In one of the folders?
I dont know the expression SOL, but I definately know what you mean (crying).
And still it doesnt solve the problem on how to run two different blogs...
Sim(hopeful that these fellows know what they are talking about)
dakwegmo
12-30-2007, 07:21 PM
In order to restore you photoblog, you will need a backup of your database from before you tried to install the second copy of PP. If you didn't make a backup of the database, through a command line, or phpMyAdmin, then you will need to check with your host to see if they have a backup they can restore. Your database won't be in a folder on your website. If you, or your host, don't have a copy of the database from prior to the changes, you will have to re-upload all of your images.
In order to install two copies of PixelPost, you will need to upload all of the PixelPost files to two folders on your web server. You would then need to edit both pixelpost.php files in the includes directory.
$pixelpost_db_host = "replace_me"; // database host, often "localhost"
$pixelpost_db_user = "replace_me"; // database user
$pixelpost_db_pass = "replace_me"; // database user password
$pixelpost_db_pixelpost = "replace_me"; // database
$pixelpost_db_prefix = "pixelpost_";
The first four lines will be the same in both files. To run two versions of PP, change the last line to something like "pixelpost1_" for the first install, and and "pixelpost2_" for the second install.
I hope that helps.
SOL is a rude term, referring to the first word in the original title of your post, and meaning completely out of luck.
Thank you again for helping me, it is very kind of you, I really appriciate it. PHP has never been a language I managed wich makes the understanding a bit harder for me.
I think I will just start two new pixelposts up, I cant find anything other than a .mdb file, and thats for access, so cant be that one. Anyway I just launched an entire new sitedesign, so new pixels should be fine, I will try making two new ones, but I still have the problem of making it writable, as I wrote in my first post here...
Greetings Sim
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.