Search found 50 matches

by .g@sp.
Mon Aug 28, 2006 2:15 pm
Forum: Installation
Topic: update problem : chmod 777
Replies: 24
Views: 19691



If your full path is wrong, you need to change the right serendipity path; you can use phpMyAdmin to edit the serendipity_config DB table and insert the right paths there!

It seems your provider changed paths without telling you?

Once more, you're right...
That was "only" a full path problem ...
by .g@sp.
Mon Aug 28, 2006 12:33 pm
Forum: Installation
Topic: update problem : chmod 777
Replies: 24
Views: 19691

Hi!

Please try this updated script:


<?php
echo substr(sprintf('%o', fileperms('/home/defactoa/www/blog/')), -4);
echo "<br />\n";
echo substr(sprintf('%o', fileperms('/home/defactoa/www/blog/templates_c/')), -4);
echo "<br />\n";
if (is_writable('/home/defactoa/www/blog/')) {
echo 'WRITABLE ...
by .g@sp.
Sun Aug 27, 2006 1:15 pm
Forum: Installation
Topic: update problem : chmod 777
Replies: 24
Views: 19691

hm it's almost ok, but it's not

Now it tells me "i don't have the rights to write in templates_c, give it to me manually"

So, i'm gonna set back the originally upgrader_inc.php and give you my ftp access by private message...

I hope it will work...

anyway, thank you for the help
by .g@sp.
Sun Aug 27, 2006 1:02 pm
Forum: Installation
Topic: update problem : chmod 777
Replies: 24
Views: 19691

hm we asnwered on the same time...

first, can i try to install without this verification ? (by deleting the lines i told on my previous post)

If not, i'll give you my ftp access...

thank you very much ;)
by .g@sp.
Sun Aug 27, 2006 1:00 pm
Forum: Installation
Topic: update problem : chmod 777
Replies: 24
Views: 19691

Is it dangerous to simply delete this part of the upgrader script ?? (from line 265 to line 306)
I tried it, and by the way, i can continue the installation... but i'm not sure it's very clean to do that... :?
by .g@sp.
Sun Aug 27, 2006 12:53 pm
Forum: Installation
Topic: update problem : chmod 777
Replies: 24
Views: 19691

Hi!
Hm, did you replace all is_writable checks?


Yep
there is 3 "is_writable" on lines 273, 284 and 296
and when i modified it to "is_dir", nothing has changed.

I don't know about such protection. Please ask your provider how to proceed? Serendipity can't do something about it, you must have ...
by .g@sp.
Sun Aug 27, 2006 11:54 am
Forum: Installation
Topic: update problem : chmod 777
Replies: 24
Views: 19691

hm it seems to be weird.
Someone told me that there is some protection when i set some file (or dir) to 777.
Is it possible to pass through this on the update of s9y ?
Because before that, everything was ok, the users had wrote a lot of topic in it... and now, they ask me to have the blog back ...
by .g@sp.
Sat Aug 26, 2006 3:34 pm
Forum: Installation
Topic: update problem : chmod 777
Replies: 24
Views: 19691

Hi!

Ah, maybe you can replace is_writable just with is_dir; the 'empty()' one was bad, as you experienced :)
it doesn't work :?

i'm gonna contact the ovh helpers... but an you tell me what i have to ask them precisely ??

Yes; show them your test.php script and ask them, why "FALSE" is ...
by .g@sp.
Sat Aug 26, 2006 2:50 pm
Forum: Installation
Topic: update problem : chmod 777
Replies: 24
Views: 19691

ok it works for my basedir, but not for the templates_c dir, so i can't continue the install anyway...

and when i modify every "is_writable" by "!empty", i have a parse error :
Parse error: syntax error, unexpected '.', expecting ')' in /home.13/d/e/f/defactoa/www/blog/include/admin/upgrader.inc ...
by .g@sp.
Sat Aug 26, 2006 2:29 pm
Forum: Installation
Topic: update problem : chmod 777
Replies: 24
Views: 19691

now it tells me :
0777
0777
NOT WRITABLE
NOT WRITABLE


If your server is running PHP's SafeMode, you need to ensure that the user/group IDs of the owner of the directory are set so that PHP can access those directories.

I don't understand that :? how can i know that my server is runnig PHP's ...
by .g@sp.
Sat Aug 26, 2006 2:16 pm
Forum: Installation
Topic: update problem : chmod 777
Replies: 24
Views: 19691

it tells me :
0777
0777
by .g@sp.
Sat Aug 26, 2006 2:08 pm
Forum: Bugs
Topic: Smarty Error
Replies: 8
Views: 5275

it continues here
by .g@sp.
Sat Aug 26, 2006 2:03 pm
Forum: Installation
Topic: update problem : chmod 777
Replies: 24
Views: 19691

Im' sorry, it's in french
Image

and inf filezilla i got this :

Image

:?
by .g@sp.
Sat Aug 26, 2006 1:55 pm
Forum: Installation
Topic: update problem : chmod 777
Replies: 24
Views: 19691

yep, it works perfectly...
in front of my serendipity dir, under permissions on filezilla, i have drwxrwxrwx, and the same in front of templates_c
And it doesn't change when i refresh and even when i close and reopen filezilla...

Si i'm really lost :shock:
by .g@sp.
Sat Aug 26, 2006 1:48 pm
Forum: Installation
Topic: update problem : chmod 777
Replies: 24
Views: 19691

update problem : chmod 777

i'm gonna update my old 0.9 version to the 1.1 beta version.
i've made a backup of my existing files and of my DB.
So, now i just have to copy all the files extracted of the serendipity-1.1-beta1.tar.gz file in the serendipity folder on my server ? (except config_local.inc.php)
Is that right ?
I'm ...