index.php saving index.php saving
 

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]

Main Menu

index.php saving

Started by masala, September 20, 2004, 12:12:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

masala

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


masala

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

Casper

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.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

masala

Tried that couple of time
no luck :(

Tranz

What are you using to upload the file? In what mode? It should be in ASCII (vs. binary)

masala

PHP are all in ascii
that's why other .php can be activated
only index.php not working

Casper

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.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

masala

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??!!!

Tarique Sani

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
SANIsoft PHP applications for E Biz

masala

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

>:(

Tarique Sani

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
SANIsoft PHP applications for E Biz

masala

I download from here
this is the index.php u asked for
it is uploaded as ascii and i can view the code

Tarique Sani

OK it is not your index.php - as it works fine on my local server.... beyond a complete reinstall I cannot suggest anything more - :(
SANIsoft PHP applications for E Biz

masala

:(

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

I try again to re install


kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

masala

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