No one can log in after installing "Moderators for Upload" PHP5? No one can log in after installing "Moderators for Upload" PHP5?
 

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]

Main Menu

No one can log in after installing "Moderators for Upload" PHP5?

Started by Daethian, December 24, 2008, 03:29:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Daethian

http://crabstreetjournalphotos.com
The log in box says at the top before you enter your credentials:  Warning your browser does not accept script's cookies

I've been searching and trying all the suggestions given but no success and I'm stuck at editing the php.ini file ("register_long_arrays = On" in php.ini.) ....don't know where to find it?

Apache version   2.0.61
PHP version   5.2.5
MySQL version   4.1.22-standard


Last night I applied the mod to give moderators approval permissions and when I tried to log in after the update I wasn't able to, it just reloads the log in page.

My other two admin then tried to log in only to find the same problem.  We all cleared our cache and cookies with no success. One admin tried a reboot. Still no success. One admin is running on a Mac.

I have tried from three different computers, two different OS, on two different networks and with three different browsers and still no luck.
It seems no one is able to get in, not even regular users.

About a month ago I moved my gallery to a new web host but it was working fine till last night.
I did make a database backup before applying the mods but I'm not sure if this is something that can be fixed without restoring the database.


I tried disabling NoScript and my F-Secure security suite. Still no success.

I can't double check my install version because I don't have access to run the versionchecker and/or don't know another way.

I'm not sure how the time being different from system to install factors into this since it was fine before the modification.

I edited F-Secure to not block tracking scripts but no success.

Cookie_path is /

Cookie_name was coppermine and I changed it to csjgallery and no success

There were 5 files in the modification package with blank lines at the end. I removed those and checked the config file and still no success.

The only plug in I am using is Tag Blitz.

I will post my debug next as I'm over the char length for this post.
"How naked?
4th base naked."

Daethian

"How naked?
4th base naked."

Abbas Ali

Chief Geek at Ranium Systems

Hein Traag

Never post debug unless asked to do so. And when i take a look at the source of your page it says
<!--Coppermine Photo Gallery 1.4.2 (stable)--> so you need to upgrade badly.

Nibbler

Remove this junk from the top of your page.


<script language="javascript" type="text/javascript">
<!--
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=yes,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);}
// -->
</script>


If you send output before the headers cookies will not work.

Coppermine does not require "register_long_arrays = On"

Daethian

I've upgraded and can log in again.
When I run version check is says all 256 files are missing but if that were the case my gallery would be broken right?


Nibbler I will try to locate what file that code is in and remove it.  Is that generated by something in particular?  I inherited this gallery but I have not done any customizations like that.


Thanks everyone :)
"How naked?
4th base naked."

Nibbler

Your gallery is in the web root so you need to tick that option in versioncheck. The code I posted is not a part of Coppermine, but something that has been added.

Daethian

Nibbler thanks, fixed the files.

I am looking at index.php, theme.php and template.html and can't find that code to remove.   ??? ???

I'll keep looking though...
"How naked?
4th base naked."

Daethian

I still can't find that code but my problem is solved by updating so I marked the thread solved.  The modification works now too.  Thanks!
"How naked?
4th base naked."