Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Coppermine :: Archives ⇒ admin not accessible in coppermine :: Archived


admin not accessible in coppermine :: Archived
Please post bugs in the Projects Module.
Post anything and everything else about Coppermine in this forum.

Go to page Previous  1, 2
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  Add-Ons & BlocksCoppermine :: Archives

Topic Archived View previous topic :: View next topic  
Author Message
lamort
Newbie
Newbie

Offline Offline
Joined: Apr 19, 2005
Posts: 9

PostPosted: Thu Jul 28, 2005 8:23 am
Post subject: Re: admin not accessible in coppermine

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
Nice poster

Offline Offline
Joined: Jul 30, 2005
Posts: 51

PostPosted: Sat Jul 30, 2005 4:15 am
Post subject: Re: admin not accessible in coppermine

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
Newbie

Offline Offline
Joined: Aug 01, 2005
Posts: 3
Location: BallistiC
PostPosted: Mon Aug 01, 2005 4:39 am
Post subject: Re: admin not accessible in coppermine

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
Newbie

Offline Offline
Joined: Aug 01, 2005
Posts: 3
Location: BallistiC
PostPosted: Mon Aug 01, 2005 4:55 am
Post subject: Re: admin not accessible in coppermine

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
500+ Posts Club

Offline Offline
Joined: Jun 27, 2004
Posts: 500
Location: South Dakota
PostPosted: Mon Aug 01, 2005 11:54 pm
Post subject: Re: admin not accessible in coppermine

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
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 2048
Location: Dragonfly CMS Tribe
PostPosted: Wed Aug 31, 2005 12:24 am
Post subject: Re: admin not accessible in coppermine

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 Photo Gallery
MikieMouse
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Jun 27, 2004
Posts: 500
Location: South Dakota
PostPosted: Wed Aug 31, 2005 11:18 am
Post subject: Re: admin not accessible in coppermine

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
Debugger

Offline Offline
Joined: Jul 12, 2005
Posts: 452
Location: QLD, Australia
PostPosted: Fri Sep 23, 2005 10:06 pm
Post subject: Re: admin not accessible in coppermine

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
Debugger

Offline Offline
Joined: Jul 12, 2005
Posts: 452
Location: QLD, Australia
PostPosted: Fri Sep 23, 2005 10:10 pm
Post subject: Re: admin not accessible in coppermine

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
Newbie

Offline Offline
Joined: Jul 17, 2004
Posts: 40

PostPosted: Sat Nov 26, 2005 7:24 pm
Post subject: Re: admin not accessible in coppermine

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
Newbie

Offline Offline
Joined: Jul 17, 2004
Posts: 40

PostPosted: Sat Nov 26, 2005 7:33 pm
Post subject: Re: admin not accessible in coppermine

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
Nice poster

Offline Offline
Joined: Dec 13, 2004
Posts: 83

PostPosted: Wed Dec 07, 2005 3:17 pm
Post subject: Re: weird admin problem on localhost

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
Nice poster

Offline Offline
Joined: Dec 13, 2004
Posts: 83

PostPosted: Thu Dec 08, 2005 12:10 pm
Post subject: Re: weird admin problem on localhost

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
Newbie

Offline Offline
Joined: Oct 06, 2006
Posts: 9
Location: Nevada, US
PostPosted: Fri Oct 06, 2006 5:58 am
Post subject: Re: admin not accessible in coppermine

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    Revive this topic    Printer Friendly Page    Forum Index ⇒  Add-Ons & BlocksCoppermine :: Archives
Page 2 of 2
All times are GMT
Go to page Previous  1, 2

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.
· Removed index.php depency.
· v9 fixed menu hoverings on touch screens.
· Fixed menu hoverings on touch screens.
· Fixed empty $Module object

читај повеќе...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
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

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
Interactive software released under GNU GPL, Code Credits, Privacy Policy