Previous Thread
Next Thread
Print Thread
Rate Thread
#219299 06/18/2002 4:44 PM
Joined: Jun 2002
Posts: 62
Power User
Power User
Offline
Joined: Jun 2002
Posts: 62
I just upgraded from 5.5.1 to 6.0.1 I did everything and it is working for the most part but when I go to the admin tool and click on the config setting I get this

f:web sitesdaocubbthreads/config.inc.php is not writeable, so you will not be able to use this tool until the permissions are changed.

notice the slashes are missing for the f:\web site\...

I don't know anything about this PHP stuff and now they add the templats.

What should I do?

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
welcome

Double-check that you have correct paths set in main.inc.php and config.inc.php. That should fix the problems.


- Allen wavey
- What Drives You?
Joined: Jun 2002
Posts: 62
Power User
Power User
Offline
Joined: Jun 2002
Posts: 62
I do as far as I know here is what they look like

main.php
<?

// THIS NEEDS TO BE SET, OTHERWISE ADMIN SCRIPTS WILL NOT WORK
// THIS IS THE ACTUAL PATH TO YOUR PHP INSTALLATION
$thispath = "f:\web sites\daoc\ubbthreads";

// PATH TO YOUR config.inc.php file. BY DEFAULT THIS IS THE
// SAME AS $thispath, BUT IF YOU MOVE config.inc.php TO ANY
// OTHER LOCATION YOU MUST SPECIFY IT HERE.
$configdir = "f:\web sites\daoc\ubbthreads";

// DO NOT EDIT ANYTHING BELOW THIS LINE!
include("$thispath/ubbt.inc.php");

// Page load times
$timea = getmicrotime();

?>

I have the same path in the config.inc.php also the config file is in the ubbthreads folder.

Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
Try using forward slashes instead of back slashes:

$thispath = "f:/web sites/daoc/ubbthreads";
$configdir = "f:/web sites/daoc/ubbthreads";

'\' is a metacharacter in PHP. If you want to use it as a literal in a quoted string, you would need to escape it as '\\'. But using forward slashes is simpler, if that works.

Joined: Jun 2002
Posts: 62
Power User
Power User
Offline
Joined: Jun 2002
Posts: 62
ok I don't get that error but when I go to save my changes I get this

Warning: fopen("f:/web sites/daoc/ubbthreads/config.inc.php", "w") - Permission denied in F:\web sites\daoc\ubbthreads\admin\doeditconfig.php on line 386

Warning: fwrite(): supplied argument is not a valid File-Handle resource in F:\web sites\daoc\ubbthreads\admin\doeditconfig.php on line 387

Warning: fclose(): supplied argument is not a valid File-Handle resource in F:\web sites\daoc\ubbthreads\admin\doeditconfig.php on line 388

I have full access to all the ubb files so it should be able to write.

Sponsored Links
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
make sure config.inc.php has 777 permissions on it


- Allen wavey
- What Drives You?
Joined: Jun 2002
Posts: 62
Power User
Power User
Offline
Joined: Jun 2002
Posts: 62
It seems to be working except for the tab in the Special functions area to track the posts. you have 3 choices.

1. No, don't track new posts
2. Only track new posts on individual threads (thread only)
3. Do full new post tracking (full)

it only will let me choose 1 or 2 if I try the 3rd it reverts to the 1st choice.

BTW how would I insert the spell checker in my board?

thank you for your help.

Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
See this bug fix.

The spell checker is a hack. Look for it in the V6 Beta Modifications forum.

Joined: Jun 2002
Posts: 62
Power User
Power User
Offline
Joined: Jun 2002
Posts: 62
Thank you very much.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)