Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: No one can log in after installing "Moderators for Upload" PHP5?  (Read 6556 times)

0 Members and 1 Guest are viewing this topic.

Daethian

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 27
  • I know just enough to be dangerous!
    • Foreverpurple
No one can log in after installing "Moderators for Upload" PHP5?
« on: December 24, 2008, 03:29:25 am »

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.
Logged
"How naked?
4th base naked."

Daethian

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 27
  • I know just enough to be dangerous!
    • Foreverpurple
Re: No one can log in after installing "Moderators for Upload" PHP5?
« Reply #1 on: December 24, 2008, 03:32:01 am »

Meh...it's still too long to post.
Logged
"How naked?
4th base naked."

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: No one can log in after installing "Moderators for Upload" PHP5?
« Reply #2 on: December 24, 2008, 10:25:59 am »

Try removing the mod and then see.
Logged
Chief Geek at Ranium Systems

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: No one can log in after installing "Moderators for Upload" PHP5?
« Reply #3 on: December 24, 2008, 10:53:06 am »

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.
Logged

Nibbler

  • Guest
Re: No one can log in after installing "Moderators for Upload" PHP5?
« Reply #4 on: December 24, 2008, 04:31:10 pm »

Remove this junk from the top of your page.

Code: [Select]
<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"
Logged

Daethian

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 27
  • I know just enough to be dangerous!
    • Foreverpurple
Re: No one can log in after installing "Moderators for Upload" PHP5?
« Reply #5 on: December 24, 2008, 07:21:08 pm »

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 :)
Logged
"How naked?
4th base naked."

Nibbler

  • Guest
Re: No one can log in after installing "Moderators for Upload" PHP5?
« Reply #6 on: December 24, 2008, 07:51:49 pm »

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.
Logged

Daethian

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 27
  • I know just enough to be dangerous!
    • Foreverpurple
Re: No one can log in after installing "Moderators for Upload" PHP5?
« Reply #7 on: December 24, 2008, 10:22:01 pm »

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...
Logged
"How naked?
4th base naked."

Daethian

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 27
  • I know just enough to be dangerous!
    • Foreverpurple
Re: No one can log in after installing "Moderators for Upload" PHP5?
« Reply #8 on: December 28, 2008, 03:43:02 am »

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!
Logged
"How naked?
4th base naked."
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.