Hello,

After updating to 6.x-2.5-beta3 I'm receiving the following error message:

Parse error: syntax error, unexpected ']' in /home/public_html/modules/photos/photos.page.inc on line 901

These are the lines from 901 to 903

		$output = themepe],
	            "缩略图Mimeæ ¼å¼" => $exif[COMPUTED][Thumbnail.MimeType]
	        );

I don't know how to code php but I thought i had to change themepe], to theme ( but I receive an unexpected double arrow error.

Please help.

Thanks for your time.

Comments

berdir’s picture

Status: Active » Postponed (maintainer needs more info)

How did you upgrade ?

I can't really explain this, but in my downloaded copy of photos.page.inc the whole part looks completely different. It's translated to english and the line with "$output = theme..." comes actually about 15 lines *after* the part with "... $exif[COMPUTED][Thumbnail.MimeType]"

I'd suggest you to download the module again and upload it again.

Apart of this, If I correctly read your error message, you copied the photos to the top level directory modules. This directory is reserved for the drupal core modules. You should install contributed or own modules to sites/all/modules (and themes to sites/all/themes).

eastcn’s picture

photos.page.inc appears to be incomplete, I suggest you re-download.

berdir’s picture

Status: Postponed (maintainer needs more info) » Fixed

No feedback, I'm setting this to fixed...

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.