Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthoradrian.
    • CommentTimeApr 23rd 2007
     # 1
    I got up this morning and checked my vanilla forum as per usual over breakfast but the setup page automatically came up when trying to access it.

    why the hell would a forum see itself as needing to be installed again?
    •  
      CommentAuthorGauzy
    • CommentTimeApr 23rd 2007
     # 2
    i get this every once in a while, usually a quick refresh fixes it. there's a topic or two floating around about this issue, but it's never been that serious for me
    •  
      CommentAuthory2kbg
    • CommentTimeApr 23rd 2007
     # 3
    hmm i just saw someone else with this exact problem also...
    •  
      CommentAuthorDinoboff
    • CommentTimeApr 23rd 2007 edited
     # 4
    The setting page appear when the appg/settings.php can't find conf/settings.php.

    That can happen when the permission of conf/ or its files are changed.or maybe because of network problem.

    the setting page won't do anything if the forum is already installed
    •  
      CommentAuthorWallPhone
    • CommentTimeApr 23rd 2007
     # 5
    Very strange it would happen on the same day--what version are you running?
    •  
      CommentAuthoradrian.
    • CommentTimeApr 23rd 2007
     # 6
    I was on version 1.1, I am going to upgrade to the latest version as soon as possible.

    Its a private forum too, ie non members cannot browse it...

    oddd
    •  
      CommentAuthorMark
    • CommentTimeApr 24th 2007
     # 7
    That is wierd. I've never had that....
    •  
      CommentAuthorØ
    • CommentTimeApr 24th 2007 edited
     # 8
    One of my forums has got its settings file corrupt twice (0kb), which caused the same problem. I've no idea why.
    •  
      CommentAuthorDraganBabic
    • CommentTimeApr 24th 2007 edited
     # 9
    ^ what he said. It happened something like two weeks ago for no apparent reason. The board is on Dreamhost.
    •  
      CommentAuthorØ
    • CommentTimeApr 24th 2007
     # 10
    The strange thing is I've several forums on the same host (OVH) and it only occured on one forum, always the same.
  1.  # 11
    i had the same problem yesterday. Wallphone assisted in getting it corrected.
    • CommentAuthoralecglen
    • CommentTimeApr 25th 2007
     # 12
    I've had the same problem on a couple of occasions so I just keep an up-to-date settings.php handy, strange to think how it happens really.
    •  
      CommentAuthor[-Stash-]
    • CommentTimeApr 25th 2007 edited
     # 13
    I had this exact same problem 2 days ago. I luckily had a backup of the php files and uploaded them again which solved the problem. I've also deleted the setup directory now as well, as I'd rather had a different error than something that could potentially destroy the database.

    This was on a FlexiHostings server, the Dreamhost server was fine.
    •  
      CommentAuthorWallPhone
    • CommentTimeApr 25th 2007
     # 14
    My unix command lines are a bit rusty, but next time this happens, before fixing the problem, this command should retrieve the last ten page requests from the log before it started going to setup:tail cat access_log | grep -v "setup/" | grep -v "302"Tail of the cat, so to speek.
  2.  # 15
    Hello,

    I have just experienced this problem - conf/settings.php = 0kb.
    Could somebody, please advise me how I can find out my ['APPLICATION_PATH']
    eg.= ['APPLICATION_PATH'] = '/mnt/web1/xx/xx/xxxxxxxx/htdocs/forums/';
    with this info, I can amend the conf/settings file from another forum

    Many thanks in advance
    •  
      CommentAuthorThaRiddla
    • CommentTimeNov 13th 2007
     # 16
    most FTP programs will give you that full path somewhere in the application.
    • CommentAuthorjakob_r
    • CommentTimeNov 13th 2007
     # 17
    Not really a solution to the problem, but maybe vanilla could be made to keep the previous version of conf/settings.php as conf/settings.bak when it is written to. At least that way there would always be the last backup.
  3.  # 18
    Thanks ThaRiddla,

    I will have to start using my old version of wise-FTP.
    I have been using web-FTP from my hosting company (as it's a lot easier) but doesn't give me this info :-(

    I appreciate your quick answer to my problem.
  4.  # 19
    Oh Dear! I am stumped.
    Can't find ['APPLICATION_PATH'] = '/mnt/web1/xx/xx/xxxxxxxx/htdocs/forums/';
    anywhere using my FTP program.

    Would any of the files in my vanilla set up (apart from the missing one) have this information ?

    Thanks
    •  
      CommentAuthorDinoboff
    • CommentTimeNov 17th 2007
     # 20
    to get it with php add that in a file in the root directory :echo dirname(__FILE__);
    •  
      CommentAuthorHamed
    • CommentTimeNov 17th 2007
     # 21
    this happens to me too
    and i am using 1.1.4
    well the newest one so far
    •  
      CommentAuthorDinoboff
    • CommentTimeNov 17th 2007 edited
     # 22
    The problem is related to some misuse of conf/settings.php or some bugs in their installation process.

    WHich extensions are you using? And are they up to date?

    A simple protection is to set the permissions on the settings.php (and database.php) to 400, 440 or 444 (depending of our server config).
    •  
      CommentAuthorKrak
    • CommentTimeNov 17th 2007
     # 23
    Hmmm I'd hate for it to be the HiddenText addon (or other addon), some people have had issues with it wiping out database/settings.php. Although that particular addon was wiping database.php, befire I made changes, then it hit settings, now it should be all ok (this was recently, like this week).
  5.  # 24
    Thanks Dino,

    I have uploaded a file into the root directory of Vanilla with only: echo dirname(__FILE__);
    Do I need to run something to find out the Application Path ?
    Sorry for the questions.

    Krak, I am not using the HiddenText addon, so the problem didn't arise from that.

    Thanks
    •  
      CommentAuthorDinoboff
    • CommentTimeNov 17th 2007 edited
     # 25
    eg /somewhere/on/the/server/forum/test.php :
    <?php echo dirname(__FILE__); ?>
    Then go to http://your.domain.com/test.php, it will display the path to the forum folder.
  6.  # 26
    Thanks Dino,

    I have uploaded and gone the that URL.
    A line appears with echo dirname(__FILE__);
    but nothing else.
    Am I doing something wrong?
    Thanks
    •  
      CommentAuthorDinoboff
    • CommentTimeNov 17th 2007 edited
     # 27
    The file should have a .php extension. "echo dirname(__FILE__);" should be between "<?php ... ?>"
  7.  # 28
    Thanks Dino,
    All working again now.
    You are a star !!!
Add your comments
    Username Password
  • Format comments as