admin not accessible in coppermine
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexCoppermine
Author Message
lamort
Newbie


Joined: Apr 19, 2005
Posts: 9

PostPost subject: Re: admin not accessible in coppermine
Posted: Thu Jul 28, 2005 8:23 am
Reply with quote

i had the same problem, thanks for your solution

lamort's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux jota 2.4.29/Apache/MySQL:4.0.18-standard/PHP:4.3.10/CPGNuke:9.0.3.0
Back to top
View user's profile Visit poster's website
tattoohead
Nice poster


Joined: Jul 30, 2005
Posts: 51

PostPost subject: Re: admin not accessible in coppermine
Posted: Sat Jul 30, 2005 4:15 am
Reply with quote

Yup...same here. Same problem..thought I was going crazy.. Neutral
_________________
Why is it that there's always more month at the end of my money?

tattoohead's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.33/4.0.25-standard/4.3.10/9.0.5.0
Back to top
View user's profile Visit poster's website MSN Messenger
-PunisheR-
Newbie


Joined: Aug 01, 2005
Posts: 3
Location: BallistiC

PostPost subject: Re: admin not accessible in coppermine
Posted: Mon Aug 01, 2005 4:39 am
Reply with quote

man I must be blind

did the sql above and the cache and the cookie thing

Rolling Eyes Confused

I tapped into the gallery config manually in the url

but cannot do the same with 'catmgr' - 'don't have permission ... '


-PunisheR-'s server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
xp/2.0/4.1.12-nt-log/5.0.4/9.0.5.0
Back to top
View user's profile Visit poster's website
-PunisheR-
Newbie


Joined: Aug 01, 2005
Posts: 3
Location: BallistiC

PostPost subject: Re: admin not accessible in coppermine
Posted: Mon Aug 01, 2005 4:55 am
Reply with quote

DOH

nm

you have to do this in addition to this thread

dragonflycms.org/Forum...11467.html

The key being this:
admin > ranks > create the rank you want and set it as a special rank. ( site admin )

Well that's what seemed to work for me anyway Big grin


-PunisheR-'s server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
xp/2.0/4.1.12-nt-log/5.0.4/9.0.5.0
Back to top
View user's profile Visit poster's website
MikieMouse
500+ Posts Club


Joined: Jun 27, 2004
Posts: 501
Location: South Dakota

PostPost subject: Re: admin not accessible in coppermine
Posted: Mon Aug 01, 2005 11:54 pm
Reply with quote

This didn't quite work for me. I have my coppermine gallery setup and working under "eGallery". It was working on 9.0.4, but once I upgraded it is experiencing this issue.

I have added the field to the cms_admins table, changed my member and admin cookie (both for the site and the gallery). I have cleared my cache folder, cleared my browser's cache (firefox). Even tried it on a PC that has never been to my site using IE 6.0 and still it won't work.

I can manually go to the config section, but I cannot do anything else manually. Getting the "Not Authorized" errors. Any other hints on something that may need to be adjusted to see that I am not using the coppermine directory? I have three image galleries on my site (all were working fine with 9.0.4).

Any assistance would be greatly appreciated.

_________________
EHP Webmaster
www.ehpdesigns.com

MikieMouse's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux OS / Apache 1.3.34 / MySQL 4.1.22 / PHP 4.4.7/ DF 9.1.2.1
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger
Śyama_Dāsa
Developer


Joined: Apr 19, 2004
Posts: 2049
Location: Dragonfly CMS Tribe

PostPost subject: Re: admin not accessible in coppermine
Posted: Wed Aug 31, 2005 12:24 am
Reply with quote

MikieMouse try adding via phpmyadmin
Code:
ALTER TABLE `cms_admins` ADD `radmin*` TINYINT( 1 ) DEFAULT '0' NOT NULL;
where * is the renamed coppermine module name

_________________
AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM

Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
Back to top
View user's profile Visit poster's website Yahoo Messenger
MikieMouse
500+ Posts Club


Joined: Jun 27, 2004
Posts: 501
Location: South Dakota

PostPost subject: Re: admin not accessible in coppermine
Posted: Wed Aug 31, 2005 11:18 am
Reply with quote

akamu wrote:
MikieMouse try adding via phpmyadmin
Code:
ALTER TABLE `cms_admins` ADD `radmin*` TINYINT( 1 ) DEFAULT '0' NOT NULL;
where * is the renamed coppermine module name

I've already tried doing that for each of my modules. There is a problem with the "IS_ADMIN" portion of some of the includes for coppermine that are not detecting me as an admin in versions of DF from v9.0.5 so I went back to that code from v9.0.3 and it works again. Though a couple other things did break but I can live with those.

_________________
EHP Webmaster
www.ehpdesigns.com

MikieMouse's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux OS / Apache 1.3.34 / MySQL 4.1.22 / PHP 4.4.7/ DF 9.1.2.1
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger
mc__
Debugger


Joined: Jul 12, 2005
Posts: 451
Location: QLD, Australia

PostPost subject: Re: admin not accessible in coppermine
Posted: Fri Sep 23, 2005 10:06 pm
Reply with quote

bah, i too had this problem, and it was no measely sql defeciancy; i already had all the neccessary columns; instead it was the fact that my admin area was still affect via register globals being off, ie a variable wouldn't be initialised with it's $_GET[] data, so i needed to do it explicitly.

I added the bugfix, but cvs file is still unchanged (i dont knwo why though).

replace this
PHP:
if (!defined('ADMIN_PAGES')) { exit; }
if (!
can_admin($op)) { exit; }
with this
PHP:
if (!defined('ADMIN_PAGES')) { exit; }
$op=$_GET['op'];
if (!
can_admin($op)) { exit; }

_________________


mc__'s server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux (Kernel: 2.4.21-27.0.2.ELsmp)/1.3.33 (Unix)/4.0.24-standard/4.3.11/9.0.5.0
Back to top
View user's profile Visit poster's website MSN Messenger
mc__
Debugger


Joined: Jul 12, 2005
Posts: 451
Location: QLD, Australia

PostPost subject: Re: admin not accessible in coppermine
Posted: Fri Sep 23, 2005 10:10 pm
Reply with quote

mc__ wrote:
bah, i too had this problem, and it was no measely sql defeciancy; i already had all the neccessary columns; instead it was the fact that my admin area was still affect via register globals being off, ie a variable wouldn't be initialised with it's $_GET[] data, so i needed to do it explicitly.

I added the bugfix, but cvs file is still unchanged (i dont knwo why though).

replace this
PHP:
if (!defined('ADMIN_PAGES')) { exit; }
if (!
can_admin($op)) { exit; }
with this
PHP:
if (!defined('ADMIN_PAGES')) { exit; }
$op=$_GET['op'];
if (!
can_admin($op)) { exit; }

I have a coppermine icon in my admin section if i do this, if i remove it i no longer have one, if i put it back i do, if i remove it i dont, so i put it back and i do.

I think that that is pretty definite proof of this being the cause. seems pretty foolproof to me.

Now i don't know why not everyone experiences this issue (maybe their web account isn't fully priviledged like how mine is), but please reply saying if this fixed it, or it was something else.

_________________


mc__'s server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux (Kernel: 2.4.21-27.0.2.ELsmp)/1.3.33 (Unix)/4.0.24-standard/4.3.11/9.0.5.0
Back to top
View user's profile Visit poster's website MSN Messenger
Rothin
Newbie


Joined: Jul 17, 2004
Posts: 40

PostPost subject: Re: admin not accessible in coppermine
Posted: Sat Nov 26, 2005 7:24 pm
Reply with quote

I'm still having this issue after upgrading to the latest version. (9.0.6.1).

I've done everything so far in this thread and I have no icon in admin panel and the only option I have is to manually type in the URL, but I only have the option to goto config. Anything else is access denied.

Can anyone offer any other suggestions?


Rothin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 1.3.33 (Unix) / 4.0.20-standard / 4.3.10 / Dragonfly 9.1
Back to top
View user's profile Visit poster's website
Rothin
Newbie


Joined: Jul 17, 2004
Posts: 40

PostPost subject: Re: admin not accessible in coppermine
Posted: Sat Nov 26, 2005 7:33 pm
Reply with quote

UPDATE: It's working now. After finding another thread with this issue I realized I had forgotten to log out and log back in to admin to reset the cookie. It appears to be working now. Smile

Rothin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 1.3.33 (Unix) / 4.0.20-standard / 4.3.10 / Dragonfly 9.1
Back to top
View user's profile Visit poster's website
albanialove
Nice poster


Joined: Dec 13, 2004
Posts: 83

PostPost subject: Re: weird admin problem on localhost
Posted: Wed Dec 07, 2005 3:17 pm
Reply with quote

akamu wrote:
Code:
ALTER TABLE `cms_admins` ADD `radmincoppermine` TINYINT( 1 ) DEFAULT '0' NOT NULL;

i have make this on cms_admins but nothing
something else...

_________________
webalbania.com

albanialove's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Php 5.0.4 /MySQL 5.0.26/DF CMS 9.1.1.RC2
Back to top
View user's profile Visit poster's website
albanialove
Nice poster


Joined: Dec 13, 2004
Posts: 83

PostPost subject: Re: weird admin problem on localhost
Posted: Thu Dec 08, 2005 12:10 pm
Reply with quote

akamu wrote:
Code:
ALTER TABLE `cms_admins` ADD `radmincoppermine` TINYINT( 1 ) DEFAULT '0' NOT NULL;

Now is ok, with this it work:
Code:
ALTER TABLE `cms_admins` ADD `radmincoppermine` TINYINT( 4 ) DEFAULT '0' NOT NULL;

_________________
webalbania.com

albanialove's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Php 5.0.4 /MySQL 5.0.26/DF CMS 9.1.1.RC2
Back to top
View user's profile Visit poster's website
wrightme
Newbie


Joined: Oct 06, 2006
Posts: 9
Location: Nevada, US

PostPost subject: Re: admin not accessible in coppermine
Posted: Fri Oct 06, 2006 5:58 am
Reply with quote

I also had this problem with a fresh "update" load on phpNuke 7.0! This would be VERY good information to include in a .txt file with the install package.

wrightme's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.37/4.1.21-standard/4.4.4/9.1.1
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexCoppermine All times are GMT
Go to page Previous  1, 2
Page 2 of 2


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

stopsoftwarepatents.eu petition banner
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 0.6127 seconds with 19 DB Queries in 0.0377 seconds
Memory Usage: 3.03 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy