Page 1 of 1

Cannot redeclare album_user_access

PostPosted: Mon Oct 23, 2006 1:43 am
Author: nGAGE
Hi all,

Hope you guys can help.

I seem to have encountered an issue with the "Albums", possibly due to my messing about (attempting to make a theme work), but I can't remember having changed any of the base files (only image-files, tpl-files and css-files) and even replacing the file mentioned in the error with the original from the RC5 release doesn't change anything. The Albums seem to work, as far as I can tell, but I see an error at the end of the page (also preventing my right column(footer)) to display (as the script stops the page from handling any further instruction. Database Bug/corruption?
Like mentioned, categories can be clicked and all seems fine. Only stops after the album_index_body box and after the credits. Also does then after selecting a category. Continues just fine, except the same error (see below) and preventing footer from being loaded.

ERR is:
[code]Fatal error]


Hope anybody has ever encountered this and knows a fix.

Thnx guys.


_nGAGE

Re: Cannot redeclare album_user_access

PostPosted: Thu Nov 09, 2006 2:26 pm
Author: Helter
looks like a corrupted file. I would re-dl the 141 package and replace .php and .tpl related to the album mod. There was also a db file that was necessary if you had private albums. I would run that just to be sure.

im_141_public_beta_rc5 Help Please

PostPosted: Fri Nov 10, 2006 3:01 pm
Author: ALTUN
Fatal error: Cannot redeclare album_user_access() (previously declared in /***/****/***/*/*/***/***/www/forum/album_mod/album_functions.php:47) in /***/****/***/*/*/***/***/www/www/forum/album_mod/album_functions.php on line 47

Help please... portal.php (Home Page)

PostPosted: Fri Nov 10, 2006 3:34 pm
Author: ayasha
did you activate the album2 block?

Re: Cannot redeclare album_user_access

PostPosted: Sat Nov 11, 2006 12:32 am
Author: ALTUN
Yes active album2 block.

Re: Cannot redeclare album_user_access

PostPosted: Sat Nov 11, 2006 3:00 am
Author: Teelk
You can't use both album blocks on the same page. Deactivate one and it should work again.

Re: Cannot redeclare album_user_access

PostPosted: Thu Nov 16, 2006 4:43 am
Author: nGAGE
Sorry for this VERY late update.

I did initially fix it by adding a few lines to the actual script, but eventually, after a fresh install, even with the original script files it was all fine. So don't know what it was exactly.