I've just spent about 10 hours doing a fresh install of im141 into a new directory and the photo gallery setup worked perfectly. I then decided to copy over the old language folder to the new directory cos I really didn't want to have to go through changing all that again (e.g. getting rid of "user" can take a few hours...)
But then the setup of new personal galleries stopped, just like on the old directory...
Knowing that
lang_main.php contains most of the Album language entries, I played around with that...
I'd originally changed it to:
- Code: Select all
// Mighty Gorgon - Full Album Pack - BEGIN$lang['Album'] = 'Album';$lang['Personal_Gallery_Of_User'] = ' %s's Personal Gallery';$lang['Personal_Gallery_Of_User_Profile'] = 'Personal Gallery of %s (%d Pictures)';$lang['Show_All_Pic_View_Mode_Profile'] = 'Show All Pictures In The Personal Gallery of %s (without sub cats)';$lang['Not_allowed_to_view_album'] = 'Sorry, you are not allowed to view the album.';$lang['Not_allowed_to_upload_album'] = 'Sorry, you are not allowed to upload new pic to the album. Please contact the album administrator for more information.';$lang['Album_empty'] = 'There are no pics in the album<br>Click on the <b>Upload New Pic</b> link on this page to post one.';$lang['Upload_New_Pic'] = 'Upload New Pic.';$lang['Pic_Title'] = 'Pic Title';$lang['Pic_Title_Explain'] = 'It is very important to give your pic a good title. It could be a name, a subject to make others know what it is without see it.';$lang['Pic_Upload'] = 'Pic Upload';$lang['Pic_Upload_Explain'] = 'Allowed types are JPG, GIF and PNG. Maximum file size is %s bytes. Maximum image dimensions are %sx%s pixels.';$lang['Album_full'] = 'Sorry, the album has reached the maximum number of uploaded pics. Please contact the album administrator for more information.';$lang['Album_upload_successful'] = 'Thank you, your pic has been uploaded successfully.';$lang['Click_return_album'] = 'Click %shere%s to return to the Album.';$lang['Invalid_upload'] = 'Invalid Upload<br><br>Your pic is too big or its type is not allowed.';$lang['Image_too_big'] = 'Sorry, your image dimensions is too large.';$lang['Uploaded_by'] = 'Uploaded by';$lang['Category_locked'] = 'Sorry, you cannot upload because this category was locked by an admin. Please contact the album administrator for more information.';$lang['View_Album_Index'] = 'Album Index';$lang['View_Album_Personal'] = 'Viewing Personal Album of a fellow citizen';$lang['View_Pictures'] = 'Viewing Pictures or Posting/Reading comments in the Album';$lang['Album_Search'] = 'Searching the Album';$lang['Pic_Name'] = 'Picture Name';$lang['De.scription'] = 'De.scription';$lang['Search_Contents'] = ' that contains: ';$lang['Search_Found'] = 'Search found ';$lang['Search_Matches'] = 'Matches:';// Mighty Gorgon - Full Album Pack - END $lang['profilcp_photo_shortcut'] = 'Album';$lang['profilcp_photo_pagetitle'] = 'Pix';$lang['Public_view_photo'] = 'Display photos';$lang['User_allowphoto'] = 'Can display photo';$lang['Photo_panel'] = 'Photo control panel';$lang['Photo_gallery'] = 'Photo gallery';$lang['Only_one_photo'] = 'Only one type of photo can be specified';$lang['Wrong_remote_photo_format'] = 'The URL of the remote photo is not valid';$lang['Photo'] = 'Photo';$lang['Photo_explain'] = 'Displays a small graphic image in your profile. Only one image can be displayed at a time, its width can be no greater than %d pixels, the height no greater than %d pixels, and the file size no more than %d KB.';$lang['Upload_Photo_file'] = 'Upload Photo from your machine';$lang['Upload_Photo_URL'] = 'Upload Photo from a URL';$lang['Upload_Photo_URL_explain'] = 'Enter the URL of the location containing the Photo image, it will be copied to this site.';$lang['Pick_local_Photo'] = 'Select Photo from the gallery';$lang['Link_remote_Photo'] = 'Link to off-site Photo';$lang['Link_remote_Photo_explain'] = 'Enter the URL of the location containing the Photo image you wish to link to.';$lang['Photo_URL'] = 'URL of Photo Image';$lang['Select_from_gallery'] = 'Select Photo from gallery';$lang['View_photo_gallery'] = 'Show gallery';$lang['Select_photo'] = 'Select photo';$lang['Photo_filetype'] = 'The photo filetype must be .jpg, .gif or .png';$lang['Photo_filesize'] = 'The photo image file size must be less than %d KB';$lang['Photo_imagesize'] = 'The photo must be less than %d pixels wide and %d pixels high';
I suspect my
$lang['Personal_Gallery_Of_User'] = ' %s's Personal Gallery';
wasn't much appreciated by whatever it is that renders php, as the original, which works perfectly, is :
$lang['Personal_Gallery_Of_User'] = 'Personal Gallery Of %s';
So Smartor's Album Mod doesn't like apostrophes it would seem. (It would display correctly as " [you]'s Personal Gallery", for example, but I believe it also stopped new users setting up their own galleries).
The End and Amen to that

Thanks to all of you who tried to solve this intransigent problem - who'd have thought it was the apostrophe what done it, eh? <img>