Closed (fixed)
Project:
Solr
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 May 2007 at 00:48 UTC
Updated:
6 Dec 2007 at 16:31 UTC
Jump to comment: Most recent file
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
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | access_log. | 320 bytes | paulalbert |
Comments
Comment #1
hickory commentedWhich version of PHP is this?
Comment #2
hickory commentedComment #3
paulalbert commentedI'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
Comment #4
hickory commentedIs there an error in Apache's error log?
Comment #5
paulalbert commentedI 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
Comment #6
paulalbert commentedI'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
Comment #7
paulalbert commentedFor 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
Comment #8
hickory commentedThat'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.
Comment #9
hickory commentedComment #10
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.