|
|
|
|
|
|
|
#1 (permalink) |
|
there's only one psycho
|
Hi
ich hab ein Script geschrieben welches einen Ordner mit 3 unterordnern erstellt. Jedoch macht er beim ersten Ordner nicht CHMOD auf 777 sondern auf 755. Folgende Fehler kommen (vielleicht auch anderer Grund, auf jeden Fall erstellt er die Unterordner nicht) Code:
Warning: OpenDir: No such file or directory (errno 2) in /var/www/web4/html/baracs.php on line 60 Warning: Supplied argument is not a valid Directory resource in /var/www/web4/html/baracs.php on line 63 Warning: Supplied argument is not a valid Directory resource in /var/www/web4/html/baracs.php on line 91 Warning: SAFE MODE Restriction in effect. The script whose uid is 652 is not allowed to access img/calella/Test2 owned by uid 33 in /var/www/web4/html/make_dir.php on line 30 Warning: SAFE MODE Restriction in effect. The script whose uid is 652 is not allowed to access img/calella/Test2 owned by uid 33 in /var/www/web4/html/make_dir.php on line 31 Warning: SAFE MODE Restriction in effect. The script whose uid is 652 is not allowed to access img/calella/Test2 owned by uid 33 in /var/www/web4/html/make_dir.php on line 32 hier die make_dir.php PHP-Code:
mfg psy |
|
|
|
|
|
|
PHP Code Flüsterer
Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten
|
|
|
|
#2 (permalink) |
|
Gast
Beiträge: n/a
|
Bitte in die erste Zeile des Scriptes schreiben:
error_reporting(E_ALL); Dann das Script aufrufen und alle Notice-Meldungen beseitigen. Wenn es dann noch nicht funktioniert, kannst du nochmal hier nachfragen, wenn du die Ausgabe des Formulars auch mal formatiert und somit lesbar gemacht hast. Gruß phpfan |
|
|
#3 (permalink) |
|
there's only one psycho
|
hmm also des problem ist in der make_dir beim erstellen der Ordner. Ich hätte vielleicht nicht den ganzen code auflisten sollen. Sry.
Also das wichtigste ist --> Code:
mkdir ("$dedir", 0777);
mkdir ("$dedir/original", 0777);
mkdir ("$dedir/preview", 0777);
mkdir ("$dedir/thumbs", 0777);
Fehler kommen die hier --> Code:
Warning: SAFE MODE Restriction in effect. The script whose uid is 652 is not allowed to access img/calella/kuba owned by uid 33 in /var/www/web4/html/make_dir.php on line 30 Warning: SAFE MODE Restriction in effect. The script whose uid is 652 is not allowed to access img/calella/kuba owned by uid 33 in /var/www/web4/html/make_dir.php on line 31 Warning: SAFE MODE Restriction in effect. The script whose uid is 652 is not allowed to access img/calella/kuba owned by uid 33 in /var/www/web4/html/make_dir.php on line 32 MFG Psy |
|
|
|
|
#4 (permalink) |
|
there's only one psycho
|
jetzt gehts, hab den Safe Mode ausgemacht.
Hab aber neues Problem. In den Ordnern, welche ich durch das Script erstellte, in die kann ich keine Dateien bzw Bilder via FTP reinladen. Fehler: Permission denied. Wisst ihr vielleicht warum?!
__________________
"Weaseling out of things is important to learn. It's what separates us from the animals ... except the weasel." (Homer J. Simpson) |
|
|
| Themen-Optionen | |
| Thema bewerten | |
|
|
Ähnliche Themen
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [Erledigt] script das html dateien aus einem bestimmten ordner listet | PHP Tipps 2004 | 16 | 09.05.2009 18:52 | |
| php script Fehler | andi | PHP Tipps 2008 | 17 | 30.07.2008 18:50 |
| Serverbeschränkung (Ordner beschränkung) | triopsi | Server, Hosting und Workstations | 2 | 29.04.2008 17:07 |
| TreeMenu | Fatal Error | PHP Tipps 2006 | 8 | 07.04.2006 11:22 |
| Ordner fehler? und Dateien zusammenfassen | PHP Tipps 2006 | 4 | 09.03.2006 10:42 | |
| Frage: Suche Fehler in diesem Script... | PHP Tipps 2005-2 | 14 | 25.10.2005 19:24 | |
| Fehler im Script | PHP Tipps 2005-2 | 5 | 07.07.2005 16:47 | |
| Login Script Fehler | b++ | PHP Tipps 2005-2 | 11 | 01.07.2005 02:47 |
| Bitte um Hilfe: Fehler im Script ?!? | PHP Tipps 2005 | 6 | 23.05.2005 21:46 | |
| Wo liegt der Fehler in meinem Script? | CSS | PHP Tipps 2005 | 8 | 05.03.2005 12:32 |
| Script macht fehler | PHP Tipps 2005 | 3 | 04.03.2005 09:14 | |
| Fehler in 3 Zeilen Script - woran liegts? | PHP Tipps 2005 | 11 | 08.02.2005 09:00 | |
| fehler im script | PHP Tipps 2004 | 1 | 27.07.2004 21:05 | |
| [Erledigt] Wo ist der Fehler im Script (MySQL mit PHP) | PHP Tipps 2004 | 15 | 27.07.2004 09:25 | |
| Fehler im Login Script | PHP Tipps 2004 | 3 | 06.07.2004 20:37 | |

Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.