Well, I see Beta 3 has been downloaded... 12 times!!!
But I just want to report a couple of typos and bugs I found out by myself while coding the new version (see below
).
The first one involves the logout feature that may have some problems. In files
./KSMAS/include/access.inc.php and
./KSMAS/include/functions.inc.php I wrote
$_SESSIO['logout'] while I really meant
$_SESSION['logout']. This could cause you to not to be logged out properly. Anyway this is not safety essential, since you can log out by closing your browser and opening it again.
The second bug/typo involves the file copies management. In version 0.2 if you uploaded an image with a file-name that already existed on the server, the name was changed to filename(1).gif, filename(2).gif, etc. (à la Windows). This doesn't happen now because I forgot to update ir to the directory based storage. So if you upload a different image with a name that already exists the old image may be ovewritten and when you delete one of both both get deleted and causes the other one to be a dead image. You can fix this in file
./KSMAS/include/upload.php.
code:
WRONG:
while ( file_exists($file_name.ext) ) {
RIGHT:
while ( file_exists('./'.$_SESSION['user'].'/'.$file_name.ext) ) {
Not very relevant bugs but surely annoying when you meet them in a dark street.
KSMAS RC1 Announcement:
Well, as I'm having looots of free time in here (and no internet at home
) I¡ve been coding a lot. I added to KSMAS following things:
+ Option to install it in two modes: Single User and Admin Multiple Users (I did also create a couple of nice icons to label them
see my boredom).
+ Options panel:
- Users:
Appended free slot number (requested by Omar)
Gap filling (requested by Omar, too? I dunno)
Kind of randomization (seconds, miliseconds, real random)
- Admin:
- Limit of appendable free slots
- Default number of appended free slots
- Activation time.
+ Fixed the styles and header images while uninstalling
+ Automatic detection of setup.php from admin panel allowing to detele it or to install KSMAS right from there
+ Detection of duplicated images (so that you don't upload the same image twice
)
+ Now KSMAS detects if its folder has been renamed (
) what would likely cause it to fail, so it prompts an error page and offers you the chance of changing the name back.
+ When a page is not found or the login is incorrect or whatever kind of hacking is detected KSMAS emulates a real Apache 404 page, as if the 404 was true.
+ And several other bugfixes.
I wanted to bring you a couple of screenshots but I had no floppy and I didn't bother using a CDRW for that.
If I'm lucky I could be releasing RC1 next monday.
Btw, Would you like to have it updating automatically from the (not yet existing) project homepage (http://ksmas.sf.net)?
It would be possible and even funny
If you have any other ideas post them right here, please. Thanks!
Have a nice week!