Summary: The installation consistently fails with a 404 Not found '
http://[my.server.domain][/install-url]/garden/gardensetup/2'.
Environment:
- Apache 2.11
- Fedora 10.9
- MySQL 5.1.32
- PHP 5.3.0 w/ PDO + pdo_mysql
I've downloaded the latest from github as of 8-Aug-2009 7:00pm MST and I've followed the brief instructions in INSTALL.txt but can't get past the first installation screen. This seems like it may be an .htaccess rewrite rule issue.
Steps to reproduce:
- Download latest
- Untar into documentroot
- Navigate to URL (i.e.
http://[my.server.domain]/[install-url])
- Note error about missing uploads folder
- Create uploads folder; try again
- Fill out form with database name, database user name & password, admin user details
- Click continue
- Note 404 error page
The installation consistently fails with the message '
http://[my.server.domain][/install-url]/garden/gardensetup/2'. This occurs immediately after submitting the form that requests & sets the database & db user name. I can see that config.php is created & the tables in the database get populated, but I cannot get past this error.
Is this supposed to work at this point in development?
1 • •
Comments
In a base Apache installation, DocumentRoot will have a strict policy against allowing .htaccess overrides; this is by default set to
AllowOverride None
This must be changed to
AllowOverride All
and restart Apache. Otherwise, the rewrite rules in .htaccess will never get fired, creating 404 errors when it attempts to traverse to a non-rewritten URL in the application.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •The error occurred on or near: /var/www/***/html/sommerboard_v2/library/core/class.pluginmanager.php
410: }
411:
412: // Include all of the paths.
413: $PluginInfo = array();
414: foreach($Paths as $Path) {
415: if(file_exists($Path))
416: include($Path);
417: }
418:
Backtrace:
[/var/www/web188/html/sommerboard_v2/library/core/functions.error.php:124] PHP::include();
[/var/www/web188/html/sommerboard_v2/library/core/class.pluginmanager.php:414] PHP::ErrorHandler();
[/var/www/web188/html/sommerboard_v2/bootstrap.php:128] Gdn_PluginManager->IncludePlugins();
[/var/www/web188/html/sommerboard_v2/index.php:26] PHP::require_once();
Variables in local scope:
[EnabledPlugins] array (
'HTMLPurifier' => 'HtmlPurifier',
)
[Paths] NULL
[PluginFolder] 'HtmlPurifier'
[PluginName] 'HTMLPurifier'
[PluginInfo] array (
)
The *** are just a replacement. ;)
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Am I missing something here?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •It would really be a lot more helpful if these bugs would be submitted to our issue tracker instead of this forum. We're going through the issues on github every day, and it really helps to have all this stuff in one place:
http://github.com/vanillaforums/Garden/issues
//edited GitHub link -Lincoln 29 Sept 2010
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •I just downloaded Vanilla 2 from GitHub to give it a test spin but I cannot for the life of me get the installer to work. I've uploaded all the files, read the install.txt but I keep getting the below error every time I point my browser to the root directory of garden.
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/jhosting/public_html/garden/index.php on line 30
Any help would be greatly appreciated.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •410: }
411:
412: // Include all of the paths.
413: $PluginInfo = array();
414: foreach($Paths as $Path) {
415: if(file_exists($Path))
416: include($Path);
417: }
418:
Backtrace:
[/var/www/web188/html/sommerboard_v2/library/core/functions.error.php:124] PHP::include();
[/var/www/web188/html/sommerboard_v2/library/core/class.pluginmanager.php:414] PHP::ErrorHandler();
[/var/www/web188/html/sommerboard_v2/bootstrap.php:128] Gdn_PluginManager->IncludePlugins();
[/var/www/web188/html/sommerboard_v2/index.php:26] PHP::require_once();
Variables in local scope:
[EnabledPlugins] array (
'HTMLPurifier' => 'HtmlPurifier',
)
[Paths] NULL
[PluginFolder] 'HtmlPurifier'
[PluginName] 'HTMLPurifier'
[PluginInfo] array (
)
How can i fix this?
Thanks
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •foreach ($EnabledPlugins as $PluginName => $PluginFolder) {
$Paths[] = PATH_PLUGINS . DS . $PluginFolder . DS . "default.php";
$Paths2 = glob(PATH_PLUGINS . DS . $PluginFolder . DS . "*plugin.php");
if(is_array($Paths2)) {
$Paths = array_merge($Paths, $Paths2);
}
}
Now i have another issue, i cant login, when i try to login is stay in loading. Any suggestion?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •http://vanillaforums.org/entry
So, you could do this instead:
http://vanillaforums.org/entry/signin
This "sign in only" page doesn't do any ajax postbacks, so you should see the error that is causing your spinner of death on the regular sign in page.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Parse error: parse error, unexpected T_OBJECT_OPERATOR in /path/to/garden/index.php on line 30
here are lines 28-30 from index.php. not sure what's happening with line endings in this forum, but I'm having trouble getting it to display properly so I've inserted an extra carriage return between lines:
// 3. Start the application.
if(strpos(Gdn_Url::Request(), 'gardensetup') === FALSE)
Gdn::Session()->Start(Gdn::Authenticator());
Any thoughts on this? I'm totally new to garden, I just cloned from github and created a directory alias in my local apache, and opened the url in a web browser. My guess is I'm probably missing an installation step?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •PHP 4.3.10 (cli) (built: Dec 14 2004 17:48:04)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •http://vanillaforums.org/page/Requirements
Server Requirements
* PHP version 5.1 or newer.
Sorry to take up your time with this, I'm working on updating...
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Fatal Error in PHP.ErrorHandler();
PDO::__construct() [pdo.--construct]: [2002] Invalid argument (trying to connect via unix://)
The error occurred on or near: /home/luke/Documents/sites/garden/library/core/functions.validation.php
73: $Connection = new PDO(
74: $ConnectionString,
75: $DatabaseUser,
76: $DatabasePassword
77: );
78: } catch (PDOException $Exception) {
79: return sprintf(Gdn::Translate('ValidateConnection'), strip_tags($Exception->getMessage()));
80: }
81: return TRUE;
Backtrace:
[/home/luke/Documents/sites/garden/library/core/functions.error.php:124] PHP::include();
[/home/luke/Documents/sites/garden/library/core/functions.error.php:124] PHP::ErrorHandler();
[/home/luke/Documents/sites/garden/library/core/functions.validation.php:77] PDO->__construct();
[/home/luke/Documents/sites/garden/library/core/class.validation.php:471] PHP::ValidateConnection();
[/home/luke/Documents/sites/garden/library/core/class.configurationmodel.php:185] Gdn_Validation->Validate();
[/home/luke/Documents/sites/garden/applications/garden/controllers/gardensetup.php:132] Gdn_ConfigurationModel->Validate();
[/home/luke/Documents/sites/garden/applications/garden/controllers/gardensetup.php:55] GardenSetupController->Configure();
[/home/luke/Documents/sites/garden/library/core/class.dispatcher.php:218] GardenSetupController->Index();
[/home/luke/Documents/sites/garden/index.php:41] Gdn_Dispatcher->Dispatch();
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Variables in local scope:
[Value] 'garden'
[Field] 'dbname'
[FormPostedValues] array (
'TransientKey' => 'GVVRYRKQBGDL',
'Database.Host' => 'localhost',
'Database.Name' => 'garden',
'Database.User' => 'garden',
'Database.Password' => 'password',
'Garden.Title' => 'Vanilla 2',
'Email' => 'email@example.com',
'Name' => 'name',
'Password' => 'password',
'PasswordMatch' => 'password',
'Continue_»' => 'Continue »',
)
[DatabaseHost] 'localhost'
[DatabaseName] 'garden'
[DatabaseUser] 'garden'
[DatabasePassword] 'password'
[ConnectionString] 'mysql:host=localhost;dbname=garden'
Additional information for support personnel:
* Application: Garden
* Application Version: 1.0
* PHP Version: 5.3.0
* Operating System: Linux
* Referer: http://garden/index.php/garden/gardensetup
* User Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.2) Gecko/20090803 Ubuntu/9.04 (jaunty) Firefox/3.5.2
* Request Uri: /index.php/garden/gardensetup
* Controller: PHP
* Method: ErrorHandler
P.S. I've posted this in two comments because it was complaining the post was too long - seems a little stingy if you can't even post your error log in one go...
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Developer at Vanilla Forums, Inc. [GitHub, Twitter]
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •PDOPDO support enabled
PDO drivers mysql, pgsql, sqlite, sqlite2
pdo_mysql
PDO Driver for MySQL enabled
Client API version mysqlnd 5.0.5-dev - 081106 - $Revision: 1.3.2.27 $
Persistent cache enabled
put_hits 0
put_misses 0
get_hits 0
get_misses 0
size 2000
free_items 2000
references 2
Directive Local Value Master Value
pdo_mysql.cache_size 2000 2000
pdo_mysql.default_socket no value no value
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •http://github.com/vanillaforums/Garden/issues
Developer at Vanilla Forums, Inc. [GitHub, Twitter]
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •One small issue -- I couldn't get things to work with garden installed in a symlink'ed directory (apache2 / win32 issue?)
Also, you'll probably want to disable htaccess url-rewrites if installing garden in a subdirectory of your main wwwdocs
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Following your comment RE: class.pluginmanager
(*****
I change code in class.pluginmanager to make it work: I added one if before the is_array, because i didnt have any plugin that containt a plugin.php
foreach ($EnabledPlugins as $PluginName => $PluginFolder) { $Paths[] = PATH_PLUGINS . DS . $PluginFolder . DS . "default.php"; $Paths2 = glob(PATH_PLUGINS . DS . $PluginFolder . DS . "*plugin.php"); if(is_array($Paths2)) { $Paths = array_merge($Paths, $Paths2); } }
*****)
I have exactly the same page with these errors coming up. I've looked on the famous Google and found several web pages that has this same message.
It's a nice solution, but I have no idea what to do with this. Where / On which line, is this information suppose to go into? Did you take anything else out? I don't know much about coding but it would help a lot if I know what to do with this.
PLEASE HELP ME!!!! ANYONE???
Thanks MSERAPHIM
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •It would be nice if this was included in the latest download....Developers?
The Glob calls are not made with a capital "G" but with lower case "g". Unless I'm missing something. Thank you though. Dreamweaver didn't recognize the Glob with capital "G".
Hope u have a great day!!!! till later
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Virtual Path Regular Expression :
Conditions :
If this rule matches : Perform an internal redirection
Perform an external redirection
Report an error to the client
Parameter(s) for "Perform an internal redirection"
Redirect to :
Append Query String
Escape Redirection Location
Next Action : Continue with the next rule
Stop matching
Restart from the first rule
→ Parameter(s) for "Perform an external redirection"Redirect to :
Append Query String
Escape Redirection Location
Status Code : 301 - Moved Permanently302 - Moved Temporarily303 - See Other304 - Not Modified305 - Use Proxy307 - Temporary RedirectOther Status Code
→ Parameter(s) for "Report an error to the client"Status Code : 400 - Bad Request401 - Unauthorized402 - Payment Required403 - Forbidden404 - Not Found405 - Method Not Allowed406 - Not Acceptable407 - Proxy Authentication Required408 - Request Timeout409 - Conflict410 - Gone411 - Length Required412 - Precondition Failed413 - Request Entity Too Large414 - Request-URI Too Long415 - Unsupported Media Type416 - Requested Range Not Satisfiable417 - Expectation Failed500 - Internal Server Error501 - Not Implemented502 - Bad Gateway503 - Service Unavailable504 - Gateway Timeout505 - HTTP Version Not SupportedOther Status Code
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •