Page 1 of 3

What is wrong her?

PostPosted: 08. January 2009 15:11
by b1ng0
Do someone know what is wrong here? btw this is code for torrent site!
Here is pic: http://img233.imageshack.us/img233/5509/fffffnj7.jpg

Re: What is wrong her?

PostPosted: 08. January 2009 15:48
by glitzi85
Where is this file located on your Harddisk?
How exactly(!) did you open the file when getting this screen?

glitzi

Re: What is wrong her?

PostPosted: 08. January 2009 15:49
by dmphotography
It looks like it's possibly in German and you posted it in the English section? Did I win?

Re: What is wrong her?

PostPosted: 08. January 2009 15:52
by glitzi85
dmphotography wrote:It looks like it's possibly in German and you posted it in the English section? Did I win?

Even if it would like German (it's definetly not!), he posted in Englisch, so he's in the correct forum.

glitzi

Re: What is wrong her?

PostPosted: 08. January 2009 18:11
by Izzy
glitzi85 wrote:...he posted in Englisch...
That's a mistake, I believe you meant English.

Re: What is wrong her?

PostPosted: 08. January 2009 18:25
by glitzi85
Izzy wrote:
glitzi85 wrote:...he posted in Englisch...
That's a mistake, I believe you meant English.

For us Germans, English is Englisch 8)

Re: What is wrong her?

PostPosted: 08. January 2009 18:37
by Izzy
For us English, English is English. ;)

Even if it would like German (it's definetly not!), he posted in Englisch, so he's in the correct forum.
To help those who frequent this English forum I will translate the above post which has several mistakes.

"Even if it were like German (and it's definitely not!), he posted in English, so he's in the correct forum."

I have noticed in several of your post lately it has been hard to understand your translations from your native German into understandable English.

BTW it's Apache Friends in English not as you would have it Apache Friends in Englisch. ;)


@dmphotography
It would appear that the OP's language is Icelandic - sorry, you lose. :)

Re: What is wrong her?

PostPosted: 08. January 2009 21:23
by b1ng0
Do someone now what is wrong? btw i´m from iceland and big part of the code has bin translate to icelandic. NOT German.

Re: What is wrong her?

PostPosted: 08. January 2009 21:29
by Izzy
Is the code Perl?

Does the file you are trying to run from your browser have a .cgi or .pl extension?

Where is this file located in the xampp tree for example C:\xampp\htdocs\yourtorrentfiles\ ?

How are your accessing it in your browser for example if it is a perl script?
http://localhost/yourtorrentfiles/torrentscript.cgi (or .pl)

Re: What is wrong her?

PostPosted: 08. January 2009 21:34
by b1ng0
it is .php

Re: What is wrong her?

PostPosted: 08. January 2009 21:38
by Izzy
PHP, OK.

What address are you typing in your browser or are you double clicking on the file in the folder using Explorer?

Re: What is wrong her?

PostPosted: 08. January 2009 21:47
by b1ng0
file:///C:/Program Files/xampp/htdocs/index.php

Re: What is wrong her?

PostPosted: 08. January 2009 22:00
by Izzy
b1ng0 wrote:file:///C:/Program Files/xampp/htdocs/index.php

That will never work as you have to go through Apache so it can parse the php code.

Try http://localhost/index.php

Re: What is wrong her?

PostPosted: 08. January 2009 22:02
by b1ng0
then i get this:
Warning: fopen(/www/torrent.is/www/sqlerror.text) [function.fopen]: failed to open stream: No such file or directory in C:\Program Files\xampp\htdocs\include\global.php on line 239

Warning: fwrite(): supplied argument is not a valid stream resource in C:\Program Files\xampp\htdocs\include\global.php on line 242

Re: What is wrong her?

PostPosted: 08. January 2009 22:45
by b1ng0