"We are back" « oc.at

SQL Problem

Red 12.01.2003 - 11:17 655 5
Posts

Red

OC Addicted
Avatar
Registered: Jan 2002
Location: vienna
Posts: 2170
hi hab ein problem mit meinen server der spuckt folgendes aus:


Zitat
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in D:\user\team-lecter\html\includes\sql_layer.php on line 301

Warning: main() [function.main <http://www.php.net/function.main>]: open_basedir restriction in effect. File(c:\php\includes/language/lang-.php) is not within the allowed path(s): (d:\user\10011985) in D:\user\team-lecter\html\mainfile.php on line 75

Warning: main(language/lang-.php) [function.main <http://www.php.net/function.main>]: failed to create stream: Operation not permitted in D:\user\team-lecter\html\mainfile.php on line 75

Warning: main() [function.main <http://www.php.net/function.main>]: Failed opening 'language/lang-.php' for inclusion (include_path='.;c:\php\includes;d:\_home\cgi-bin') in D:\user\team-lecter\html\mainfile.php on line 75

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in D:\user\team-lecter\html\includes\sql_layer.php on line 301

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in D:\user\team-lecter\html\includes\sql_layer.php on line 301

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in D:\user\team-lecter\html\includes\sql_layer.php on line 357

Warning: head() [function.head <http://www.php.net/function.head>]: open_basedir restriction in effect. File(c:\php\includes/themes//theme.php) is not within the allowed path(s): (d:\user\10011985) in D:\user\team-lecter\html\header.php on line 31

Warning: head(themes//theme.php) [function.head <http://www.php.net/function.head>]: failed to create stream: Operation not permitted in D:\user\team-lecter\html\header.php on line 31

Warning: head() [function.head <http://www.php.net/function.head>]: Failed opening 'themes//theme.php' for inclusion (include_path='.;c:\php\includes;d:\_home\cgi-bin') in D:\user\team-lecter\html\header.php on line 31

Fatal error: Call to undefined function: themeheader() in D:\user\team-lecter\html\header.php on line 47

wer weiss was ich falsch gemacht hat und kann mir helfen
Ps.: Der server ist nicht von mir ich habs raufgeladen und ein sql.skript ablaufen lassen
offlin funzt es aber online net.

red

Philipp

Here to stay
Registered: Jul 2001
Location: Wien
Posts: 1970
Der Pfad bei deinen Script stimmt nicht. Er zeigt auf c:\php\ statt d:\user\10011985. Hast du ausserdem MySQL Username/Passwort in dem Script angepasst?

watchout

Legend
undead
Avatar
Registered: Nov 2000
Location: Off the grid.
Posts: 6845
also, prinzipiell isses gscheit, wenn du den source postest, hier kann ich dir gleich mal sagen:
mit den pfaden hats generell was, wie auch schon philipp gesagt hat, dazu kommt noch, dass du in den pfadangaben nen mix aus slashes (/) und backslashes (\) hast, da passt generell was net.

kurz gesagt: "pfuscher" :p

Guest

Deleted User
Registered: n/a
Location:
Posts: n/a
Source Posten ist garnicht gscheit :rolleyes:
Lernts debuggen!
mysql_error() nachm Query sollt z.b. hier helfen ;)

watchout

Legend
undead
Avatar
Registered: Nov 2000
Location: Off the grid.
Posts: 6845
Zitat von .deRElict.
Lernts debuggen!
mysql_error() nachm Query sollt z.b. hier helfen ;)
das sowieso, aber wenn er schon eine seite errors postet und was hören will, dann kann man noch am ehesten was sagen, wenn der source dabei is ;)

atrox

in fairy dust... I trust!
Avatar
Registered: Sep 2002
Location: HTTP/1.1 404
Posts: 2782
es sind sowieso nur der erste bzw vielleicht noch der zweite fehler wichtig - alles andere sind folgefehler.
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz