PDA

View Full Version : install.php & images folder


coma
03-25-2007, 10:55 PM
I wonder why there is no caution for deleting "install.php" file after installing PP 1.6?

Also , installation process does not make "images" & "thumbnails" folders automatically, and only says : "the chmod is incorrect" but does not mention that "these folders do not exist!!"
so is it impossible to make these folders during the installation?!

byrt
03-26-2007, 12:04 AM
I wonder why there is no caution for deleting "install.php" file after installing PP 1.6?

Also , installation process does not make "images" & "thumbnails" folders automatically, and only says : "the chmod is incorrect" but does not mention that "these folders do not exist!!"
so is it impossible to make these folders during the installation?!

I got the same problem?

jaywilliams
03-26-2007, 12:23 AM
Currently, you have to create the "images" and "thumbnails" directories yourself.

Dennis
03-26-2007, 05:19 AM
Due to the various restrictions, permissions and owner settings it is better to create the folder by hand. There are ways of creating folders automatically (the function mkdir() comes to mind) but most functions are also not working or very limited in safe mode. Safe mode is a setting controlled by hour hosting company and cannot be overruled.

The best way to create these folders is by using your ftp client.

Normally the install.php will redirect you to the mainpage of your blog when the install has finished. Therefore there are no security issues and there is no need to remove this file.

austriaka
03-26-2007, 06:46 AM
If you are going to install Pixelpost into the root of your domain (like www.yourdomain.tld/index.php) images and thumbnails folder must be created into the root folder.
Usually the root folder it is not writeable by default. Most providers do not allow to set chmod on root folder (which you actually don't see in most cases). I suppose creating the folders automatically there will not be possible for most people.

KArin

byrt
03-26-2007, 12:13 PM
hi everyone
thanks for the advise. I did created new folders for images and thumbnails.

But I get this now:

Image Directory: OK - Can we write to the directory? YES. CHMOD:0755
Thumbnails Directory: OK - Can we write to the directory? YES. CHMOD: 0755

I still can not upload anything?

Dennis
03-26-2007, 01:16 PM
hi everyone
thanks for the advise. I did created new folders for images and thumbnails.

But I get this now:

Image Directory: OK - Can we write to the directory? YES. CHMOD:0755
Thumbnails Directory: OK - Can we write to the directory? YES. CHMOD: 0755

I still can not upload anything?

Please CHMOD to 777,
http://wiki.pixelpost.org/index.php?title=CHMOD_777%2C_Read_Write_Execute_Pe rmissions
http://wiki.pixelpost.org/index.php?title=What_is_CHMOD%3F

byrt
03-26-2007, 02:50 PM
aaaaahhh now i get it...lol

using cuteftp
select image folder and right click and go to properties/CHMOD

thanks

dakwegmo
03-26-2007, 08:42 PM
Due to the various restrictions, permissions and owner settings it is better to create the folder by hand.
...
The best way to create these folders is by using your ftp client.


Why not just add empty images and thumbnails folders to the PP download? Since they're empty you aren't going to overwrite any of the files in the folders if you try to upload the folder again, and then you don't have to contend with people not understanding that they have to create these folders manually.

Dennis
03-27-2007, 06:01 AM
Why not just add empty images and thumbnails folders to the PP download? Since they're empty you aren't going to overwrite any of the files in the folders if you try to upload the folder again, and then you don't have to contend with people not understanding that they have to create these folders manually.

Funny you should say that. We're updating the install routine to use this. We even try to CHMOD if we can, if not, we'll display a nice message how this can be done by FTP client.