new maillist.php problems with rc6 [message #11137] |
Thu, 19 June 2003 01:22 |
Tobias Eigen
Messages: 85 Registered: June 2003 Location: Seattle, WA USA
Karma: 0
|
Member |
|
|
Hi Protoss,
I installed the latest version of FUD (rc6) and have come across the following new error when running MAILLIST.PHP:
Quote: | Warning: fud_use(/home/httpd/vhosts/kabissa.org/httpdocs/forum/data/include/theme/de fault/th_adm.inc): failed to open stream: No such file or directory in /home/httpd/vhosts/kabissa.org/httpdocs/forum/data/include/core.inc on line 70
Warning: fud_use(): Failed opening '/home/httpd/vhosts/kabissa.org/httpdocs/forum/data/include/theme/default/t h_adm.inc' for inclusion (include_path='.:/php/includes:/usr/share/php:/usr/share/pear:/home/httpd/v hosts/dev.kabissa.org/httpdocs/pear') in /home/httpd/vhosts/kabissa.org/httpdocs/forum/data/include/core.inc on line 70
Warning: fud_use(/home/httpd/vhosts/kabissa.org/httpdocs/forum/data/include/scripts_ common.inc): failed to open stream: No such file or directory in /home/httpd/vhosts/kabissa.org/httpdocs/forum/data/include/core.inc on line 70
Warning: fud_use(): Failed opening '/home/httpd/vhosts/kabissa.org/httpdocs/forum/data/include/scripts_common. inc' for inclusion (include_path='.:/php/includes:/usr/share/php:/usr/share/pear:/home/httpd/v hosts/dev.kabissa.org/httpdocs/pear') in /home/httpd/vhosts/kabissa.org/httpdocs/forum/data/include/core.inc on line 70
Fatal error: Call to undefined function: db_sab() in /home/httpd/vhosts/kabissa.org/httpdocs/forum/data/scripts/maillist.php on line 369
|
Any thoughts? Is this related to my putting the data directory inside the forum directory?
Cheers,
Tobias
Kabissa - Space for change in Africa
[Updated on: Thu, 19 June 2003 02:12] Report message to a moderator
|
|
|
Re: new maillist.php problems with rc6 [message #11138 is a reply to message #11137] |
Thu, 19 June 2003 02:24 |
Tobias Eigen
Messages: 85 Registered: June 2003 Location: Seattle, WA USA
Karma: 0
|
Member |
|
|
Hi Protoss -
I just did the obvious and checked for those files - some of them are missing:
/home/httpd/vhosts/kabissa.org/httpdocs/forum/data/include/theme/default/th _adm.inc
/home/httpd/vhosts/kabissa.org/httpdocs/forum/data/include/scripts_common.i nc
I tried copying them back in from the previous version and got this:
Quote: | Fatal error: Cannot redeclare rebuild_forum_view() (previously declared in /home/httpd/vhosts/kabissa.org/httpdocs/forum/dt/include/theme/default/th.i nc:288) in /home/httpd/vhosts/kabissa.org/httpdocs/forum/dt/include/theme/default/th_a dm.inc on line 71
|
Clearly I don't know what I'm doing. I installed this from the tarfile I downloaded from the website yesterday.
-t
Kabissa - Space for change in Africa
[Updated on: Thu, 19 June 2003 02:34] Report message to a moderator
|
|
|
Re: new maillist.php problems with rc6 [message #11146 is a reply to message #11138] |
Thu, 19 June 2003 14:23 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I believe the problem is that your forum is locked, and that means that the user running maillist.php does not have the permission to open those files. Try unlock the forum files (using the file lock/unlock) admin control panel and try again.
FUDforum Core Developer
|
|
|
Re: new maillist.php problems with rc6 [message #11147 is a reply to message #11146] |
Thu, 19 June 2003 15:16 |
Tobias Eigen
Messages: 85 Registered: June 2003 Location: Seattle, WA USA
Karma: 0
|
Member |
|
|
Is there something wrong with the way FUD deals with open_basedir limits? I had to turn it off to get it to install at all (I got error messages). Unfortunately I am on a PLESK system that automatically resets an httpd.include file every time a domain change is made on the server, so this isn't a setting I can keep.
What permissions is FUD expecting? I think I made a mistake while troubleshooting and changed it to 777 - now the lock/unlock tool is giving me this error message:
Quote: | ERROR: /home/httpd/vhosts/kabissa.org/httpdocs/forum/dt -> d (777)
ERROR: /home/httpd/vhosts/kabissa.org/httpdocs/forum/dt/sql -> d (777)
ERROR: /home/httpd/vhosts/kabissa.org/httpdocs/forum/dt/sql/mysql -> d (777)
|
Cheers,
Tobias
Kabissa - Space for change in Africa
|
|
|
Re: new maillist.php problems with rc6 [message #11148 is a reply to message #11147] |
Thu, 19 June 2003 16:35 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
FUDforum does not deal with open_basedir at all. Unless open_basedir has changed since the forum was installed and the new settings deny access to forum's files there should not be a problem.
Check the permissions of those directories, perphaps the forum is not the owner of them and that's why it cannot change the permissions. Are the 3 directories you've specified the only ones which gave you this message?
FUDforum Core Developer
|
|
|
Re: new maillist.php problems with rc6 [message #11154 is a reply to message #11148] |
Thu, 19 June 2003 20:04 |
Tobias Eigen
Messages: 85 Registered: June 2003 Location: Seattle, WA USA
Karma: 0
|
Member |
|
|
prottoss wrote on Thu, 19 June 2003 12:35 | FUDforum does not deal with open_basedir at all. Unless open_basedir has changed since the forum was installed and the new settings deny access to forum's files there should not be a problem.
|
Right - this may be the source of my problem. I am unable to install with open_basedir on, because it gives me an open_basedir related error message for both the forum and data directories on step 1. This even though the directories I specify is in the path specified in open basedir. I then turn it off temporarily, and am able to install.
Quote: | Check the permissions of those directories, perphaps the forum is not the owner of them and that's why it cannot change the permissions. Are the 3 directories you've specified the only ones which gave you this message?
|
The ownership of the directories is set to apache:apache, while it should be kabissa:psacln so that I can manipulate the files using my ftp client. I set the permissions to 777 while troubleshooting, which, it seems to me, should work fine, but the open/close script gives error messages. I was able to get this working before - maybe I should try to start over with the install.
Cheers,
Tobias
Kabissa - Space for change in Africa
|
|
|
Re: new maillist.php problems with rc6 [message #11163 is a reply to message #11154] |
Thu, 19 June 2003 22:41 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Hmmm, sounds like an open_basedir problem in general. Open_basedir tends not to work if you have a symlinked path & a nonexistent file(s). So if you are using symlinks that could be a problem.
Basically if you could not install the forum due to open_basedir limit and you've temporarily disabled it to get the forum installed and then re-enabled it, expect problems. It is as simple as that.
FUDforum Core Developer
|
|
|
Re: new maillist.php problems with rc6 [message #11170 is a reply to message #11163] |
Fri, 20 June 2003 20:00 |
Tobias Eigen
Messages: 85 Registered: June 2003 Location: Seattle, WA USA
Karma: 0
|
Member |
|
|
Hi Protoss -
Is there something odd going on with the way your install script works? Look at this:
Quote: | open_basedir limitation "/home/httpd/vhosts/kabissa.org/httpdocs:/tmp" prevents the install script from writing to "/home/httpd/vhosts/kabissa.org/httpdocs/forum/". Please ensure that the specified directory is inside the directories listed in the open_basedir directive
|
This is the error I get on step 1 of the install script. As you can see, the specified directory is indeed inside the directories listed in the open_basedir directive.
Cheers,
Tobias
Kabissa - Space for change in Africa
|
|
|
|
Re: new maillist.php problems with rc6 [message #11172 is a reply to message #11171] |
Fri, 20 June 2003 20:25 |
Tobias Eigen
Messages: 85 Registered: June 2003 Location: Seattle, WA USA
Karma: 0
|
Member |
|
|
Are you sure about that? All our domains have that separator, and it causes us no problems with our other scripts. Indeed, we need to have access to the /tmp directory too. Is this a PHP problem or a problem with the way the FUD installer decides where it can write to?
Cheers,
Tobias
Kabissa - Space for change in Africa
|
|
|
Re: new maillist.php problems with rc6 [message #11174 is a reply to message #11172] |
Fri, 20 June 2003 22:27 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Hmm If you say the : separator works I'll make the installer handle it, but I was unaware that specifying >1 open_basedir path was possible.
FUDforum Core Developer
|
|
|
|
|
|
|
|