Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.
Help keep Vanilla free: $this->Connection = @mysql_connect($Host, $User, $Password);
if (!$this->Connection) $Context->ErrorManager->AddError($Context, $this->Name, "OpenConnection", "The connection to the database failed.");
if (!mysql_select_db(dbNAME, $this->Connection)) $Context->ErrorManager->AddError($Context, $this->Name, "OpenConnection", "Failed to connect to the '".$Name."' database.");
// Database Settings
define("dbHOST", "localhost");
define("dbNAME", "sermo_test");
define("dbUSER", "******");
define("dbPASSWORD", "******");
// Path Settings
define("agAPPLICATION_PATH", "/srv/www/vhosts/test.sermo.nl/");
define("sgLIBRARY", agAPPLICATION_PATH."library/");
define("agEXTENSIONS", agAPPLICATION_PATH."extensions/");
define("agLANGUAGES", agAPPLICATION_PATH."languages/");
// Application Settings
define("agAPPLICATION_TITLE", "Vanilla");
define("agBANNER_TITLE", "Lussumo <strong>Vanilla</strong>");
define("agDEFAULT_STYLE", "styles/vanilla/");
define("agBANNER_TITLE", "Lussumo <strong>Vanilla</strong>");
define("agDEFAULT_STYLE", "styles/vanilla/");
define("agDOMAIN", "test.sermo.nl");
define("agSAFE_REDIRECT", "signin.php?PageAction=SignOut");
define("agDISCUSSIONS_PER_PAGE", "30");
define("agDISCUSSIONS_PER_FEED", "20");
define("agCOMMENTS_PER_PAGE", "50");
define("agSEARCH_RESULTS_PER_PAGE", "30");
define("agCOOKIE_DOMAIN", "test.sermo.nl");
define("agSUPPORT_EMAIL", "lennart@sermo.nl");
define("agSUPPORT_NAME", "Support");
define("agALLOW_NAME_CHANGE", "1");
define("agPUBLIC_BROWSING", "0");
define("agUSE_CATEGORIES", "1");
define("agLOG_ALL_IPS", "0");
// Panel Settings
define("agPANEL_BOOKMARK_COUNT", "20");
define("agPANEL_PRIVATE_COUNT", "5");
define("agPANEL_HISTORY_COUNT", "5");
define("agPANEL_USERDISCUSSIONS_COUNT", "5");
define("agPANEL_SEARCH_COUNT", "20");
// Discussion Settings
define("agMAX_COMMENT_LENGTH", "5000");
define("agMAX_TOPIC_WORD_LENGTH", "45");
define("agDISCUSSION_POST_THRESHOLD", "3");
define("agDISCUSSION_TIME_THRESHOLD", "60");
define("agDISCUSSION_THRESHOLD_PUNISHMENT", "120");
define("agCOMMENT_POST_THRESHOLD", "5");
define("agCOMMENT_TIME_THRESHOLD", "60");
define("agCOMMENT_THRESHOLD_PUNISHMENT", "120");
define("agCOMMENT_TIME_THRESHOLD", "60");
define("agCOMMENT_THRESHOLD_PUNISHMENT", "120");
define("agTEXT_WHISPERED", "Private");
define("agTEXT_STICKY", "Sticky");
define("agTEXT_CLOSED", "Closed");
define("agTEXT_HIDDEN", "Hidden");
define("agTEXT_BOOKMARKED", "");
define("agTEXT_PREFIX", "[");
define("agTEXT_SUFFIX", "]");
// String Formatting Settings
define("agDEFAULTSTRINGFORMAT", "Text");
define("agFORMATSTRINGFORDISPLAY", "DISPLAY");
define("agFORMATSTRINGFORDATABASE", "DATABASE");
// Application Mode Constants
define("agMODE_DEBUG", "DEBUG");
define("agMODE_RELEASE", "RELEASE");
define("agMODE_UPGRADE", "UPGRADE");
// Registration settings
define("agDEFAULT_ROLE", "0");
define("agALLOW_IMMEDIATE_ACCESS", "0");
define("agAPPROVAL_ROLE", "3");
// Application version - Don't change this value or you may have
// problems upgrading later.
define("agVANILLA_VERSION", "0.9.2.6");
// Note: Vanilla 0.9.2.6 included some extremely important security patches.
// If you do not have this version installed, we highly recommend that you replace your old vanilla
// files with this version. It is okay to leave all files in the appg folder as they are.
$this->SelfUrl = basename(ForceString(@$_SERVER['PHP_SELF'], "index.php"));
echo $this->SelfUrl;exit;after that line and see what shows up.
echo "PHP_SELF is: " . $this->SelfUrl;
Warning: import(controls/index.php): failed to open stream: No such file or directory in /srv/www/vhosts/test.sermo.nl/library/Utility.Page.class.php on line 47
Warning: import(): Failed opening 'controls/index.php' for inclusion (include_path='/usr/share/php') in /srv/www/vhosts/test.sermo.nl/library/Utility.Page.class.php on line 47
A fatal, non-recoverable error has occurred
Technical information (for support personel):
Error Message: Failed to import file "controls/index.php".
Affected Elements: Page.Import();
<?php
include('controls/index.php');
echo('Did that work?');
?>Fatal error: Class discussiongrid: Cannot inherit from undefined
class control in /srv/www/vhosts/test.sermo.nl/controls/index.php
on line 15-rwxr-xr-x 1 wwwrun www 4914 2005-07-21 22:20 index.php
$Page->Import($Context->ControlFile);$Page->Import('/srv/www/vhosts/test.sermo.nl/'.$Context->ControlFile);include('/srv/www/vhosts/test.sermo.nl/'.$Context->ControlFile);
Notice: Undefined property: ControlFile in /srv/www/vhosts/test.sermo.nl/appg/init_internal.php on line 93
Warning: import(/srv/www/vhosts/test.sermo.nl/): failed to open stream:
Permission denied in
/srv/www/vhosts/test.sermo.nl/library/Utility.Page.class.php on line 47
Warning: import(): Failed opening '/srv/www/vhosts/test.sermo.nl/' for
inclusion (include_path='/usr/share/php') in
/srv/www/vhosts/test.sermo.nl/library/Utility.Page.class.php on line 47
Notice: Undefined property: ControlFile in /srv/www/vhosts/test.sermo.nl/appg/init_internal.php on line 93
Warning: main(/srv/www/vhosts/test.sermo.nl/): failed to open stream:
Permission denied in /srv/www/vhosts/test.sermo.nl/appg/init_internal.php on line 93
Warning: main(): Failed opening '/srv/www/vhosts/test.sermo.nl/' for
inclusion (include_path='/usr/share/php') in
/srv/www/vhosts/test.sermo.nl/appg/init_internal.php on line 93
Warning: Cannot modify header information - headers already sent by
(output started at /srv/www/vhosts/test.sermo.nl/appg/init_internal.php:93) in
/srv/www/vhosts/test.sermo.nl/library/Vanilla.Session.class.php on line 27
Warning: import(controls/index.php): failed to open stream: No such file
or directory in /srv/www/vhosts/test.sermo.nl/library/Utility.Page.class.php
on line 47
Warning: import(): Failed opening 'controls/index.php' for inclusion
(include_path='/usr/share/php') in /srv/www/vhosts/test.sermo.nl/library/Utility.Page.class.php on line 47
$Page->Import($Page->ControlFile);$Page->Import('/srv/www/vhosts/test.sermo.nl/'.$Page->ControlFile);include('/srv/www/vhosts/test.sermo.nl/'.$Page->ControlFile);
Oops. We came across some problems while checking your permissions...
We couldn't read the "/srv/www/vhosts/test2.sermo.nl/appg/settings.php" file.
We couldn't open the "/srv/www/vhosts/test2.sermo.nl/appg/settings.php" file.
We couldn't read the "/srv/www/vhosts/test2.sermo.nl/appg/language.php" file.
We couldn't open the "/srv/www/vhosts/test2.sermo.nl/appg/language.php" file.
We couldn't read the "/srv/www/vhosts/test2.sermo.nl/appg/extensions.php" file.
We couldn't open the "/srv/www/vhosts/test2.sermo.nl/appg/extensions.php" file.
We couldn't open the "/srv/www/vhosts/test2.sermo.nl/database.sql" file.
We couldn't create our test file "/srv/www/vhosts/test2.sermo.nl/images/phpinfo.php" in the /images directory.
1 to 48 of 48