syntax error, unexpected $end in C:\wamp\www\drupal\modules\photos\tpl\photos_albumview.tpl.php on line 41

arpita123 - May 29, 2009 - 20:49
Project:album photos
Version:6.x-2.6-beta3
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

i hv drupal 6+ photalbums
All works fine til i uplaod images write their description n clik on confirm the changes
now i hv ambum created with album cover pic and vn i click on album view i get this error

Parse error: syntax error, unexpected $end in C:\wamp\www\drupal\modules\photos\tpl\photos_albumview.tpl.php on line 41

plz help
i m newbie

#1

arpita123 - May 29, 2009 - 21:03
Status:active» fixed

fixed it myself.............
followed-

http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/photos/tpl/...

changed line 31

and got it corrected...

please note to change in recent version

Enjoy

#2

jpjoshua - May 30, 2009 - 05:47
Status:fixed» active

Hi Arpita

I am facing the same problem can you please help me out by giving detailed instructions as to what has to be done in line 31 ?
I am a newbe !!!!!!!!!!!!

#3

arpita123 - May 30, 2009 - 17:46

Parse error: syntax error, unexpected $end in C:\wamp\www\drupal\modules\photos\tpl\photos_albumview.tpl.php on line 41

use control f to get the find word box find the line -<? endif; ?> in drupal\modules\photos\tpl\photos_albumview.tpl.php
change it to-

<?php
endif;
?>

n then clear browser chache
n try it
it shud work

#4

jpjoshua - May 31, 2009 - 11:43

Hi Arpita

Thank you , Now that error has disappeared but stll im not able to see the images.Please see the attached screenshots.
Please help me out ......regards John Joshua

AttachmentSize
error.JPG 36.79 KB

#5

arpita123 - May 31, 2009 - 12:50

Which browser are u using??
try on mozilla...
n i m also a new bie so please dont expect a miracle solution.......
but u cn always ask
thanks

 
 

Drupal is a registered trademark of Dries Buytaert.