|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
I just downloaded 5.1.6 today and there is an error in addpost.php, on line 149 it says: badnames = file ("$config[phpurl]/filters/badnames"); this needs to be badnames = file ("$config[path]/filters/badnames");
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
that not all of the changes....
also need to make changes in lines 124,517 and 645
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
Was this not working for you. In php you can specify a path or an url to grab a file, so phpurl should work. The reason this was changed is path was causing some problems on some servers with the fileopen because their doc root was already getting prepended to the front of the path.
UBB.threads Developer
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
it was sensoring everything....every word was causing a [censored]
i installed it by copying only the files in 5.1.6 that had changed after i had done a fresh install of 5.1.5 two weeks ago.
|
|
|
|
Joined: May 2000
Posts: 125
Member
|
Member
Joined: May 2000
Posts: 125 |
Just for information, the 5.1.6 PHP version (so => phpurl) works fine on my server (Platform: MacOS X Server).
|
|
|
|
Joined: Mar 2000
Posts: 84
Member
|
Member
Joined: Mar 2000
Posts: 84 |
I've used the new changed version with phpurl on both types of configurations: 1) autoprepend the path 2) no autoprepend of the path and in both instances phpurl works. I would suggest you check your config file to make sure your path to wwwthreads is set correctly. An incorrect path would result in the behavior you're seeing. // Url to the main WWWThreads php install $config['phpurl'] = "http://www.yourdomain.com/path/to/wwwthreads"; And be sure to see whether or not your path has a trailing slash, that too could be a problem. --------- Shalazar www.charisma-carpenter.com
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
I get : Warning: file("http://www.mydomain.com/php/filters/badnames") - Success in /home/httpd/html/php/addpost.php on line 149
Warning: Variable passed to each() is not an array or object in /home/httpd/html/php/addpost.php on line 150
when I preview my new post, and then if I go ahead and continue, I get teh censor tags everywhere.
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Just to add to what Zoran said, and to comment on the post before him, our url is exactly the way it should be, and the way you have said it should be.
We can't open our php forum until we know a fix for this! :(
Deejay
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
Ok, it looks like I may have to revert to the old way of doing this, or make a config option or something. What you can do for the meantime is edit your addpost.php, lines 124, 149, 517 and 645 you will see where it says $config[phpurl]. Change these to $config[path] and you should be ok.
UBB.threads Developer
|
|
|
|
Joined: Mar 2000
Posts: 84
Member
|
Member
Joined: Mar 2000
Posts: 84 |
I would vote for a config option. It would be best for cross-compatability between various systems. --------- Shalazar www.charisma-carpenter.com
|
|
|
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.
|
|
Posts: 5,833
Joined: January 2000
|
|
Forums63
Topics37,574
Posts293,926
Members13,850
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|