coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: masala on September 20, 2004, 12:12:39 PM

Title: index.php saving
Post by: masala on September 20, 2004, 12:12:39 PM
I having this problem
after installing and hitting the continue button to the inde.php
the file keep saving itself

can anyone please guide me where the error could be?

the home page is at http://www.masala4u.com

Title: Re: index.php saving
Post by: masala on September 20, 2004, 12:17:19 PM
only the index.php file giving the problem
but if u try other php file
it is working

here it is
http://www.masala4u.com/thumbnails.php?album=favpics
http://www.masala4u.com/search.php
Title: Re: index.php saving
Post by: Casper on September 20, 2004, 02:52:53 PM
It looks like your index.php is corrupt.  Try replacing it with a new copy.  Do a fresh download, in case it was corrupted before you uploaded it.
Title: Re: index.php saving
Post by: masala on September 21, 2004, 11:18:20 AM
Tried that couple of time
no luck :(
Title: Re: index.php saving
Post by: Tranz on September 21, 2004, 11:24:25 AM
What are you using to upload the file? In what mode? It should be in ASCII (vs. binary)
Title: Re: index.php saving
Post by: masala on September 21, 2004, 02:07:02 PM
PHP are all in ascii
that's why other .php can be activated
only index.php not working
Title: Re: index.php saving
Post by: Casper on September 21, 2004, 08:14:37 PM
Just in case this is due to some strange server set-up, try re-naming the file, to something like masala.php, and then browse to it.
Title: Re: index.php saving
Post by: masala on September 22, 2004, 02:33:01 PM
Casper, i tried that way and it does not works too
my other php scripts which can use ondex.php

so it is not the server environment

what could it be??!!!
Title: Re: index.php saving
Post by: Tarique Sani on September 22, 2004, 03:05:09 PM
Your index.php file *IS* corrupt

I am getting Binary junk when I access it !! first delete the file from your server - verify using browser that you are getting a 404 file not found. Then upload a freshly downloaded index.php - should work
Title: Re: index.php saving
Post by: masala on September 22, 2004, 03:25:11 PM
Have done that
just deleted
and it is not found
and than i download another .zip
and unzip it in another folder and tested it and the same thing happens

>:(
Title: Re: index.php saving
Post by: Tarique Sani on September 22, 2004, 03:28:40 PM
OK where did you download the zip from?
Just open the index.php and see if you see code or junk, if you can't do that then create a zip of just index.php and attach to this thread
Title: Re: index.php saving
Post by: masala on September 22, 2004, 03:40:02 PM
I download from here
this is the index.php u asked for
it is uploaded as ascii and i can view the code
Title: Re: index.php saving
Post by: Tarique Sani on September 22, 2004, 03:56:34 PM
OK it is not your index.php - as it works fine on my local server.... beyond a complete reinstall I cannot suggest anything more - :(
Title: Re: index.php saving
Post by: masala on September 22, 2004, 04:00:59 PM
:(

could it be anything to do with php.ini or any setting required?

I try again to re install

Title: Re: index.php saving
Post by: kegobeer on September 22, 2004, 06:00:30 PM
Post your server info (server os & version, php version, mysql version) and either a link to a simple phpinfo file or the output itself.

Try creating a simple php file like this:

<?php
echo 'Hello there.<br />';
$content 'Howdy';
echo 
'This is the stuff: ' $content '<br />';
?>


name it index.php and upload it (after renaming your original index.php file to something else, of course).

See if you get garbage displayed instead of normal text.
Title: Re: index.php saving
Post by: masala on October 06, 2004, 06:18:18 PM
Quote from: kegobeer on September 22, 2004, 06:00:30 PM
Post your server info (server os & version, php version, mysql version) and either a link to a simple phpinfo file or the output itself.

Try creating a simple php file like this:

<?php
echo 'Hello there.<br />';
$content 'Howdy';
echo 
'This is the stuff: ' $content '<br />';
?>


name it index.php and upload it (after renaming your original index.php file to something else, of course).

See if you get garbage displayed instead of normal text.

hothing is wrong with the php
i think there is something to do with openbase permission problem with compiling php

i working on php upgrade