Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Migrated to new server and now cannot login as admin  (Read 5546 times)

0 Members and 1 Guest are viewing this topic.

newyorker

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 19
    • rosario dawson DOT net
Migrated to new server and now cannot login as admin
« on: October 07, 2006, 07:42:16 pm »

Hi there,

First off thank you for taking the time to look into this. My host (powweb) has recently migrated my site to a new server, since then the gallery (http://rosario-dawson.net/gallery/) has not been working for anyone including myself as the admin. When users go in to login it says "warning your browser does not accept cookies" now I have attempted loging in from Firefox and IE here at home with my PC running on Windows XP, and Safari on a friend's Macbook running on OSX.

I did a search on the forum and attempted what the user several posts below and tried to change it so it's http://www.rosario-dawson.net instead of http://rosario-dawson.net and that did not work either. I also cleared my cookies as was suggested in other posts I read which did nothing as well.

Unfortunately this is a problem for all users who visit, and I'm not sure what to do to fix it as the administrator. I'd really appreciate any help anyone can give me.

Thank you
Joliz

 
« Last Edit: October 08, 2006, 07:32:46 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Migrated to new server and now cannot login as admin
« Reply #1 on: October 07, 2006, 09:41:23 pm »

You have whitespace at the start or end of some of your Coppermine php files. Go through any file you have modified, especially include/config.inc.php, init.inc.php, functions.inc.php and look for blank lines before the <?php at the start or after the ?> at the end.
Logged

newyorker

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 19
    • rosario dawson DOT net
Re: Migrated to new server and now cannot login as admin
« Reply #2 on: October 07, 2006, 10:37:18 pm »

You have whitespace at the start or end of some of your Coppermine php files. Go through any file you have modified, especially include/config.inc.php, init.inc.php, functions.inc.php and look for blank lines before the <?php at the start or after the ?> at the end.

Hi thank you for responding so quickly.

I did as you said and removed the whitespace from those files and I still have the same issue, did I miss something?
Logged

Nibbler

  • Guest
Re: Migrated to new server and now cannot login as admin
« Reply #3 on: October 07, 2006, 10:47:02 pm »

You still have 7 lines of whitespace. They appear to be in /include/config.inc.php
Logged

newyorker

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 19
    • rosario dawson DOT net
Re: Migrated to new server and now cannot login as admin
« Reply #4 on: October 07, 2006, 10:54:05 pm »

You still have 7 lines of whitespace. They appear to be in /include/config.inc.php

Thanks again,
I deleted all the whitespace I could see in notepad and it's still not letting me login. Is there a different way I can get rid of the space aside from deleting it?
Logged

Nibbler

  • Guest
Re: Migrated to new server and now cannot login as admin
« Reply #5 on: October 07, 2006, 11:00:38 pm »

Update your gallery. You should anyway, but the latest version can work around this problem for you.
Logged

newyorker

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 19
    • rosario dawson DOT net
Re: Migrated to new server and now cannot login as admin
« Reply #6 on: October 07, 2006, 11:47:03 pm »

Update your gallery. You should anyway, but the latest version can work around this problem for you.

Ok I upgraded the gallery, and I still can't login
Logged

Nibbler

  • Guest
Re: Migrated to new server and now cannot login as admin
« Reply #7 on: October 07, 2006, 11:54:00 pm »

You are still running 1.4.3. Review the update instructions and use versioncheck.php.
Logged

newyorker

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 19
    • rosario dawson DOT net
Re: Migrated to new server and now cannot login as admin
« Reply #8 on: October 08, 2006, 12:00:49 am »

You are still running 1.4.3. Review the update instructions and use versioncheck.php.

How can I be able to use versioncheck when I can't log in as admin or any other username? I followed the intructions from here: (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#14) to upgrade but without the ability to login to the gallery I don't know what else I can do
Logged

Nibbler

  • Guest
Re: Migrated to new server and now cannot login as admin
« Reply #9 on: October 08, 2006, 12:05:15 am »

Upload all the files. Ensure files in subfolders such as 'include' are replaced with new copies. include/init.inc.php is certainly old.
Logged

newyorker

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 19
    • rosario dawson DOT net
Re: Migrated to new server and now cannot login as admin
« Reply #10 on: October 08, 2006, 07:11:43 pm »

Upload all the files. Ensure files in subfolders such as 'include' are replaced with new copies. include/init.inc.php is certainly old.

I don't know how it happened but this morning I was able to login and realized the reason my upgrade isn't working. When I load files on my FTP it's not translating in the gallery. I attempted this by batchuploading pictures, and while I clearly see them go from my computer into the ftp, in the gallery batch add files they are no where to be found. Is this a glitch in my ftp or the formatting of the gallery?
Logged

Nibbler

  • Guest
Re: Migrated to new server and now cannot login as admin
« Reply #11 on: October 08, 2006, 07:18:27 pm »

If the files never reach Coppermine then it can't be a Coppermine issue. Make sure you are uploading to the correct directory and the correct server.
Logged

newyorker

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 19
    • rosario dawson DOT net
Re: Migrated to new server and now cannot login as admin
« Reply #12 on: October 08, 2006, 07:28:52 pm »

If the files never reach Coppermine then it can't be a Coppermine issue. Make sure you are uploading to the correct directory and the correct server.

I realized I never put in the new address for the new server the site was migrated to on the FTP. You've been real helpful, again thank you for taking the time to walk me through the issues.  ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 17 queries.