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: index.php saving  (Read 12159 times)

0 Members and 1 Guest are viewing this topic.

masala

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
index.php saving
« 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

Logged

masala

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: index.php saving
« Reply #1 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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: index.php saving
« Reply #2 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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: index.php saving
« Reply #3 on: September 21, 2004, 11:18:20 am »

Tried that couple of time
no luck :(
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: index.php saving
« Reply #4 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)
Logged

masala

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: index.php saving
« Reply #5 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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: index.php saving
« Reply #6 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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: index.php saving
« Reply #7 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??!!!
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: index.php saving
« Reply #8 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
Logged
SANIsoft PHP applications for E Biz

masala

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: index.php saving
« Reply #9 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

 >:(
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: index.php saving
« Reply #10 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
Logged
SANIsoft PHP applications for E Biz

masala

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: index.php saving
« Reply #11 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
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: index.php saving
« Reply #12 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 - :(
Logged
SANIsoft PHP applications for E Biz

masala

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: index.php saving
« Reply #13 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

Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: index.php saving
« Reply #14 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:

Code: [Select]
<?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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: index.php saving
« Reply #15 on: October 06, 2004, 06:18:18 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:

Code: [Select]
<?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
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 15 queries.