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: There is fatal error with login.php  (Read 6513 times)

0 Members and 1 Guest are viewing this topic.

stylize

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
There is fatal error with login.php
« on: August 16, 2007, 05:57:24 am »

Hi there, i'm having trouble getting into my login.php. I can't even get into config.php. It gives me warnings and fatal errors.

Here is the url : http://st94.startlogic.com/~cgaesthe/coppermine/login.php

Can you guys please help me out? Thanks a lot  :)
« Last Edit: August 17, 2007, 02:15:46 am by Nibbler »
Logged

stylize

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: There is fatal error with login.php
« Reply #1 on: August 16, 2007, 06:01:10 am »

Hi there, i'm having trouble getting into my login.php. I can't even get into config.php. It gives me warnings and fatal errors.

Here is the url : http://st94.startlogic.com/~cgaesthe/coppermine/login.php

Can you guys please help me out? Thanks a lot  :)

btw it happen straight after i install it.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: There is fatal error with login.php
« Reply #2 on: August 16, 2007, 07:28:48 am »

In fact you get error messages on all pages, not only the login page. Here's the error message I got on your index page:
Quote
Warning: main(): open_basedir restriction in effect. File(../../../coppermine/include/include/debugger.inc.php) is not within the allowed path(s): (/home/cgaesthe/:/usr/lib/php:/usr/local/lib/php:/tmp:/var/tmp:/home/vdeck/tmp/:/usr/local/bin/mogrify:/usr/local/bin/convert:/usr/sbin/sendmail) in /home/cgaesthe/public_html/coppermine/include/init.inc.php on line 26

Warning: main(../../../coppermine/include/include/debugger.inc.php): failed to open stream: Operation not permitted in /home/cgaesthe/public_html/coppermine/include/init.inc.php on line 26

Fatal error: main(): Failed opening required '../../../coppermine/include/include/debugger.inc.php' (include_path='.:/usr/local/lib/php') in /home/cgaesthe/public_html/coppermine/include/init.inc.php on line 26
Logged

stylize

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: There is fatal error with login.php
« Reply #3 on: August 16, 2007, 08:07:24 am »

In fact you get error messages on all pages, not only the login page. Here's the error message I got on your index page:

yap you are right. I wonder do you guys get such error before. I did the installation according to its instructions. I'm noob to such database thingy, so I couldn't understand what it means. Can anyone help me translate? Thanks guys
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: There is fatal error with login.php
« Reply #4 on: August 16, 2007, 08:27:23 am »

Did you upload all files from the package? Did you make sure to preserve to folder structure when unzipping?
Logged

stylize

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: There is fatal error with login.php
« Reply #5 on: August 16, 2007, 08:45:33 am »

Did you upload all files from the package? Did you make sure to preserve to folder structure when unzipping?

yup i uploaded all the files from the package without rearranging the folder structure.
I also make sure those folders that needs permission were set.

Also using phpMyAdmin, i have also check that the installer had created those database which need for Coppermine.

hmm..
Logged

stylize

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: There is fatal error with login.php
« Reply #6 on: August 16, 2007, 09:08:38 am »

i realize that its calling debugger.inc.php from ../../../coppermine/include/include/
which it shouldn't be there... hmm.. does that mean the there is an error with login.php file itself?

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: There is fatal error with login.php
« Reply #7 on: August 16, 2007, 01:10:49 pm »

Why do you constantly refer to the login page? It is in no way different to any other coppermine page. The error ist the same on http://st94.startlogic.com/~cgaesthe/coppermine/ (the index file) as well.
Logged

stylize

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: There is fatal error with login.php
« Reply #8 on: August 16, 2007, 01:51:38 pm »

Why do you constantly refer to the login page? It is in no way different to any other coppermine page. The error ist the same on http://st94.startlogic.com/~cgaesthe/coppermine/ (the index file) as well.

yup i realize that too. i just using the login.php as an example. sorry for the misunderstanding. I need some help from you guys on how to make the coppermine gallery work. The 1st time i install coppermine in the server i was redirect to this login.php so i thought that is the 1st step to get the gallery to work. But unfortunately i got these error. Hope i can get help from here.
Thanks GauGau
Logged

Nibbler

  • Guest
Re: There is fatal error with login.php
« Reply #9 on: August 16, 2007, 02:57:02 pm »

Your code has been modified either by you, your host or your software. Upload a clean copy.
Logged

stylize

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: There is fatal error with login.php
« Reply #10 on: August 16, 2007, 04:25:46 pm »

Your code has been modified either by you, your host or your software. Upload a clean copy.

Hi Nibbler, erm.. i didn't modify the code.. i don't know how in the first place haha.. Just wondering will the host or software mod the code? btw i'm using dreamweaver to upload the files.

anyway i deleted the whole directory in my server and have a clean copy uploaded. Now it has a slightly different error.. this : http://st94.startlogic.com/~cgaesthe/coppermine/login.php

i also attached picture showing my web directory.


Thanks
Logged

Nibbler

  • Guest
Re: There is fatal error with login.php
« Reply #11 on: August 16, 2007, 04:57:44 pm »

Stop using dreamweaver.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: There is fatal error with login.php
« Reply #12 on: August 16, 2007, 07:50:58 pm »

Use a real FTP app. Dreamweaver is a WYSIWYG editor, but not a tool that is fit to edit Coppermine core files (unless you know your way around extremely well), nor is it a real FTP app, as it tends to "beautify" the code instead of just uploading it. Get a fresh package, unzip it and upload it using a real FTP app like FileZilla or SmartFTP, overwriting the files on your server.

Logged

stylize

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: There is fatal error with login.php
« Reply #13 on: August 17, 2007, 02:15:10 am »

Use a real FTP app. Dreamweaver is a WYSIWYG editor, but not a tool that is fit to edit Coppermine core files (unless you know your way around extremely well), nor is it a real FTP app, as it tends to "beautify" the code instead of just uploading it. Get a fresh package, unzip it and upload it using a real FTP app like FileZilla or SmartFTP, overwriting the files on your server.



Really thanks for the info and help. Finally it is working fine now.  ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.038 seconds with 15 queries.