Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Discussion filters not working...

2

Comments

  • iwekiwek New
    edited September 2006
    Thank you so much for your help, I definitly appreciate it. The settings.php says: <?php // Application Settings $Configuration['SETUP_TEST'] = '1'; $Configuration['APPLICATION_PATH'] = '/var/www/vhosts/translaten.com/httpdocs/'; $Configuration['DATABASE_PATH'] = '/var/www/vhosts/translaten.com/httpdocs/conf/database.php'; $Configuration['LIBRARY_PATH'] = '/var/www/vhosts/translaten.com/httpdocs/library/'; $Configuration['EXTENSIONS_PATH'] = '/var/www/vhosts/translaten.com/httpdocs/extensions/'; $Configuration['LANGUAGES_PATH'] = '/var/www/vhosts/translaten.com/httpdocs/languages/'; $Configuration['THEME_PATH'] = '/var/www/vhosts/translaten.com/httpdocs/themes/vanilla/'; $Configuration['DEFAULT_STYLE'] = '/themes/vanilla/styles/green/'; $Configuration['WEB_ROOT'] = '/'; $Configuration['BASE_URL'] = 'http://www.translaten.com/'; $Configuration['FORWARD_VALIDATED_USER_URL'] = 'http://www.translaten.com/'; $Configuration['SUPPORT_EMAIL'] = 'iwo@aol.com'; $Configuration['SUPPORT_NAME'] = 'iwo'; $Configuration['APPLICATION_TITLE'] = 'Translaten'; $Configuration['BANNER_TITLE'] = 'Translaten'; $Configuration['COOKIE_DOMAIN'] = 'www.translaten.com'; $Configuration['COOKIE_PATH'] = '/'; $Configuration['SETUP_COMPLETE'] = '1'; $Configuration['LAST_UPDATE'] = '1157674251'; $Configuration['ADDON_NOTICE'] = '0'; $Configuration['ANNOUNCE_SETUP'] = '1'; $Configuration['ANNOUNCE_MESSAGE'] = 'Default Announcement Message'; $Configuration['ANNOUNCE_DISAPPEAR'] = '1'; $Configuration['ANNOUNCE_TIME'] = '8'; $Configuration['ANNOUNCE_TEXT'] = '060'; $Configuration['ANNOUNCE_LINE'] = '9C9'; $Configuration['ANNOUNCE_BGCOLOR'] = 'E2F9E3'; $Configuration['ANNOUNCE_ALIGN'] = 'center'; $Configuration['ANNOUNCE_LINESIZE'] = '1'; $Configuration['ANNOUNCE_LINEHEIGHT'] = '200'; $Configuration['ANNOUNCE_MARGIN'] = '10'; $Configuration['ANNOUNCE_FONTSIZE'] = '13'; $Configuration['NOTIFY_SETUP'] = '1'; $Configuration['EXTENSION_POLL_VERSION'] = '1.3'; $Configuration['EXTENSION_VOTE_VERSION'] = '1.0'; ?> The "DOCUMENT_ROOT" and "SCRIPT_FILENAME" says: DOCUMENT_ROOT /var/www/vhosts/translaten.com/httpdocs SCRIPT_FILENAME /var/www/vhosts/translaten.com/httpdocs/phpinfo.php By the way, above it says ratedrinks.com because I made two installations, I am getting same errors from both, this one is on translaten.com and the other one is on ratedrinks.com and they are both on the same virtual server and using same php.ini In my php.ini file the open_basedir is behind a ";" and has no value assigned to it but when i run the phpinfo the local variable for open_basedir is /var/www/vhosts/translaten.com/httpdocs:/tmp and universal has no value.....Oh and in php.ini my include path is set: include_path = "." I dont know, this might mean something........if you want me to do anything else, let me know.
  • ithcyithcy New
    edited September 2006
    okay, this is strange.

    it looks to me like your conf/settings.php is not being processed at all.

    //edited after your edit. it does seem to have something to do with your php.ini settings. let me see what i can find out. (i'm not a complete php installation expert)
  • this excerpt from the php.net include() manual page:
    Files for including are first looked in include_path relative to the current working directory and then in include_path relative to the directory of current script. E.g. if your include_path is ., current working directory is /www/, you included include/a.php and there is include "b.php" in that file, b.php is first looked in /www/ and then in /www/include/. If filename begins with ./ or ../, it is looked only in include_path relative to the current working directory.
    should win some kind of award for most confusing documentation.
  • i am sorry but I dont get it....so what should I do?
  • don't worry, i don't get it either.
    i'm kind of at a loss here... i don't have time to look into the vanilla core and figure this out right now, so i'm hoping Mark will have something to add.
  • I see.....well, thank you for your help....its definitly appreciated...maybe I can just download another php.ini file and overwrite the one I have now..
  • [client 24.61.28.39] PHP Warning: main(/var/www/vhosts/ratedrinks.com/httpdocs/forum/appg/../conf/settings.php) [function.main]: failed to open stream: No such file or directory in /var/www/vhosts/ratedrinks.com/httpdocs/forum/appg/settings.php on line 232
    this line is confusing me. it seems that your PHP environment is not interpreting the relative portion of the path (appg/../conf). i'm trying to figure out why that would happen.
  • http://www.translaten.com/phpinfo.php thats the link to look at the PHP stuff. I found the php file in folder etc/php.ini of the virtual server. I have changed it but even if I delete it or change it the phpinfo and the website behaves the same way, what am I doing wrong here?
  • oh. if you've changed your php.ini, and it's an apache module (which your php.ini seems to say it is) then you need to restart your webserver. i f you have shell access to the server, you can try apachectl restart.
  • It can't open /var/www/vhosts/ratedrinks.com/httpdocs/forum/appg/../conf/settings.php. Check the permission on it.
  • edited September 2006
    If it is not a permission problem Maybe you moved your forum. Is your forum in /var/www/vhosts/ratedrinks.com/httpdocs/ or /var/www/vhosts/ratedrinks.com/httpdocs/forum/. Since you gave the error for ratedrinks.com, can you post the the conf/settings,php of ratedrinks.com
  • it's not a permission problem... "no such file or directory"
  • Yeah, sorry for the confusion...I installed vanila in different places, the error i showed was from one domain and the settings from another, but both domains are on same server, produce same errors, and have same php.ini...it is not a permission problem...i need to play with the php.ini I think and then figure out how to use shell access to the server or apachectl restart.
  • edited September 2006
    Silly me... the error messages when you install are expected. when you install vanilla, conf/settings.php doesn't exist yet.
  • By the way, your include_path and open_basedir look fine. For open_basedir, I guess each of your domains have their own php.ini. Check that: - for ratedrinks.com, "open_basedir = /var/www/vhosts/ratedrinks.com/httpdocs:/tmp". - for translaten.com, "open_basedir = /var/www/vhosts/translaten.com/httpdocs:/tmp".
  • ah.
    i didn't realize you had not created conf/settings.php. you're supposed to take the example files in the conf directory, edit them and save them under the correct names before you install.
  • what do you mean ithcy? What example files.... I still cant get this to work.... Dinoboff....thank you for your help
  • is there a manual way I can change some file to allow me to see this option in forum preferences: Display your discussions in the control panel ??
  • isn't wierd that my participated threads extension works perfect? I have read other posts and people seemed to have blank page problems with that but its working fine here. I figured out how to change php.ini and reboot the server but the changes i made did not make any differences. Under the discussion filters I have Particpated Threads, Your Discussions, Bookmarked Discussions, Whispered Discussions, and Whispered Comments. I can press on Whispered Comments or Whispered Discussions and there is no problem, but if I press on Bookmarked Discussion or Your Discussions, I get a blank page. What does a blank page mean? Can anyone point me in a direction where I can try to figure this problem out? I dont know where I should look.
  • One of the links just started working...Your Discussions....are now working fine but I did not touch anything...and sometime I have to refresh for it to work. Also the the forum keeps loading forever....I assume that this is all a problem with my server...php file...if anyone can help, I would appreciate that.
This discussion has been closed.