Previous Thread
Next Thread
Print Thread
Hop To
#181186 03/21/2007 12:53 AM
Joined: Mar 2007
Posts: 7
C
stranger
stranger
C Offline
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?

Chad #181192 03/21/2007 5:15 AM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
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?


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #181207 03/21/2007 12:07 PM
Joined: Mar 2007
Posts: 7
C
stranger
stranger
C Offline
Joined: Mar 2007
Posts: 7
includes/config.inc.php is read/write (666)

no problems in any previous steps all passed.

Chad #181211 03/21/2007 4:50 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
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");


Rick #181270 03/21/2007 11:48 PM
Joined: Mar 2007
Posts: 7
C
stranger
stranger
C Offline
Joined: Mar 2007
Posts: 7
odd.. The message hasn't changed.
Still same error message.

Chad #181295 03/22/2007 10:14 AM
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

Fred #184159 05/11/2007 3:04 PM
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=
Shane #184166 05/11/2007 6:37 PM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
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?


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #184203 05/13/2007 12:02 AM
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=
Shane #184204 05/13/2007 1:11 AM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
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



I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #184206 05/13/2007 2:01 AM
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=

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
0 members (), 598 guests, and 134 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)