[solved]Upgrade 2 Album issues

Support for IntegraMOD 141

Moderator: Integra Moderator

[solved]Upgrade 2 Album issues

PostAuthor: mspringgay » Sun Jan 28, 2007 2:04 pm

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
Last edited by mspringgay on Sun Feb 04, 2007 7:27 am, edited 1 time in total.

mspringgay
Newbie
Newbie
 
Posts: 24
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 8:10 pm
Cash on hand: 0.00

Re: Upgrade 2 Album issues

PostAuthor: Helter » Sun Jan 28, 2007 5:45 pm

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
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Upgrade 2 Album issues

PostAuthor: Teelk » Sun Jan 28, 2007 5:55 pm

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?
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

Re: Upgrade 2 Album issues

PostAuthor: mspringgay » Sun Jan 28, 2007 7:19 pm

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!
Last edited by mspringgay on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

mspringgay
Newbie
Newbie
 
Posts: 24
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 8:10 pm
Cash on hand: 0.00

Re: Upgrade 2 Album issues

PostAuthor: mspringgay » Sat Feb 03, 2007 5:21 pm

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.
Last edited by mspringgay on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

mspringgay
Newbie
Newbie
 
Posts: 24
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 8:10 pm
Cash on hand: 0.00

PostAuthor: richiebgood » Thu Mar 29, 2007 2:31 am

"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?
Last edited by richiebgood on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

richiebgood
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Aug 08, 2006 1:01 am
Cash on hand: 0.00
Location: Ireland

Re: [solved]Upgrade 2 Album issues

PostAuthor: Frost » Thu Mar 29, 2007 6:01 am

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 ?>
Last edited by Frost on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[size=99px]PhpBB3 Themes[/url] ]PhpBB3 Development Center[/url] [/size]

Frost
Sr Integra Member
Sr Integra Member
 
Posts: 776
Likes: 0 post
Liked in: 0 post
Joined: Wed Sep 13, 2006 2:04 am
Cash on hand: 0.00
Location: Photoshop CS3

PostAuthor: richiebgood » Thu Mar 29, 2007 6:11 am

ok cheers, works perfect
Last edited by richiebgood on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

richiebgood
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Aug 08, 2006 1:01 am
Cash on hand: 0.00
Location: Ireland

PostAuthor: rpress » Fri Nov 30, 2007 3:42 pm

"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...
Last edited by rpress on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

rpress
Newbie
Newbie
 
Posts: 1
Likes: 0 post
Liked in: 0 post
Joined: Fri Nov 30, 2007 3:39 pm
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]