|
ki_galleries
|
|
08-12-2009, 10:50 PM
Post: #1
|
|||
|
|||
|
ki_galleries
I want to save comments and generate thumbs automatically. Is it necessary to set permissions to 777? My thumbs wont get saved onto server because of that, i think.
also i noticed that gallery0_lastmodified file is stored to ki_base, which has to be set to 777, too. So how should i set the permissions? |
|||
|
08-13-2009, 09:11 AM
Post: #2
|
|||
|
|||
RE: ki_galleries
(08-12-2009 10:50 PM)JuPo Wrote: So how should i set the permissions? It should be enough, if you set "ki_gallereis" and "ki_base" to 755. KoschtIT Image Gallery developer |
|||
|
08-13-2009, 03:34 PM
Post: #3
|
|||
|
|||
|
RE: ki_galleries
with 755 on "ki_base" the lastmodified file wont be created and in gallery folder it will not create thumbs directory
![]() lastmodified file is written by setting 775 on "ki_base", but even i set up 777 on galleries, the thumbs wont get saved, just thumbs dir is created. Is it possible, that this is caused due to "safe mode" switched on? |
|||
|
08-13-2009, 04:04 PM
Post: #4
|
|||
|
|||
RE: ki_galleries
(08-13-2009 03:34 PM)JuPo Wrote: Is it possible, that this is caused due to "safe mode" switched on? Yes, that could be a cause. If you can, than switch it off. If not, you could try to make comments by hand. See therefore FAQ question 5. You may also need to set $thumbs_to_disk = 0; so thumbs won't be saved on disk anymore. FAQ 5. Help me! My comments won't get saved?! Probably PHP can't get writing permissions on your webserver. In this case you have to add your comments by hand. Therefore you have to create a folder named "comments" in the gallery you want to have your comments in. Afterwards you can put ".txt"-files in there. Each ".txt" should be named the same way as the picture the comment is for. For example for "picture.jpg" you need "picture.txt". Write your comment inside the ".txt"-file and make sure that $comments = 1; . If after all this comments are still missing make sure you upgraded to PHP5. Please note that since version 1.8 you have to press 'CTRL + Enter' to save comments. KoschtIT Image Gallery developer |
|||
|
08-13-2009, 04:33 PM
Post: #5
|
|||
|
|||
|
RE: ki_galleries
sure, i already read that.. i cant turn off safe mode - so does it mean, that i cant set $thumbs_to_disk to 1? it wont work anyway, will it?
|
|||
|
08-13-2009, 06:03 PM
Post: #6
|
|||
|
|||
|
RE: ki_galleries
No it means, that if you can't get writing permissions for your folders you can set $thumb_to_disk to 0 and it will work without giving you warning messages or anything. The only disadvantage would be, that thumbs will be created "on the fly" everytime an user will open your page. This would create more load on your server and any user who would open your site would have to wait longer.
KoschtIT Image Gallery developer |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread:






