This issue was originally brought up as 'Parse error on fresh install' (http://drupal.org/node/340932)

I have the same problem. Installing 6.x-1.1, I noted that 'clone' had not changed to 'drupal_clone' as suggested. I received this error on a fresh install of both Drupal and SignWriter.
Parse error: syntax error, unexpected T_VARIABLE in /home2/admin/public_html/sites/all/modules/signwriter/signwriter.module on line 445

After changing 'clone' to 'drupal_clone' in two locations, I get the error
Parse error: syntax error, unexpected T_VARIABLE in /home2/admin/public_html/sites/all/modules/signwriter/signwriter.module on line 889

and do not understand much (any?) php to correct it.

Installing 6.x-2.x-dev, I get the following error
Parse error: syntax error, unexpected T_VARIABLE in /home2/admin/public_html/sites/all/modules/signwriter/signwriter.module on line 525

which is this line
function signwriter_image_check_cache($text, $profile, &$imagefile, $tag = 'text', &$imageinfo = NULL) {

Others are apparently having no problem with the install!? Any ideas? The site is hosted by www.canaca.com

Thanks,
Roy Jensen

Comments

agileware’s picture

When you get that error with 6.x-2.x-dev is it a clean install or an update?

I have not yet been able to reproduce that error either way.

agileware’s picture

Status: Active » Postponed (maintainer needs more info)

What version of PHP are you using? Need more information.

rjensen’s picture

The website was rebuilt from scratch since my original post.

I downloaded and installed signwriter-6.x-2.0-beta1.tar.gz (a clean install).

After enabling Signwriter and clicking 'Save configuration', I get
Parse error: syntax error, unexpected '=', expecting ')' in /home2/admin/public_html/sites/all/modules/signwriter/signwriter.module on line 532

The only way I can get back to the website is to use phpMyAdmin and set the 'Status' to 0.

phpinfo reports PHP Version 4.4.4. More info at www.exploringchemistry.com/phpinfo.php

Roy Jensen

rjensen’s picture

Version: 6.x-2.x-dev » 6.x-2.0-beta1
Status: Postponed (maintainer needs more info) » Active
rjensen’s picture

Status: Active » Postponed

I ended up porting the entire website to another server that supports PHP5.
Signwriter works on PHP5, but fails as described above on PHP 4.4.

I know you are busy. Thanks for all your work on this project.

Roy Jensen

agileware’s picture