blank index.php blank index.php
 

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

blank index.php

Started by zacepin, January 15, 2008, 01:09:29 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

zacepin

Hello masters !)

i had downloaded the latest version of coppermine and had a few succesfull tests at my localhost (denver) and my old hosting. Old hoster has php version 4.4.7 , denver - 4.4.4.

but my new hoster has php version 5.2.4 and after succesfull installation error log has such strings:

error log :

[Tue Jan 15 03:48:29 2008] [error] PHP Warning: fopen() expects at least 2
parameters,
1 given in /home/u79623/r8-club.ru/www/install.php on line 565
[Tue Jan 15 03:48:29 2008] [error] PHP Warning: fpassthru(): supplied argument
is not a valid stream resource in /home/u79623/r8-club.ru/www/install.php on
line 565
[Tue Jan 15 03:48:49 2008] [error] PHP Warning: fopen() expects at least 2
parameters,
1 given in /home/u79623/r8-club.ru/www/install.php on line 570
[Tue Jan 15 03:48:49 2008] [error] PHP Warning: fpassthru(): supplied argument
is not a valid stream resource in /home/u79623/r8-club.ru/www/install.php on
line 570
[Tue Jan 15 03:48:49 2008] [error] PHP Warning: fopen() expects at least 2
parameters,
1 given in /home/u79623/r8-club.ru/www/install.php on line 565
[Tue Jan 15 03:48:49 2008] [error] PHP Warning: fpassthru(): supplied argument
is not a valid stream resource in /home/u79623/r8-club.ru/www/install.php on
line 565


there is blank index.php , but i can enter admin panel (admin.php)

what goes wrong ?

www.r8-club.ru/gallery/


Thank you for your aanswers! )

Joachim Müller

If everything is OK, just ignore the log.

zacepin

if evrything was ok, i had no trouble )

but the gallery doesnt work. The hoster say that the error is in install.php file


Joachim Müller

Quote from: zacepin on January 15, 2008, 02:51:43 PM
but the gallery doesnt work.
What does "doesn't work" mean. Describe where your issues lie.

Quote from: zacepin on January 15, 2008, 02:51:43 PM
The hoster say that the error is in install.php file
Webhosters are not an authority when it comes to apllications like coppermine. Their staff are usually not coders, but Lunix admins.

Nibbler

The index page does not display when using the russian language. Some pages work and some don't which is strange.

zacepin

Quote from: Joachim Müller on January 15, 2008, 02:56:52 PM
What does "doesn't work" mean. Describe where your issues lie.
Webhosters are not an authority when it comes to apllications like coppermine. Their staff are usually not coders, but Lunix admins.

it means that index.php file is blank. some pages work, some doesnt work. i tried to switch to english but problem stay .

try to enter admin.php. it works, you can change preferences but index.php stay blank

zacepin

webhoster try Fopen function with test.php file and it works without any problem. this means that fopen string is bad in install.php

Joachim Müller

Stop refering to install.php. All that install.php does is populate the database. As you can access the site (at least sometimes), the database is populated properly.
install.php is no longer needed and should no longer concern you, even if your webhost thinks otherwise. He's wrong.

zacepin

ok. lets suppose that installation was ok. then what is wrong ?

need i to do something to repare the gallery? or i cant do that ? and just forget the problem and try onother gallery?

i.m sure that installation was proper and i had no mistake.

if u r interested i can give u password to ftp and to database and you can try it by yourself

Joachim Müller

Temporarily delete the russian language file to see if the issue goes away then. If Nibbler's observation is correct, then your russian language file is to blame.

zacepin

wOw )

U R RIGHT. HMM . it works , but i need russian language. !)


François Keller

see in the russian board if there is anothe russian langage file, or try to reupload a new one from the svn
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Joachim Müller

The Russian language file that came with cpg1.4.14 should be fine. Don't do anything hasty. I told you to temporarily remove the Russian language file to see if that file is the culprit for the issues you have. You haven't reported back that you did and wether it improved things on your end.
We'll find a solution, just please follow advice!
Do not start a similar discussion on the Russian sub-board yet!