SQL Problem
Red 12.01.2003 - 11:17 655 5
Red
OC Addicted
|
hi hab ein problem mit meinen server der spuckt folgendes aus: 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
|
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
Legendundead
|
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"
|
Guest
Deleted User
|
Source Posten ist garnicht gscheit  Lernts debuggen! mysql_error() nachm Query sollt z.b. hier helfen
|
watchout
Legendundead
|
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!
|
es sind sowieso nur der erste bzw vielleicht noch der zweite fehler wichtig - alles andere sind folgefehler.
|