FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » new maillist.php problems with rc6
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
new maillist.php problems with rc6 [message #11137] Thu, 19 June 2003 01:22 Go to next message
Tobias Eigen is currently offline  Tobias Eigen   United States
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 Go to previous messageGo to next message
Tobias Eigen is currently offline  Tobias Eigen   United States
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. Smile 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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 Go to previous messageGo to next message
Tobias Eigen is currently offline  Tobias Eigen   United States
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 Go to previous messageGo to next message
Tobias Eigen is currently offline  Tobias Eigen   United States
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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 Go to previous messageGo to next message
Tobias Eigen is currently offline  Tobias Eigen   United States
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 #11171 is a reply to message #11170] Fri, 20 June 2003 20:07 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
open_basedir does not support : separator, try using just:
/home/httpd/vhosts/kabissa.org/httpdocs


FUDforum Core Developer
Re: new maillist.php problems with rc6 [message #11172 is a reply to message #11171] Fri, 20 June 2003 20:25 Go to previous messageGo to next message
Tobias Eigen is currently offline  Tobias Eigen   United States
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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
Re: new maillist.php problems with rc6 [message #11175 is a reply to message #11174] Fri, 20 June 2003 22:33 Go to previous messageGo to next message
Tobias Eigen is currently offline  Tobias Eigen   United States
Messages: 85
Registered: June 2003
Location: Seattle, WA USA
Karma: 0
Member
Yup - it's possible and immensely useful. Try doing a google search on it. Smile

Best,

Tobias


Kabissa - Space for change in Africa
Re: new maillist.php problems with rc6 [message #11177 is a reply to message #11175] Fri, 20 June 2003 22:34 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I was just reading through the php source code Smile

FUDforum Core Developer
Re: new maillist.php problems with rc6 [message #11179 is a reply to message #11177] Fri, 20 June 2003 22:42 Go to previous messageGo to next message
Tobias Eigen is currently offline  Tobias Eigen   United States
Messages: 85
Registered: June 2003
Location: Seattle, WA USA
Karma: 0
Member
<grin>

Sounds like we're getting someplace anyway. Smile Can you provide me with an installer that will work on my system with the multiple dirs in open_basedir? I'll test it out.

Cheers,

Tobias



Kabissa - Space for change in Africa
Re: new maillist.php problems with rc6 [message #11196 is a reply to message #11179] Sat, 21 June 2003 15:02 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Fixed in CVS, if you grab the installer from the CVS it should work fine Smile

FUDforum Core Developer
Re: new maillist.php problems with rc6 [message #11200 is a reply to message #11196] Sat, 21 June 2003 19:00 Go to previous message
Tobias Eigen is currently offline  Tobias Eigen   United States
Messages: 85
Registered: June 2003
Location: Seattle, WA USA
Karma: 0
Member
sweet - this is now working. many thanks!

-t


Kabissa - Space for change in Africa
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: installing 2.5.0 RC6
Next Topic: sql error in groups?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 09 17:47:39 GMT 2024

Total time taken to generate the page: 0.02622 seconds