There is fatal error with login.php There is fatal error with login.php
 

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

Main Menu

There is fatal error with login.php

Started by stylize, August 16, 2007, 05:57:24 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

stylize

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  :)

stylize

Quote from: stylize 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  :)

btw it happen straight after i install it.

Joachim Müller

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

stylize

Quote from: GauGau 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:

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

Joachim Müller

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

stylize

Quote from: GauGau 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?

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

stylize

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?


Joachim Müller

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.

stylize

Quote from: GauGau 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.

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

Nibbler

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

stylize

Quote from: Nibbler 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.

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

Nibbler


Joachim Müller

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.


stylize

Quote from: GauGau 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.



Really thanks for the info and help. Finally it is working fine now.  ;D