Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Forum Upgrade  (Read 7096 times)

0 Members and 1 Guest are viewing this topic.

SHARONB

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 27
Forum Upgrade
« on: October 30, 2005, 05:57:11 am »

We just finished upgrading our forum to PHPBB 2.0.17 and in the process lost the link to our photo gallery.  We are using Coppermine 1.3.2 by the way.  I'm not quite sure where to start.  I could really use some help...

Thanks,
Sharon
« Last Edit: November 02, 2005, 02:21:49 am by Nibbler »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Forum Upgrade
« Reply #1 on: October 30, 2005, 06:01:52 am »

Did you read the section in the docs on how to integrate/bridge?
Logged

SHARONB

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 27
Re: Forum Upgrade
« Reply #2 on: October 30, 2005, 06:20:44 am »

Yes, I did read a few posts on integration.  I havent' done this but once before so I'm totally lost.  All I know that when I click on the photo gallery link from our forum I get: Template error   Failed to find block 'logout' then a bunch of Begin album   End Album scripts.  I'm just not sure where to get started.

Sharon
Logged

Nibbler

  • Guest
Re: Forum Upgrade
« Reply #3 on: October 30, 2005, 06:24:25 am »

Logged

SHARONB

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 27
Re: Forum Upgrade
« Reply #4 on: October 30, 2005, 06:35:26 am »

Is it okay to PM the info to you?

Sharon
Logged

Nibbler

  • Guest
Re: Forum Upgrade
« Reply #5 on: October 30, 2005, 07:22:36 am »

You can if you wish, but that would make me the only supporter able to help you.
Logged

SHARONB

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 27
Re: Forum Upgrade
« Reply #6 on: October 30, 2005, 08:07:30 am »

I went ahead and sent a PM...

Sharon
Logged

SHARONB

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 27
Re: Forum Upgrade
« Reply #7 on: October 31, 2005, 01:31:30 am »

Nibbler or whoever else can help,

I tried posting my custom theme.php but I get an error message that says I exceeded the limit. 

Sharon
« Last Edit: October 31, 2005, 04:08:27 am by SHARONB »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Forum Upgrade
« Reply #8 on: October 31, 2005, 06:53:13 am »

zip it and then attach it to your posting using "Additional options" when composing your message.
Logged

SHARONB

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 27
Re: Forum Upgrade
« Reply #9 on: October 31, 2005, 04:37:32 pm »

In the process of trying to get the custom theme back into our photo gallery, I accidently screwed up the classic theme that we originally copied ours after.  I put the files from our custom into the classic so now I have this when I clicl on Photo Gallery:

Code: [Select]
Template error
Failed to find block 'logout'(#(<!-- BEGIN logout -->)(.*?)(<!-- END logout -->)#s) in :

                <span class="topmenu">
<!-- BEGIN album_list -->
                        <a href="http://www.crossdressers-forum.com/forums/" title="Forum">Forum</a> ::
<!-- END album_list -->
<!-- BEGIN album_list -->
                        <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a> ::
<!-- END album_list -->
<!-- BEGIN my_gallery -->
                        <a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a> ::
<!-- END my_gallery -->
<!-- BEGIN allow_memberlist -->
                        <a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}">{MEMBERLIST_LNK}</a>  ::
<!-- END allow_memberlist -->
<!-- BEGIN my_profile -->
                        <a href="{MY_PROF_TGT}">{MY_PROF_LNK}</a> ::
<!-- END my_profile -->
<!-- BEGIN faq -->
                        <a href="{FAQ_TGT}" title="{FAQ_TITLE}">{FAQ_LNK}</a> ::
<!-- END faq -->
<!-- BEGIN enter_admin_mode -->
                        <a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}">{ADM_MODE_LNK}</a> ::
<!-- END enter_admin_mode -->
<!-- BEGIN leave_admin_mode -->
                        <a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}">{USR_MODE_LNK}</a> ::
<!-- END leave_admin_mode -->
<!-- BEGIN upload_pic -->
                        <a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}">{UPL_PIC_LNK}</a>
<!-- END upload_pic -->
<!-- BEGIN register -->
                        <a href="{REGISTER_TGT}" title="{REGISTER_TITLE}">{REGISTER_LNK}</a>
<!-- END register -->
<!-- BEGIN login -->
                        <a href="{LOGIN_TGT}">{LOGIN_LNK}</a>
<!-- END login -->
                       <br />
                        <a href="{LASTUP_TGT}">{LASTUP_LNK}</a> ::
                        <a href="{LASTCOM_TGT}">{LASTCOM_LNK}</a> ::
                        <a href="{TOPN_TGT}">{TOPN_LNK}</a> ::
                        <a href="{TOPRATED_TGT}">{TOPRATED_LNK}</a> ::
                        <a href="{FAV_TGT}">{FAV_LNK}</a> ::
                        <a href="{SEARCH_TGT}">{SEARCH_LNK}</a>
                </span>


I seem to be making matters worse then better....  At least Nibbler go the classic working for me but now I have nothing...  How can I fix this mess?  I just want my custom theme back.

I also noticed that when the classic theme was working before I messed that up, I couldn't get on as an administrator.  I'm  not sure what the problem is there...

Desperately need help.... :\'(

Sharon
Logged

Nibbler

  • Guest
Re: Forum Upgrade
« Reply #10 on: October 31, 2005, 04:55:42 pm »

Nothing I can say without being able to look at your theme.php. Zip it up and post it to the board.
Logged

SHARONB

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 27
Re: Forum Upgrade
« Reply #11 on: October 31, 2005, 07:31:14 pm »

It appears we have a theme.php and a theme 1.php in our custom themes. We have one other person that lends a hand with the Photo Gallery so I'm mot sure where the other theme.php comes from.  I went ahead and added both to the zip file. 

Thanks,
Sharon
Logged

Nibbler

  • Guest
Re: Forum Upgrade
« Reply #12 on: October 31, 2005, 07:39:55 pm »

You have overmodified this section:

Code: [Select]
// HTML template for main menu
$template_main_menu = <<<EOT
                <span class="topmenu">
<!-- BEGIN album_list -->
                        <a href="http://www.crossdressers-forum.com/forums/" title="Forum">Forum</a> ::
<!-- END album_list -->
<!-- BEGIN album_list -->
                        <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a> ::
<!-- END album_list -->
<!-- BEGIN my_gallery -->
                        <a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a> ::
<!-- END my_gallery -->
<!-- BEGIN allow_memberlist -->
                        <a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}">{MEMBERLIST_LNK}</a>  ::
<!-- END allow_memberlist -->
<!-- BEGIN my_profile -->
                        <a href="{MY_PROF_TGT}">{MY_PROF_LNK}</a> ::
<!-- END my_profile -->
<!-- BEGIN faq -->
                        <a href="{FAQ_TGT}" title="{FAQ_TITLE}">{FAQ_LNK}</a> ::
<!-- END faq -->
<!-- BEGIN enter_admin_mode -->
                        <a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}">{ADM_MODE_LNK}</a> ::
<!-- END enter_admin_mode -->
<!-- BEGIN leave_admin_mode -->
                        <a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}">{USR_MODE_LNK}</a> ::
<!-- END leave_admin_mode -->
<!-- BEGIN upload_pic -->
                        <a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}">{UPL_PIC_LNK}</a>
<!-- END upload_pic -->
<!-- BEGIN register -->
                        <a href="{REGISTER_TGT}" title="{REGISTER_TITLE}">{REGISTER_LNK}</a>
<!-- END register -->
<!-- BEGIN login -->
                        <a href="{LOGIN_TGT}">{LOGIN_LNK}</a>
<!-- END login -->
                       <br />
                        <a href="{LASTUP_TGT}">{LASTUP_LNK}</a> ::
                        <a href="{LASTCOM_TGT}">{LASTCOM_LNK}</a> ::
                        <a href="{TOPN_TGT}">{TOPN_LNK}</a> ::
                        <a href="{TOPRATED_TGT}">{TOPRATED_LNK}</a> ::
                        <a href="{FAV_TGT}">{FAV_LNK}</a> ::
                        <a href="{SEARCH_TGT}">{SEARCH_LNK}</a>
                </span>
EOT;

You must have the logout link in there somewhere, even if it is commented out. Replace that section with this:

Code: [Select]
// HTML template for main menu
$template_main_menu = <<<EOT
                <span class="topmenu">
<!-- BEGIN album_list -->
                        <a href="http://www.crossdressers-forum.com/forums/" title="Forum">Forum</a> ::
<!-- END album_list -->
<!-- BEGIN album_list -->
                        <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a> ::
<!-- END album_list -->
<!-- BEGIN my_gallery -->
                        <a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a> ::
<!-- END my_gallery -->
<!-- BEGIN allow_memberlist -->
                        <a href="{MEMBERLIST_TGT}" title="{MEMBERLIST_TITLE}">{MEMBERLIST_LNK}</a>  ::
<!-- END allow_memberlist -->
<!-- BEGIN my_profile -->
                        <a href="{MY_PROF_TGT}">{MY_PROF_LNK}</a> ::
<!-- END my_profile -->
<!-- BEGIN faq -->
                        <a href="{FAQ_TGT}" title="{FAQ_TITLE}">{FAQ_LNK}</a> ::
<!-- END faq -->
<!-- BEGIN enter_admin_mode -->
                        <a href="{ADM_MODE_TGT}" title="{ADM_MODE_TITLE}">{ADM_MODE_LNK}</a> ::
<!-- END enter_admin_mode -->
<!-- BEGIN leave_admin_mode -->
                        <a href="{USR_MODE_TGT}" title="{USR_MODE_TITLE}">{USR_MODE_LNK}</a> ::
<!-- END leave_admin_mode -->
<!-- BEGIN upload_pic -->
                        <a href="{UPL_PIC_TGT}" title="{UPL_PIC_TITLE}">{UPL_PIC_LNK}</a>
<!-- END upload_pic -->
<!-- BEGIN register -->
                        <a href="{REGISTER_TGT}" title="{REGISTER_TITLE}">{REGISTER_LNK}</a>
<!-- END register -->
<!-- BEGIN login -->
                        <a href="{LOGIN_TGT}">{LOGIN_LNK}</a>
<!-- END login -->
<!-- BEGIN logout -->
                        <!-- <a href="{LOGOUT_TGT}">{LOGOUT_LNK}</a> -->
<!-- END logout -->
                       <br />
                        <a href="{LASTUP_TGT}">{LASTUP_LNK}</a> ::
                        <a href="{LASTCOM_TGT}">{LASTCOM_LNK}</a> ::
                        <a href="{TOPN_TGT}">{TOPN_LNK}</a> ::
                        <a href="{TOPRATED_TGT}">{TOPRATED_LNK}</a> ::
                        <a href="{FAV_TGT}">{FAV_LNK}</a> ::
                        <a href="{SEARCH_TGT}">{SEARCH_LNK}</a>
                </span>
EOT;
Logged

SHARONB

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 27
Re: Forum Upgrade
« Reply #13 on: November 01, 2005, 04:26:46 am »

After I replaced that one section, it looks like my custom theme and "forum" link on the photo gallery came back.  Thanks for the help.... Unfortunately, I still have one major problem, no admin/user options.  The admin panel does not exist.  None of my settings on my computer have changed since it was last working properly.   I looked on the forum for others who had similar problems but when I cleaned up my cookies I ended up losing the photo gallery again so I had to replace that one section again and it was fine.  I'm not sure what to do next.  I checked my security and firewall and they are fine...  What am I missing?  I'm pretty much a newbie when it comes to all this... I keep trying to do things myself and I just end up messing them up even more... :(

Sharon
 
Logged

Nibbler

  • Guest
Re: Forum Upgrade
« Reply #14 on: November 01, 2005, 03:06:44 pm »

You need to set the cookie path of your forum's cookies to '/' for coppermine to be able to read them.
Logged

SHARONB

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 27
Re: Forum Upgrade
« Reply #15 on: November 01, 2005, 11:39:18 pm »

I went into the admin panel and changed it to '/' and still nothing happens???  

Sharon
« Last Edit: November 02, 2005, 02:03:47 am by SHARONB »
Logged

SHARONB

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 27
Re: Forum Upgrade
« Reply #16 on: November 02, 2005, 02:15:01 am »

I managed to find the problem.  I had to change the cookie name also.  The Admin panel has returned...  :)

Thanks for your help....

Sharon

Logged

Nibbler

  • Guest
Re: Forum Upgrade
« Reply #17 on: November 02, 2005, 02:21:31 am »

Great, marking as solved. :)
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 20 queries.