coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Tarique Sani on October 17, 2003, 11:23:47 AM

Title: index.php mishmash output
Post by: Tarique Sani on October 17, 2003, 11:23:47 AM
URL?
Language?

Something we can look at?
Title: index.php mishmash output
Post by: prso on October 17, 2003, 11:26:15 AM
url: http://coppermine.ensayo.net/index.php

language doesn't make any difference


Quote from: "tarique"URL?
Language?

Something we can look at?
Title: index.php mishmash output
Post by: Joachim Müller on October 17, 2003, 11:31:17 AM
hmmm, your index.php file seems to be messed - try re-uploading it from the package.

GauGau
Title: index.php mishmash output
Post by: prso on October 17, 2003, 11:34:30 AM
it did not help.
when i look into index.php source in filesystem it looks normal. same as admin.php, config.php or others and these files are working correctly

Quote from: "gaugau"hmmm, your index.php file seems to be messed - try re-uploading it from the package.

GauGau
Title: index.php mishmash output
Post by: Tarique Sani on October 17, 2003, 11:45:05 AM
This is indeed strange - looks like index.php is a binary file being output as text

Try deleting the file and then uploading it again - do you have any other index.php on your site - do they work properly
Title: index.php mishmash output
Post by: prso on October 17, 2003, 11:50:53 AM
as i said, i reloaded index.php and i did not help.
when i modify current index.php to say echo(""); it works.
yes i have another index.php files on my site.

could thise error be produced according to some configuration settings?


Quote from: "tarique"This is indeed strange - looks like index.php is a binary file being output as text

Try deleting the file and then uploading it again - do you have any other index.php on your site - do they work properly
Title: index.php mishmash output
Post by: prso on October 17, 2003, 11:56:58 AM
Ha!!! i made something:
i removed all from "The content of the main page" item in config and now it work, but now index.php do not contain any data except menu hrefs.
i removed: breadcrumb/catlist/alblist/random,2/lastup,2

it can be this error. what you've got in that item in config?

thanx

Quote from: "prso"as i said, i reloaded index.php and i did not help.
when i modify current index.php to say echo(""); it works.
yes i have another index.php files on my site.

could thise error be produced according to some configuration settings?


Quote from: "tarique"This is indeed strange - looks like index.php is a binary file being output as text

Try deleting the file and then uploading it again - do you have any other index.php on your site - do they work properly
Title: index.php mishmash output
Post by: prso on October 17, 2003, 12:14:36 PM
done. error is in index.php from last 1.2.0RC2 version.
when i downloaded version 1.1.0 it all works. thanx and sorry for disturbing

Quote from: "prso"Ha!!! i made something:
i removed all from "The content of the main page" item in config and now it work, but now index.php do not contain any data except menu hrefs.
i removed: breadcrumb/catlist/alblist/random,2/lastup,2

it can be this error. what you've got in that item in config?

thanx

Quote from: "prso"as i said, i reloaded index.php and i did not help.
when i modify current index.php to say echo(""); it works.
yes i have another index.php files on my site.

could thise error be produced according to some configuration settings?


Quote from: "tarique"This is indeed strange - looks like index.php is a binary file being output as text

Try deleting the file and then uploading it again - do you have any other index.php on your site - do they work properly
Title: index.php mishmash output
Post by: hyperion on October 17, 2003, 06:42:58 PM
Did you try this?

http://forum.coppermine-gallery.net/index.php?topic=570
Title: index.php mishmash output
Post by: moufie on November 10, 2003, 04:23:31 AM
so your using the index.php form 1.1 in the 1.2 version?
Title: index.php mishmash output
Post by: DJMaze on November 10, 2003, 05:49:44 AM
There's an ob_flush() missing or commented out in index.php

Same problem occured in version 1.2 for phpNuke.

Some browsers like Opera and IE 6 can't handle mishmash (ascii + binary) files.
Title: index.php mishmash output
Post by: DJMaze on November 10, 2003, 08:30:00 AM
Quote from: "DJMaze"There's an ob_flush() missing or commented out in index.php

Forget that and check if you use Apache 2.x as webserver.
Title: index.php mishmash output
Post by: DJMaze on November 10, 2003, 03:22:28 PM
All people upgrade to PHP 4.3.4 if you use Apache 2.
There are problems sending headers with it.

http://bugs.php.net/bug.php?id=25701
Title: index.php mishmash output
Post by: moufie on November 11, 2003, 02:38:44 AM
i've upgraded to 4.3.4 and everything is looking good. thanks for taking the time to help out. greatly appreciated.