|
Joined: Mar 2007
Posts: 7
stranger
|
stranger
Joined: Mar 2007
Posts: 7 |
have followed all the step outlined in the UBBthreads install guide, however on step 8 it says "You may now proceed to the next step to create all of the necessary database tables" I click the next step button and get a page that says "Failed to write config:"
What do I do?
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Did you run into any issues with the previous steps? Is your includes/config.inc.php file chmodded 666?
|
|
|
|
Joined: Mar 2007
Posts: 7
stranger
|
stranger
Joined: Mar 2007
Posts: 7 |
includes/config.inc.php is read/write (666)
no problems in any previous steps all passed.
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
Hmm, the only time that error is triggered is if it can't write to the config file. There must be some type of permission problem that's keeping it from passing that step. Try this, line 100 of the install/createtable.php script looks like this:
$fd = @fopen("{$config['FULL_PATH']}/includes/config.inc.php","w");
Change that, to this and it should give the actual problem:
$fd = fopen("{$config['FULL_PATH']}/includes/config.inc.php","w");
|
|
|
|
Joined: Mar 2007
Posts: 7
stranger
|
stranger
Joined: Mar 2007
Posts: 7 |
odd.. The message hasn't changed. Still same error message.
|
|
|
|
Joined: Aug 2006
Posts: 111
member
|
member
Joined: Aug 2006
Posts: 111 |
The first time I set up UBB (Version 5?) I was a little confused between the paths/urls ( I knew what the difference was, but I wasn't sure which one was wanted) and while it "passed" some of the steps, it wasn't correct.
If I remember right, I had to run it a few times and some places wanted the ending "/" and some places didn't, or was that a "\"?
Rick,
May I make a suggestion, in the help files maybe you could include a screen shot with examples? It would go a LONG way to resolve this issue with perfect clarity. Maybe you have done this already? I honestly don't know as it has been over a year since I looked at the help install documents.
Anyway, Chad, are you sure you have all the paths listed correctly and that you aren't listing a URL where you need to put in the path (ie c:\inetpub\wwwroot\etc.).
Oh, and along this line, I guess there would have to be a different one for Windows and Unix based systems.
Fred
|
|
|
|
Joined: Feb 2007
Posts: 57
journeyman
|
journeyman
Joined: Feb 2007
Posts: 57 |
I'm having the exact same problem. Every prior step passed all tests, and the path and URL names are entered similar to the examples given (although I included the drive letter for the absolute path name and used backslashes). I tried editing the line of code mentioned above, and still receive the same "Failed to write config:" error message. Note that I have Win2000 server, and just installed both PHP 5.2.2 and MySQL 5.0.41 (essential edition). Has anyone found a solution to this problem?
RnJpZW5kc2hpcCB3aXRoIHRoZSB3b3JsZCBpcyBob3N0aWxpdH kgdG93YXJkcyBHb2QuICBKYW1lcyA0OjQ=
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Basically what tends to happen when you get a "Failed to write config" message is that a file cannot be found; it's basically a 404 error thrown by the server after PHP has tried to call the file when it's being run as a CGI binary. Once it's run the file it doesn't re-run the file, so it doesn't spew a normal 404 error.
Shane, could you post me exactly what you're putting in as your paths?
|
|
|
|
Joined: Feb 2007
Posts: 57
journeyman
|
journeyman
Joined: Feb 2007
Posts: 57 |
Hmm, it's working now. I tried running the install script again, using these paths: http://domainname.com/ubbthreads D:/Data/domainname.com/ubbthreads Whereas before I had: http://domainname.com//ubbthreads D:\Data\domainname.com\ubbthreads Maybe UBB.Threads doesn't support backslashes, or the extra slash in the domain was throwing it for a loop. I'd suggest to the design team to 'touchup' these addresses so they will change backslashes to forwardslashes and remove trailing slashes if necessary. Thanks! Shane
RnJpZW5kc2hpcCB3aXRoIHRoZSB3b3JsZCBpcyBob3N0aWxpdH kgdG93YXJkcyBHb2QuICBKYW1lcyA0OjQ=
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
The webserver itself doesn't like backslashes, forward slashes should always be used if possible; think of it as: \ for Local Computer / For internet
|
|
|
|
Joined: Feb 2007
Posts: 57
journeyman
|
journeyman
Joined: Feb 2007
Posts: 57 |
Thanks! I'm used to ASP coding, where local/absolute paths are returned with backslashes (like with Server.MapPath).
RnJpZW5kc2hpcCB3aXRoIHRoZSB3b3JsZCBpcyBob3N0aWxpdH kgdG93YXJkcyBHb2QuICBKYW1lcyA0OjQ=
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
0 members (),
598
guests, and
134
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|