coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Okie on July 09, 2006, 07:41:01 AM

Title: Admin Menu Bar Missing after Login
Post by: Okie 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!
Title: Re: Admin Menu Bar Missing after Login
Post by: Sami 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
Title: Re: Admin Menu Bar Missing after Login
Post by: Stramm on July 09, 2006, 09:13:10 AM
clear your cookies and try again befor you undo the changes
Title: Re: Admin Menu Bar Missing after Login
Post by: Okie 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.
Title: Re: Admin Menu Bar Missing after Login
Post by: Sami on July 09, 2006, 03:09:50 PM
check your include/theme.inc.php and copy fresh one
Title: Re: Admin Menu Bar Missing after Login
Post by: Okie 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.
Title: Re: Admin Menu Bar Missing after Login
Post by: Sami 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
Title: Re: Admin Menu Bar Missing after Login
Post by: Okie 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!
Title: Re: Admin Menu Bar Missing after Login
Post by: Sami 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 ::)
Title: Re: Admin Menu Bar Missing after Login
Post by: Okie 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.   ???
Title: Re: Admin Menu Bar Missing after Login
Post by: Stramm 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
Title: Re: Admin Menu Bar Missing after Login
Post by: Okie 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.
Title: Re: Admin Menu Bar Missing after Login
Post by: Stramm on July 09, 2006, 08:41:16 PM
hehehe, yummy ;)