Seite 1 von 1

Please help! - Helfen Sie bitte!

Verfasst: Mi 22.Jan, 2003 10:27
von Anonymous
Hello people...

Maybe I did something wrong, but everytime I try to d/l a file from the download mod, I only download a file called load.htm and inside it I get this error:

Warning: readfile(media//) [function.readfile]: failed to create stream: Permission denied in **(rootfile here)**\load.php on line 64

also, my tables are not updating the clicks or the credits to the users

My language is english, but I will try to change this text to german.

Thank you lots!
http://pcvillage.mine.nu

-----------------------
Hallo Leute...

Vielleicht tat ich etwas Unrecht, aber jedesmal versuche ich zu d/l eine Datei vom Download mod, ich lade nur eine Datei herunter nannte load.htm, und darin erhalte ich diesen Fehler:

Warning: readfile(media//) [function.readfile]: failed to create stream: Permission denied in **(rootfile here)**\load.php on line 64

auch aktualisieren meine Tische(Tabellen) nicht klickt oder die Kredite den Benutzern

Meine Sprache ist Engländer, aber ich werde versuchen, diesen zu Deutschen zu ändern.

Danken Sie Ihnen Menge!
http://pcvillage.mine.nu

Verfasst: Do 23.Jan, 2003 04:58
von Anonymous
come on some help would be nice, as you guys made this mod, you should know what this error means...


------

Überkommen Sie etwas Hilfe würde, als Sie nett sein Kerle machten diesen mod, Sie sollen wissen(kennen), was dieser Fehler bedeutet...

Verfasst: Do 23.Jan, 2003 09:04
von Anonymous
I don't need your help now, as I figured it out myself. Maybe you can help others with this information:

The Download Mod installed successfully; everything is smooth until someone downloads: they either get a blank screen or they download a file called load.htm generated by the mod. Upon opening the load.htm file, this error is in there:
Warning: readfile(media/) [function.readfile]: failed to create stream: Permission denied in **(your rootfile)**\load.php on line 64
This error usually happens when you are hosting on your own server.
If it happens when you are paying for hosting, contact your hosting company and give them this instructions if you cannot do them yourself.

To Fix This Error:

First, Create a file called phpinfo.php and inside it add this piece of code:

Code: Alles auswählen

<?php
phpinfo();
?>
this will generate the information of your PHP engine. You'll need it later.

Go to your root folder, and under WINDOWS folder, look for php.ini and open it with your notepad or wordpad or whatever text editor you use.

find the command register_globals and change the value from off to on and save your php.ini file.

restart php (or your computer if you are hosting from a home server, etc)

now, open http :// www . yourdomain . com / phpbb2 / phpinfo.php and check wether to see if the register_globals is on. if it's not, verify that you have changed the value on the php.ini wherever you put it when installing php. if it IS changed, restart your php (or computer) again. if it's still not edited when you check, you are editing the wrong php.ini

This is where you can find the php.ini:

Win95/98/ME: Under the Windows folder on your system root (example: c:/Windows/)

Windows NT: under the WINNT folder on your system root (example: C:/WINNT/)

Windows 2000/XP: Under the WINNT or WINNT40 (for servers) on your system root (example: C:/WINNT40/)

Linux: Root Folder for the OS.

Remeber: If you use Linux, you have to chmod777 the load.php file and the media/ folder. Secure your media/ folder with .htaccess (floating around here somewhere)

I hope this helps all of you that can't figure this one out.

Verfasst: Do 23.Jan, 2003 09:08
von Hotschi
Many Thanks! :)

Verfasst: So 09.Mär, 2003 23:16
von Anonymous
BIG Thx!
crap! everytime you have to look up in the old threads to get an answer ;)

so, Hotschi just ignore my other posting :mrgreen:


Thx and Greetz

THE_FreaK

Verfasst: Mo 13.Sep, 2004 09:44
von Anonymous
Turning register_globals=on doesn't help. When I click on download it still tries to download load.php. And it still contains the same info... :?

load.php-Download

Verfasst: Fr 17.Sep, 2004 14:00
von Anonymous
The fist sql-statment in load.php could'nt resolve the variable $id (incomming from the URL). Therefore is no file selecteted. Reason: After the include of the common.php the GET-Vars from the URL are destroyed and transformed as GLOBAL-Vars.

Trie this

# Find in load.php
#########################
include($phpbb_root_path . 'common.'.$phpEx);

# after this fill in:
########################-

//
$id = $_GET["id"];
//


Good luck
Achim