Advertisement:

Author Topic: Warning - agreement.txt is not writable, any changes you make will NOT be saved  (Read 12174 times)

Offline spiros

  • Language Moderator
  • SMF Hero
  • *
  • Posts: 1,732
  • Gender: Male
  • A different point of view
    • spiros.doikas on Facebook
    • doikas on LinkedIn
    • @greektranslator on Twitter
    • Greek Translation
I tried chmodding agreement.txt to 666 and 777 but the same error  comes up. Not only that but when a new member registers no agreement text appears (only the "I Agree" check box appears)!

I even tried deleting agreement.txt  and adding another file and chmodding again but to no avail.

http://www.translatum.gr/forum/index.php
SMF 1.0 RC2.

Offline Grudge

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,742
  • Gender: Male
  • Unofficial nuisance
http://www.translatum.gr/forum/agreement.txt

Strange, all seems to be present and correct to me - it was working before you changed it?
I'm only a half geek really...

Offline spiros

  • Language Moderator
  • SMF Hero
  • *
  • Posts: 1,732
  • Gender: Male
  • A different point of view
    • spiros.doikas on Facebook
    • doikas on LinkedIn
    • @greektranslator on Twitter
    • Greek Translation
Yes, it was working. I had made changes in the past without problems. Just today, when trying to make some more changes, it would not let me! Do you actually see the agreement text when you try to register? This is the main problem, I could just as well upload the file with the changes but I cannot do anything if the agreement text is not displayed when a new user registers.
« Last Edit: December 20, 2004, 12:27:48 PM by spiros »

davon

  • Guest
looks for me like there's something wrong with your template... when i load the source via right mouse, i see only an empty td before the agree checkbox.

Offline spiros

  • Language Moderator
  • SMF Hero
  • *
  • Posts: 1,732
  • Gender: Male
  • A different point of view
    • spiros.doikas on Facebook
    • doikas on LinkedIn
    • @greektranslator on Twitter
    • Greek Translation
I do not think so... i changed all templates back to the default and the problem persists....

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Please try downloading the file, deleting it from the server, and then uploading it again...

Make sure it's 666 or so when you do so.

-[Unknown]

davon

  • Guest
and i still think the mistake is in the template ;)

-> Themes/default/Register.template.php

normally the td there isn't empty

Offline spiros

  • Language Moderator
  • SMF Hero
  • *
  • Posts: 1,732
  • Gender: Male
  • A different point of view
    • spiros.doikas on Facebook
    • doikas on LinkedIn
    • @greektranslator on Twitter
    • Greek Translation
Hello,

Thanks for the help. Actually I tried both solutions:

1) Uploaded a fresh copy of Themes/default/Register.template.php
2) Deleted the agreement.txt file. Uploaded another version. Chmod to 666. Nothing.... Chmod to 777. Nothing....

Actually when I open a new session of WS FTP it is still 644. It is like it will not accept the change in permissions.

I tried with CuteFTP it seems to accept the change. I delete the file. Reupload it, chmod it again to 666 but nothing...

[agreement.txt]
COMMAND:> SITE CHMOD 666 agreement.txt
200 SITE CHMOD command successful

« Last Edit: December 20, 2004, 03:34:30 PM by spiros »

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Ask your host about it.  Perhaps they messed with something?

-[Unknown]

Offline spiros

  • Language Moderator
  • SMF Hero
  • *
  • Posts: 1,732
  • Gender: Male
  • A different point of view
    • spiros.doikas on Facebook
    • doikas on LinkedIn
    • @greektranslator on Twitter
    • Greek Translation
Well, I have a test installation in another site hosted in the same host

http://www.paxos.tk/m/forum/index.php?action=register

and agreement text seems to work perfectly....

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
.....

Can you try checking repair_settings.php to make sure all your paths are correct?

What is repair_settings.php?

-[Unknown]

Offline spiros

  • Language Moderator
  • SMF Hero
  • *
  • Posts: 1,732
  • Gender: Male
  • A different point of view
    • spiros.doikas on Facebook
    • doikas on LinkedIn
    • @greektranslator on Twitter
    • Greek Translation
Yes, repair_settings.php did the trick. For some strange reason in
forum directory there was this value: dirname(__FILE__)

Thank you!