installation problem
mu - May 4, 2007 - 00:48
| Project: | Solr |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
After copying the solr folder in the module folder I can not access my site anymore.
When I try to access the homepage I get the following message:
Parse error: parse error, unexpected T_OBJECT_OPERATOR in /var/www/vhosts/domain/subdomains/cms/httpdocs/modules/solr/solr.module on line 182

#1
Which version of PHP is this?
#2
#3
I'm not sure why Mu didn't follow up, but I have the same problem. I am trying to get Solr up and running and I've had the same problem. I download the Solr module, drop it into my modules directory, restart my server, and activate the module. Immediately upon activation I get a blank screen-- not even an error message-- just a blank page on every single drupal page. Until, that is, I delete the Solr directory and suddenly all's well.
Here are my specs--
Drupal 5.3
Configuration file Protected
Cron maintenance tasks Last run 3 days 5 hours ago
You can run cron manually.
Database schema Up to date
File system Writable (public download method)
GD library bundled (2.0.34 compatible)
MySQL database 5.0.41
PHP 5.2.3
Unicode library PHP Mbstring Extension
Web server Apache/2.0.59 (Unix) PHP/5.2.3 DAV/2
Thanks for any help.
Paul
#4
Is there an error in Apache's error log?
#5
I don't see any error here, Hickory. Attached is the active error_log file and the latest error mentioned was from Monday. I've tried to install the Solr module at least four or five time today (wed) and yesterday.
Paul
#6
I'm not sure if this is telling, but I found these errors in my php_error.log file:
[13-Nov-2007 18:11:42] PHP Parse error: syntax error, unexpected '(', expecting T_VARIABLE or '$' in /Applications/MAMP/htdocs/drupal-5.3/modules/solr/solr.theme.inc on line 4
[13-Nov-2007 18:11:43] PHP Parse error: syntax error, unexpected '(', expecting T_VARIABLE or '$' in /Applications/MAMP/htdocs/drupal-5.3/modules/solr/solr.theme.inc on line 4
[13-Nov-2007 18:12:02] PHP Parse error: syntax error, unexpected '(', expecting T_VARIABLE or '$' in /Applications/MAMP/htdocs/drupal-5.3/modules/solr/solr.theme.inc on line 4
[13-Nov-2007 18:12:06] PHP Parse error: syntax error, unexpected '(', expecting T_VARIABLE or '$' in /Applications/MAMP/htdocs/drupal-5.3/modules/solr/solr.theme.inc on line 4
[14-Nov-2007 10:18:32] PHP Parse error: syntax error, unexpected '(', expecting T_VARIABLE or '$' in /Applications/MAMP/htdocs/drupal-5.3/modules/solr/solr.theme.inc on line 4
[14-Nov-2007 10:19:01] PHP Parse error: syntax error, unexpected '(', expecting T_VARIABLE or '$' in /Applications/MAMP/htdocs/drupal-5.3/modules/solr/solr.theme.inc on line 4
[14-Nov-2007 10:22:45] PHP Parse error: syntax error, unexpected '(', expecting T_VARIABLE or '$' in /Applications/MAMP/htdocs/drupal-5.3/modules/solr/solr.theme.inc on line 4
Paul
#7
For some reason, downloading the module from Lullabot (not sure in what respect it's different) seemed to help. Here's the URL:
http://www.lullabot.com/blog/new-solr-search-module-works
Paul
#8
That'll be it - there was a parse error that I'd fixed locally but not committed - sorry about that, it should be fixed in CVS now.
#9
#10
Automatically closed -- issue fixed for two weeks with no activity.