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: Admin Menu Bar Missing after Login  (Read 5098 times)

0 Members and 1 Guest are viewing this topic.

Okie

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
  • "The Wind Is What It Is."
    • Red Earth Reflections
Admin Menu Bar Missing after Login
« on: July 09, 2006, 07:41:01 am »

I was editing theme.php and include/functions.inc.php files attemting to change what appeared as alt text on mouseover of thumbnails.  I eventually accomplished what I wanted but later discovered when I attempt to login as administrator I get the Welcome message but the admin menu bar is missing completely.  Also, the header and footer code is visible on the page.  I backtracked and changed my edits back to the way they were but it didn't bring back the admin menu bar and the header and footer code was still visible. 
I was using cpg_1.4.4, at the time with the "digital red" theme.  I checked and noticed I could upgrade to cpg_1.4.8, so I did hoping that would correct the issue.  It didn't.  My main browser is Firefox, so I checked it in IE but it behaved exactly the same.  I ran Spybot, Ad-Aware, and scanned for virus with AVG.  Nothing seems to make a difference.  I finally deleted the "digital red" theme directory, since I was unable to change themes through the admin mode, hoping cpg would be forced into the default theme.  Well, every thing remained the in the same broken status in the default theme, as well.  Does anyone have any suggestions on how I should proceed to fix this?
Thanks for your help!
« Last Edit: July 09, 2006, 08:41:28 pm by Stramm »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Admin Menu Bar Missing after Login
« Reply #1 on: July 09, 2006, 08:00:23 am »

- Never change function.inc.php for tweaking theme use theme.php instead
copy a fresh function.inc.php  to your include folder it's crrupted
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Admin Menu Bar Missing after Login
« Reply #2 on: July 09, 2006, 09:13:10 am »

clear your cookies and try again befor you undo the changes

Okie

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
  • "The Wind Is What It Is."
    • Red Earth Reflections
Re: Admin Menu Bar Missing after Login
« Reply #3 on: July 09, 2006, 03:01:31 pm »

Thanks for your suggestions.  Stramm, I cleared the cookies, closed the browser, re-opened but everything was still the same.  I deleted include/functions.inc.php from the site and uploaded a new file from the cpg_1.4.8, on my hard drive.  I closed out, the browser, re-opened but the problem is still there.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Admin Menu Bar Missing after Login
« Reply #4 on: July 09, 2006, 03:09:50 pm »

check your include/theme.inc.php and copy fresh one
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Okie

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
  • "The Wind Is What It Is."
    • Red Earth Reflections
Re: Admin Menu Bar Missing after Login
« Reply #5 on: July 09, 2006, 04:23:18 pm »

Thanks bmossavari, I deleted include/themes.inc.php from the site and uploaded a fresh copy.  It didn't make any difference, the problem is still there.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Admin Menu Bar Missing after Login
« Reply #6 on: July 09, 2006, 05:37:11 pm »

please disable TagBlitz plugin by editing your database xxx_plugins table
- this script will distroy your cookie and without cookie you can't login
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Okie

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
  • "The Wind Is What It Is."
    • Red Earth Reflections
Re: Admin Menu Bar Missing after Login
« Reply #7 on: July 09, 2006, 07:19:06 pm »

Hi bmossavari.  I went to my database plugin table and deleted the TaGBlitz entry.  I cleared the cache and deleted all cookies, closed out the browser, re-opened the browser but nothing changed.  Thanks again for your suggestions.  Do you have anymore?  I game to try anything; that's usually what get me in these predicaments!
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Admin Menu Bar Missing after Login
« Reply #8 on: July 09, 2006, 07:24:22 pm »

did you using bridge !!!?
those code at top of your page is from udb_base.inc.php try to send fresh one too ::)
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Okie

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
  • "The Wind Is What It Is."
    • Red Earth Reflections
Re: Admin Menu Bar Missing after Login
« Reply #9 on: July 09, 2006, 07:40:17 pm »

As far as I know, I'm not using bridge.  I'm not sure what it is or how to use it.  If I've done something in that regard, it was purely accidental.   ???
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Admin Menu Bar Missing after Login
« Reply #10 on: July 09, 2006, 07:45:08 pm »

looks like some files haven't been uploaded properly or there are spaces at top (before the <?php). Check the mentioned files and the ones your modified

Okie

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 18
  • "The Wind Is What It Is."
    • Red Earth Reflections
Re: Admin Menu Bar Missing after Login
« Reply #11 on: July 09, 2006, 08:34:51 pm »

Yahoo!  That's an Okie yell of extreme happiness!   ;D  I deleted the udb_base.inc.php on the site and uploaded a fresh copy.  Now, when I log in the Administration menu is there.  The footer code is entirely hidden and everything there looks fine.  However, most of the code in the header is hidden, but one line still lingers.  Thanks for patience and assistance, bmossavari.    Stramm, thanks for your suggestion and I will pursue that.  "Spaces at the top" gives me an idea if I can just remember which file it is I suspect.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Admin Menu Bar Missing after Login
« Reply #12 on: July 09, 2006, 08:41:16 pm »

hehehe, yummy ;)
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 20 queries.