coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: stylize on August 16, 2007, 05:57:24 AM

Title: There is fatal error with login.php
Post by: 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  :)
Title: Re: There is fatal error with login.php
Post by: stylize on August 16, 2007, 06:01:10 AM
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.
Title: Re: There is fatal error with login.php
Post by: Joachim Müller 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
Title: Re: There is fatal error with login.php
Post by: stylize on August 16, 2007, 08:07:24 AM
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
Title: Re: There is fatal error with login.php
Post by: Joachim Müller 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?
Title: Re: There is fatal error with login.php
Post by: stylize on August 16, 2007, 08:45:33 AM
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..
Title: Re: There is fatal error with login.php
Post by: stylize 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?

Title: Re: There is fatal error with login.php
Post by: Joachim Müller 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.
Title: Re: There is fatal error with login.php
Post by: stylize on August 16, 2007, 01:51:38 PM
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
Title: Re: There is fatal error with login.php
Post by: 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.
Title: Re: There is fatal error with login.php
Post by: stylize on August 16, 2007, 04:25:46 PM
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
Title: Re: There is fatal error with login.php
Post by: Nibbler on August 16, 2007, 04:57:44 PM
Stop using dreamweaver.
Title: Re: There is fatal error with login.php
Post by: Joachim Müller 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.

Title: Re: There is fatal error with login.php
Post by: stylize on August 17, 2007, 02:15:10 AM
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