Page 1 of 1

[solved]Upgrade 2 Album issues

PostPosted: Sun Jan 28, 2007 2:04 pm
Author: mspringgay
Your phpBB Version: 2.0.22
phpBB Type: Integramod 141
MODs: Yes
Your knowledge: Basic Knowledge
Board URL: http://localhost

PHP Version: 4
MySQL Version: 4.1.13


What was done before the problem appeared?
Upgraded to 1.4.1


What was done to try to solve the problem?
Searched e-etegra forum but did not find a solution



De.scription and Message

I applied the upgrade to 1.41 and now have 2 issues with the album.

Upgrade approach (believe this is what the instructions stated to do)
1) Downloaded 1.41. full package and upgrade package
2) Applied my mods (easyCMS and m2f) to 1.4.1
3) Copied all 1.4.1 files over current 1.4.0 install
4) ran the db_update .script (Did not indicate any errors)

Most things appear to be functioning correctly except the album.

When I access the photo ablum (http://localhost/~tisc2/portal/album.php) I get the following error:

Fatal error: Cannot redeclare album_user_access() (previously declared in /home/tisc2/public_html/portal/album_mod/album_functions.php:47) in /home/tisc2/public_html/portal/album_mod/album_functions.php on line 47

In the admin panel if I access Photo Album->CLowN SP Config I get

phpBB : Critical Error

Could not query SP config information

DEBUG MODE

SQL Error : 1146 Table 'tisc2.ALBUM_SP_CONFIG_TABLE' doesn't exist

SELECT * FROM ALBUM_SP_CONFIG_TABLE

Line : 42
File : admin_album_clown_SP.php

Re: Upgrade 2 Album issues

PostPosted: Sun Jan 28, 2007 5:45 pm
Author: Helter
Photo Album->CLowN SP Config


this should not be in the acp for 141

i would suggest renaming your current root/admin folder and re-uploading a new admin folder and add all your admin files from the mods youve added to 141

Re: Upgrade 2 Album issues

PostPosted: Sun Jan 28, 2007 5:55 pm
Author: Teelk
You can delete admin/admin_album_clown_SP.php and admin/modules/admin_album_clown_SP.php from your board. They aren't used in 141, the features are all in the configuration page now.

For the other problem, do you have an album block positioned on the left?

Re: Upgrade 2 Album issues

PostPosted: Sun Jan 28, 2007 7:19 pm
Author: mspringgay
Yes I have a album2 block on the left hand side (header) which is common across all pages. Can that no longer be done? Really would be a big change to the sight I'm trying to upgrade if that is so.

I had been surprised not to see some album files marked for deletion in the upgrade document will delete them now. Thanks!

Re: Upgrade 2 Album issues

PostPosted: Sat Feb 03, 2007 5:21 pm
Author: mspringgay
This thread can be marked solved.

To get the album block working as part of the common header you need to modify album_common.php. Go to the bottom of the file (find ?>) and then change the three include statements to be include_once statements.

PostPosted: Thu Mar 29, 2007 2:31 am
Author: richiebgood
"mspringgay";p="21278" wrote:This thread can be marked solved.

To get the album block working as part of the common header you need to modify album_common.php. Go to the bottom of the file (find ?>) and then change the three include statements to be include_once statements.


can you explain this a bit better please. Include once?

Re: [solved]Upgrade 2 Album issues

PostPosted: Thu Mar 29, 2007 6:01 am
Author: Frost
Example:

Code: Select all
include($album_root_path . 'album_functions.' . $phpEx);


change to]include_once($album_root_path . 'album_functions.' . $phpEx);[/code]

On the three includes before ?>

PostPosted: Thu Mar 29, 2007 6:11 am
Author: richiebgood
ok cheers, works perfect

PostPosted: Fri Nov 30, 2007 3:42 pm
Author: rpress
"Frost";p="23486" wrote:Example:

Code: Select all
include($album_root_path . 'album_functions.' . $phpEx);


change to]include_once($album_root_path . 'album_functions.' . $phpEx);[/code]

On the three includes before ?>


Ahhh! I was tearing my hair out over this. Thanks for the fix! I am surprised that this fix did not find it's way into 1.4.1d...