IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Ubuntu Discussion :

importer mes données easy php sous xampp : access denied !


Sujet :

Ubuntu

  1. #1
    Membre confirmé Avatar de ben.IT
    Homme Profil pro
    Inscrit en
    Janvier 2009
    Messages
    431
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 36
    Localisation : France, Puy de Dôme (Auvergne)

    Informations forums :
    Inscription : Janvier 2009
    Messages : 431
    Points : 486
    Points
    486
    Par défaut importer mes données easy php sous xampp : access denied !
    Bonjour à tous,
    je travaillais mes projets php/mysql sous windows et je souhaite désormais effectuer cette opération sous Ubuntu. J'ai donc pour cela installer XAMPP en respectant la procédure d'installation : http://doc.ubuntu-fr.org/xampp

    Lorsque je copie mes fichiers windows pour les mettre ds le repertoire htdocs d'ubuntu, je rencontre l'erreur :acces denied.
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    Vous n'avez pas le droit d'accéder au répertoire demandé. Soit il n'y a pas de document index soit le répertoire est protégé.
    Si je copie le code de mes fichiers un par un et que je les renomme, cela fonctionne.
    Le problème est que j'ai de très nombreux fichiers php, comment puis je resoudre ce probleme ???
    merci d'avance...
    je précise que j'ai essayé ceci :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    sudo chown utilisateur:utilisateur htdocs/mon_site
    et
    chmod 700 mon_site

  2. #2
    Rédacteur/Modérateur
    Avatar de Winnt
    Homme Profil pro
    budget et contrôle de gestion
    Inscrit en
    Décembre 2006
    Messages
    1 978
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 56
    Localisation : France

    Informations professionnelles :
    Activité : budget et contrôle de gestion
    Secteur : Administration - Collectivité locale

    Informations forums :
    Inscription : Décembre 2006
    Messages : 1 978
    Points : 4 130
    Points
    4 130
    Par défaut
    Salut,

    Vérifie à qui appartient le répertoire htdocs.
    Il doit appartenir à l'utilisateur apache ou root surement.
    Donc copie tes fichiers avec sudo puis utilise chown pour changer le propiétaire des fichiers (à priori apache).
    Winnt
    Merci de lire les règles du forum LaTeX et Qu'est ce qu'un ECM ?.
    N'hésitez pas à parcourir la FAQ la réponse y est peut-être déjà.
    Pensez au bouton si votre problème est résolu.


    C'est en Linuxant qu'on devient .... geek
    Et c'est en LateXant qu'on devient flemmard
    Mon blog tout neuf.
    Articles : présentation de la distribution Gentoo, Les index sous LaTeX et leur personnalisation.

  3. #3
    Membre confirmé Avatar de ben.IT
    Homme Profil pro
    Inscrit en
    Janvier 2009
    Messages
    431
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 36
    Localisation : France, Puy de Dôme (Auvergne)

    Informations forums :
    Inscription : Janvier 2009
    Messages : 431
    Points : 486
    Points
    486
    Par défaut
    salut winnt,
    je suis bien le propriétaire du dossier htdocs ainsi que du répertoire contenant mon site web, j'avais effectuer le chown préconisé lors de la procédure d'installation...

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    drwx------  2 root    root     4096 2004-02-11 06:43 backup
    drwxr-xr-x  2 root    root    12288 2009-04-13 18:58 bin
    -rwxr-xr-x  1 root    root       63 2009-04-13 18:49 build.sh
    drwxr-xr-x  2 root    root     4096 2004-07-14 16:04 cgi-bin
    drwxr-xr-x  3 root    root     4096 2009-04-13 18:38 error
    drwxr-xr-x  9 root    root     4096 2009-04-13 18:56 etc
    drwxr-xr-x  8 MOI MOI  4096 2009-08-04 15:26 htdocs
    drwxr-xr-x  3 root    root     4096 2003-05-31 01:38 icons
    -rwxr-xr-x  1 root    root    15204 2009-04-10 10:36 lampp
    drwxr-xr-x 13 root    root     4096 2009-04-13 18:58 lib
    drwxr-xr-x  2 root    root     4096 2006-04-26 19:46 libexec
    drwxr-xr-x 37 root    root     4096 2006-03-14 17:06 licenses
    drwxr-xr-x  2 root    root     4096 2009-08-05 13:02 logs
    drwxr-xr-x  2 root    root     4096 2009-04-13 18:58 modules
    drwxr-xr-x 10 root    root     4096 2009-03-31 20:37 phpmyadmin
    drwxrwxrwx  2 root    root     4096 2007-07-15 18:20 phpsqliteadmin
    -rw-rw-r--  1 root    root    58711 2009-04-13 18:48 RELEASENOTES
    drwxr-xr-x  2 root    root     4096 2009-04-13 18:58 sbin
    drwxr-xr-x 16 root    root     4096 2009-04-10 10:35 share
    drwxr-xr-x  3 root    root     4096 2005-01-18 21:21 tmp
    drwxr-xr-x  5 root    root     4096 2009-08-05 13:02 var
    si quelq'un a une idée...
    merci d'avance.

  4. #4
    Membre confirmé Avatar de ben.IT
    Homme Profil pro
    Inscrit en
    Janvier 2009
    Messages
    431
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 36
    Localisation : France, Puy de Dôme (Auvergne)

    Informations forums :
    Inscription : Janvier 2009
    Messages : 431
    Points : 486
    Points
    486
    Par défaut
    Le problème n'est toujours pas résolu, voici ce que j'obtiens :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
     
    Fatal error: Unknown: Failed opening required '/opt/lampp/htdocs/MONSITE/index.php' (include_path='.:/opt/lampp/lib/php') in Unknown on line 0
    toute idée est la bienvenue...


    merci d'avance

  5. #5
    Rédacteur/Modérateur
    Avatar de Winnt
    Homme Profil pro
    budget et contrôle de gestion
    Inscrit en
    Décembre 2006
    Messages
    1 978
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 56
    Localisation : France

    Informations professionnelles :
    Activité : budget et contrôle de gestion
    Secteur : Administration - Collectivité locale

    Informations forums :
    Inscription : Décembre 2006
    Messages : 1 978
    Points : 4 130
    Points
    4 130
    Par défaut
    Salut,

    Peux tu faire un sur le 1er répertoire de l'arboresence.

    Exemple pour
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    /opt/lampp/htdocs/MONSITE/index.php
    Parce que tu est soit confronté à un problème de permission soit un problème de chemin.
    Winnt
    Merci de lire les règles du forum LaTeX et Qu'est ce qu'un ECM ?.
    N'hésitez pas à parcourir la FAQ la réponse y est peut-être déjà.
    Pensez au bouton si votre problème est résolu.


    C'est en Linuxant qu'on devient .... geek
    Et c'est en LateXant qu'on devient flemmard
    Mon blog tout neuf.
    Articles : présentation de la distribution Gentoo, Les index sous LaTeX et leur personnalisation.

  6. #6
    Membre confirmé Avatar de ben.IT
    Homme Profil pro
    Inscrit en
    Janvier 2009
    Messages
    431
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 36
    Localisation : France, Puy de Dôme (Auvergne)

    Informations forums :
    Inscription : Janvier 2009
    Messages : 431
    Points : 486
    Points
    486
    Par défaut
    bonsoir et merci de ta réponse.
    j'ai lancé la commande, j'obtiens dc la liste de tous les répertoires en récursif soit des centaines de lignes...
    qu'est ce que je suis sensé observé...

    merci d'avance

  7. #7
    Rédacteur/Modérateur
    Avatar de Winnt
    Homme Profil pro
    budget et contrôle de gestion
    Inscrit en
    Décembre 2006
    Messages
    1 978
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 56
    Localisation : France

    Informations professionnelles :
    Activité : budget et contrôle de gestion
    Secteur : Administration - Collectivité locale

    Informations forums :
    Inscription : Décembre 2006
    Messages : 1 978
    Points : 4 130
    Points
    4 130
    Par défaut
    Salut,

    Il me semble que le probléme vient de l'arborescence.

    car ce message
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
     
    Fatal error: Unknown: Failed opening required '/opt/lampp/htdocs/MONSITE/index.php' (include_path='.:/opt/lampp/lib/php') in Unknown on line 0
    semble indiquer que soit il ne trouve pas le fichier soit c'est un problème de permission/propriétaire.

    Tu affiche cela
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    drwx------  2 root    root     4096 2004-02-11 06:43 backup
    drwxr-xr-x  2 root    root    12288 2009-04-13 18:58 bin
    -rwxr-xr-x  1 root    root       63 2009-04-13 18:49 build.sh
    drwxr-xr-x  2 root    root     4096 2004-07-14 16:04 cgi-bin
    drwxr-xr-x  3 root    root     4096 2009-04-13 18:38 error
    drwxr-xr-x  9 root    root     4096 2009-04-13 18:56 etc
    drwxr-xr-x  8 MOI MOI  4096 2009-08-04 15:26 htdocs
    drwxr-xr-x  3 root    root     4096 2003-05-31 01:38 icons
    -rwxr-xr-x  1 root    root    15204 2009-04-10 10:36 lampp
    drwxr-xr-x 13 root    root     4096 2009-04-13 18:58 lib
    drwxr-xr-x  2 root    root     4096 2006-04-26 19:46 libexec
    drwxr-xr-x 37 root    root     4096 2006-03-14 17:06 licenses
    drwxr-xr-x  2 root    root     4096 2009-08-05 13:02 logs
    drwxr-xr-x  2 root    root     4096 2009-04-13 18:58 modules
    drwxr-xr-x 10 root    root     4096 2009-03-31 20:37 phpmyadmin
    drwxrwxrwx  2 root    root     4096 2007-07-15 18:20 phpsqliteadmin
    -rw-rw-r--  1 root    root    58711 2009-04-13 18:48 RELEASENOTES
    drwxr-xr-x  2 root    root     4096 2009-04-13 18:58 sbin
    drwxr-xr-x 16 root    root     4096 2009-04-10 10:35 share
    drwxr-xr-x  3 root    root     4096 2005-01-18 21:21 tmp
    drwxr-xr-x  5 root    root     4096 2009-08-05 13:02 var
    Mais sans précisions. A partir de quel répertoire ?

    Et pour que donne le au niveau des droits et propriétaires ?

    PS : désolé j'ai manqué de précision lors de mon précédent post.
    Winnt
    Merci de lire les règles du forum LaTeX et Qu'est ce qu'un ECM ?.
    N'hésitez pas à parcourir la FAQ la réponse y est peut-être déjà.
    Pensez au bouton si votre problème est résolu.


    C'est en Linuxant qu'on devient .... geek
    Et c'est en LateXant qu'on devient flemmard
    Mon blog tout neuf.
    Articles : présentation de la distribution Gentoo, Les index sous LaTeX et leur personnalisation.

  8. #8
    Membre confirmé Avatar de ben.IT
    Homme Profil pro
    Inscrit en
    Janvier 2009
    Messages
    431
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 36
    Localisation : France, Puy de Dôme (Auvergne)

    Informations forums :
    Inscription : Janvier 2009
    Messages : 431
    Points : 486
    Points
    486
    Par défaut
    Bonjour,
    j'ai effectué le ls -Ral sur le répertoire htdocs :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    MOI@MOI-laptop:/opt/lampp/htdocs$ ls -Ral
    .:
    total 72
    drwxr-xr-x 10 MOI MOI  4096 2009-08-06 12:29 .
    drwxr-xr-x 20 root    root     4096 2009-04-13 18:49 ..
    drwxr-xr-x  5 MOI MOI  4096 2009-08-06 23:34 centre
    drwxr-xr-x  5 MOI MOI  4096 2009-08-07 10:48 MONPROJET
    -rw-r--r--  1 MOI root    30894 2007-05-11 14:40 favicon.ico
    drwxr-xr-x  2 MOI MOI  4096 2009-08-04 15:24 image
    -rw-r--r--  1 MOI MOI     0 2009-08-04 15:18 nouveau fichier~
    drwxrwxrwx  5 MOI MOI  4096 2009-08-05 22:15 oldMONPROJET
    -rw-r--r--  1 MOI MOI     0 2009-08-04 15:22 styl_imagerie.css~
    drwxr-xr-x  2 MOI MOI  4096 2009-08-05 22:07 test
    drwxr-xr-x  2 MOI root     4096 2004-12-26 11:30 webalizer
    drwxr-xr-x  7 MOI root     4096 2008-10-02 15:27 xampp
    drwx------  2 MOI MOI  4096 2009-08-04 15:20 z
     
    ./centre:
    total 36
    drwxr-xr-x  5 MOI MOI 4096 2009-08-06 23:34 .
    drwxr-xr-x 10 MOI MOI 4096 2009-08-06 12:29 ..
    -rw-r--r--  1 MOI MOI  453 2009-08-06 23:34 connection.php
    -rw-r--r--  1 MOI MOI  453 2009-08-06 23:34 connection.php~
    drwxr-xr-x  2 MOI MOI 4096 2009-08-04 15:48 font
    drwxr-xr-x  2 MOI MOI 4096 2009-08-04 15:36 image
    -rw-r--r--  1 MOI MOI 3095 2009-08-06 12:08 index.php
    -rw-r--r--  1 MOI MOI 3177 2009-08-04 15:19 index.php~
    drwxr-xr-x  2 MOI MOI 4096 2009-08-04 15:23 style
     
    ./centre/font:
    total 84
    drwxr-xr-x 2 MOI MOI  4096 2009-08-04 15:48 .
    drwxr-xr-x 5 MOI MOI  4096 2009-08-06 23:34 ..
    -rwx------ 1 MOI MOI 69876 1999-10-15 09:55 FREESCPT.TTF
     
    ./centre/image:
    total 940
    drwxr-xr-x 2 MOI MOI   4096 2009-08-04 15:36 .
    drwxr-xr-x 5 MOI MOI   4096 2009-08-06 23:34 ..
    -rwx------ 1 MOI MOI 110256 2009-07-28 11:35 ban.png
    -rwx------ 1 MOI MOI  20367 2009-07-27 12:40 bg.png
    -rwx------ 1 MOI MOI  56431 2009-08-03 15:10 deg_bannn.png
    -rwx------ 1 MOI MOI  87308 2009-07-28 14:15 deg_bann.png
    -rwx------ 1 MOI MOI 108162 2009-07-28 12:00 deg_ban.png
    -rwx------ 1 MOI MOI  79150 2009-07-29 12:54 deg_ban_vierge.png
    -rwx------ 1 MOI MOI 301434 2009-07-28 11:59 deg_ban.xcf
    -rwx------ 1 MOI MOI  17500 2009-07-27 22:55 degcentrale.png
    -rwxrw---- 1 MOI MOI   2698 2009-07-28 12:22 deg_dd.png
    -rwx------ 1 MOI MOI   2399 2009-07-28 11:52 deg_d.png
    -rwx------ 1 MOI MOI  11212 2009-07-28 11:51 deg_d.xcf
    -rwx------ 1 MOI MOI   4680 2009-08-03 14:34 deg_ggg.png
    -rwx------ 1 MOI MOI   2416 2009-07-28 12:21 deg_gg.png
    -rwx------ 1 MOI MOI   2423 2009-07-28 11:51 deg_g.png
    -rwx------ 1 MOI MOI  11213 2009-07-28 11:51 deg_g.xcf
    -rwx------ 1 MOI MOI   1048 2009-07-28 12:25 deg_pied.png
    -rwx------ 1 MOI MOI   2699 2009-07-28 12:25 deg_pied.xcf
    -rwx------ 1 MOI MOI  13277 2009-07-28 13:49 medic.jpg
    -rwx------ 1 MOI MOI   2518 2009-07-28 13:42 pat2.gif
    -rwx------ 1 MOI MOI   8371 2009-07-28 13:40 pl07.gif
    -rwx------ 1 MOI MOI  43520 2009-08-03 15:11 Thumbs.db
     
    ./centre/style:
    total 20
    drwxr-xr-x 2 MOI MOI 4096 2009-08-04 15:23 .
    drwxr-xr-x 5 MOI MOI 4096 2009-08-06 23:34 ..
    -rw-r--r-- 1 MOI MOI 3275 2009-08-04 15:22 menu_deroulant.html
    -rw-r--r-- 1 MOI MOI 6706 2009-08-04 15:49 style_imagerie.css
     
    ./MONPROJET:
    total 56
    drwxr-xr-x  5 MOI MOI  4096 2009-08-07 10:48 .
    drwxr-xr-x 10 MOI MOI  4096 2009-08-06 12:29 ..
    drwxr-xr-x  2 MOI MOI  4096 2009-08-07 10:41 fonction
    drwxr-xr-x  4 MOI MOI  4096 2009-08-07 10:48 image
    -rw-r--r--  1 MOI MOI  5530 2009-08-07 10:48 index.php
    -rw-r--r--  1 MOI MOI  5503 2009-08-06 23:52 index.php~
    -rw-r--r--  1 MOI MOI 13901 2009-04-27 08:39 license.txt
    -rw-r--r--  1 MOI MOI  1269 2009-08-06 00:15 menu.html~
    drwxr-xr-x  2 MOI MOI  4096 2009-08-07 10:47 style
     
    ./MONPROJET/fonction:
    total 12
    drwxr-xr-x 2 MOI MOI 4096 2009-08-07 10:41 .
    drwxr-xr-x 5 MOI MOI 4096 2009-08-07 10:48 ..
    -rw-r--r-- 1 MOI MOI  435 2009-08-06 23:38 connection.php
     
    ./MONPROJET/image:
    total 16
    drwxr-xr-x 4 MOI MOI 4096 2009-08-07 10:48 .
    drwxr-xr-x 5 MOI MOI 4096 2009-08-07 10:48 ..
    drwxr-xr-x 2 MOI MOI 4096 2009-08-07 10:48 contenu
    drwxr-xr-x 2 MOI MOI 4096 2009-08-06 23:47 template
     
    ./MONPROJET/image/contenu:
    total 16
    drwxr-xr-x 2 MOI MOI 4096 2009-08-07 10:48 .
    drwxr-xr-x 4 MOI MOI 4096 2009-08-07 10:48 ..
    -rw-r--r-- 1 MOI MOI 7531 2009-08-06 11:07 imagerie.jpg
     
    ./MONPROJET/image/template:
    total 44
    drwxr-xr-x 2 MOI MOI  4096 2009-08-06 23:47 .
    drwxr-xr-x 4 MOI MOI  4096 2009-08-07 10:48 ..
    -rw-r--r-- 1 MOI MOI  1287 2009-04-27 21:32 img01.jpg
    -rw-r--r-- 1 MOI MOI 14364 2009-04-28 11:55 img02.jpg
    -rw-r--r-- 1 MOI MOI   319 2009-04-28 12:01 img03.jpg
    -rw-r--r-- 1 MOI MOI   420 2009-04-28 21:45 img04.jpg
    -rw-r--r-- 1 MOI MOI  2804 2009-04-28 22:12 img05.jpg
    -rw-r--r-- 1 MOI MOI    43 2009-04-27 08:39 spacer.gif
     
    ./MONPROJET/style:
    total 36
    drwxr-xr-x 2 MOI MOI 4096 2009-08-07 10:47 .
    drwxr-xr-x 5 MOI MOI 4096 2009-08-07 10:48 ..
    -rw-r--r-- 1 MOI MOI  175 2009-08-06 11:36 footer.php
    -rw-r--r-- 1 MOI MOI 2608 2009-08-06 10:59 menu.html
    -rw-r--r-- 1 MOI MOI 3621 2009-08-07 11:53 sidebar.php
    -rw-r--r-- 1 MOI MOI 7936 2009-08-07 10:47 style.css
    -rw-r--r-- 1 MOI MOI 7924 2009-08-06 23:48 style.css~
     
    ./image:
    total 940
    drwxr-xr-x  2 MOI MOI   4096 2009-08-04 15:24 .
    drwxr-xr-x 10 MOI MOI   4096 2009-08-06 12:29 ..
    -rwx------  1 MOI MOI 110256 2009-07-28 11:35 ban.png
    -rwx------  1 MOI MOI  20367 2009-07-27 12:40 bg.png
    -rwx------  1 MOI MOI  56431 2009-08-03 15:10 deg_bannn.png
    -rwx------  1 MOI MOI  87308 2009-07-28 14:15 deg_bann.png
    -rwx------  1 MOI MOI 108162 2009-07-28 12:00 deg_ban.png
    -rwx------  1 MOI MOI  79150 2009-07-29 12:54 deg_ban_vierge.png
    -rwx------  1 MOI MOI 301434 2009-07-28 11:59 deg_ban.xcf
    -rwx------  1 MOI MOI  17500 2009-07-27 22:55 degcentrale.png
    -rwx------  1 MOI MOI   2698 2009-07-28 12:22 deg_dd.png
    -rwx------  1 MOI MOI   2399 2009-07-28 11:52 deg_d.png
    -rwx------  1 MOI MOI  11212 2009-07-28 11:51 deg_d.xcf
    -rwx------  1 MOI MOI   4680 2009-08-03 14:34 deg_ggg.png
    -rwx------  1 MOI MOI   2416 2009-07-28 12:21 deg_gg.png
    -rwx------  1 MOI MOI   2423 2009-07-28 11:51 deg_g.png
    -rwx------  1 MOI MOI  11213 2009-07-28 11:51 deg_g.xcf
    -rwx------  1 MOI MOI   1048 2009-07-28 12:25 deg_pied.png
    -rwx------  1 MOI MOI   2699 2009-07-28 12:25 deg_pied.xcf
    -rwx------  1 MOI MOI  13277 2009-07-28 13:49 medic.jpg
    -rwx------  1 MOI MOI   2518 2009-07-28 13:42 pat2.gif
    -rwx------  1 MOI MOI   8371 2009-07-28 13:40 pl07.gif
    -rwx------  1 MOI MOI  43520 2009-08-03 15:11 Thumbs.db
     
    ./oldMONPROJET:
    total 40
    drwxrwxrwx  5 MOI MOI 4096 2009-08-05 22:15 .
    drwxr-xr-x 10 MOI MOI 4096 2009-08-06 12:29 ..
    -rwx------  1 MOI MOI  452 2009-07-30 10:57 connection.php
    -rwx------  1 MOI MOI 2223 2009-07-28 11:07 divcss.css
    drwxrwxrwx  2 MOI MOI 4096 2009-08-05 22:15 font
    drwxrwxrwx  2 MOI MOI 4096 2009-08-05 22:15 image
    -rwx------  1 MOI MOI 3173 2009-08-03 22:59 index.php
    drwxrwxrwx  2 MOI MOI 4096 2009-08-05 22:15 style
    -rwx------  1 MOI MOI 4221 2009-07-27 19:36 stylebioinfo.css
     
    ./oldMONPROJET/font:
    total 84
    drwxrwxrwx 2 MOI MOI  4096 2009-08-05 22:15 .
    drwxrwxrwx 5 MOI MOI  4096 2009-08-05 22:15 ..
    -rwx------ 1 MOI MOI 69876 1999-10-15 09:55 FREESCPT.TTF
     
    ./oldMONPROJET/image:
    total 940
    drwxrwxrwx 2 MOI MOI   4096 2009-08-05 22:15 .
    drwxrwxrwx 5 MOI MOI   4096 2009-08-05 22:15 ..
    -rwx------ 1 MOI MOI 110256 2009-07-28 11:35 ban.png
    -rwx------ 1 MOI MOI  20367 2009-07-27 12:40 bg.png
    -rwx------ 1 MOI MOI  56431 2009-08-03 15:10 deg_bannn.png
    -rwx------ 1 MOI MOI  87308 2009-07-28 14:15 deg_bann.png
    -rwx------ 1 MOI MOI 108162 2009-07-28 12:00 deg_ban.png
    -rwx------ 1 MOI MOI  79150 2009-07-29 12:54 deg_ban_vierge.png
    -rwx------ 1 MOI MOI 301434 2009-07-28 11:59 deg_ban.xcf
    -rwx------ 1 MOI MOI  17500 2009-07-27 22:55 degcentrale.png
    -rwx------ 1 MOI MOI   2698 2009-07-28 12:22 deg_dd.png
    -rwx------ 1 MOI MOI   2399 2009-07-28 11:52 deg_d.png
    -rwx------ 1 MOI MOI  11212 2009-07-28 11:51 deg_d.xcf
    -rwx------ 1 MOI MOI   4680 2009-08-03 14:34 deg_ggg.png
    -rwx------ 1 MOI MOI   2416 2009-07-28 12:21 deg_gg.png
    -rwx------ 1 MOI MOI   2423 2009-07-28 11:51 deg_g.png
    -rwx------ 1 MOI MOI  11213 2009-07-28 11:51 deg_g.xcf
    -rwx------ 1 MOI MOI   1048 2009-07-28 12:25 deg_pied.png
    -rwx------ 1 MOI MOI   2699 2009-07-28 12:25 deg_pied.xcf
    -rwx------ 1 MOI MOI  13277 2009-07-28 13:49 medic.jpg
    -rwx------ 1 MOI MOI   2518 2009-07-28 13:42 pat2.gif
    -rwx------ 1 MOI MOI   8371 2009-07-28 13:40 pl07.gif
    -rwx------ 1 MOI MOI  43520 2009-08-03 15:11 Thumbs.db
     
    ./oldMONPROJET/style:
    total 24
    drwxrwxrwx 2 MOI MOI 4096 2009-08-05 22:15 .
    drwxrwxrwx 5 MOI MOI 4096 2009-08-05 22:15 ..
    -rwx------ 1 MOI MOI 3388 2009-08-03 22:07 menu_deroulant.html
    -rwx------ 1 MOI MOI  374 2009-08-03 15:30 menu.html
    -rwx------ 1 MOI MOI 6563 2009-08-04 12:44 style_imagerie.css
     
    ./test:
    total 12
    drwxr-xr-x  2 MOI MOI 4096 2009-08-05 22:07 .
    drwxr-xr-x 10 MOI MOI 4096 2009-08-06 12:29 ..
    -rw-r--r--  1 MOI MOI   39 2009-08-05 22:09 test.php
     
    ./webalizer:
    total 8
    drwxr-xr-x  2 MOI root    4096 2004-12-26 11:30 .
    drwxr-xr-x 10 MOI MOI 4096 2009-08-06 12:29 ..
     
    ./xampp:
    total 284
    drwxr-xr-x  7 MOI root     4096 2008-10-02 15:27 .
    drwxr-xr-x 10 MOI MOI  4096 2009-08-06 12:29 ..
    -rw-r--r--  1 root    root    15254 2002-10-26 13:35 AnkeCalligraph.fdb
    -rw-r--r--  1 root    root    42512 2002-05-21 21:48 AnkeCalligraph.TTF
    -rw-r--r--  1 root    root     6408 2005-11-11 15:45 biorhythm.php
    -rw-r--r--  1 root    root     4639 2005-08-30 19:13 cds-fpdf.php
    -rw-r--r--  1 root    root     4473 2008-10-02 15:00 cds.php
    -rwxr-xr-x  1 root    root       60 2002-10-16 00:16 cgi.cgi
    -rw-rw-r--  1 root    root       65 2004-12-30 12:45 charset.php
    -rwxr-xr-x  1 root    root      435 2005-01-04 12:15 components.php
    drwxrwxr-x  2 root    root     4096 2009-03-12 18:04 contrib
    -rw-rw-rw-  1 root    root      255 2005-05-23 11:55 guestbook.dat
    -rwxr-xr-x  1 root    root     2818 2008-01-23 16:11 guestbook-de.pl
    -rwxr-xr-x  1 root    root     2770 2005-05-23 11:59 guestbook-en.pl
    -rwxr-xr-x  1 root    root     2826 2005-05-23 11:59 guestbook-es.pl
    -rwxr-xr-x  1 root    root     2770 2005-05-23 11:59 guestbook-fr.pl
    -rwxr-xr-x  1 root    root     2770 2005-05-23 11:59 guestbook-it.pl
    -rwxr-xr-x  1 root    root     2796 2005-05-23 11:59 guestbook-nl.pl
    -rwxr-xr-x  1 root    root     2770 2005-05-23 11:59 guestbook-no.pl
    -rwxr-xr-x  1 root    root     2770 2005-05-23 11:59 guestbook-pl.pl
    -rwxr-xr-x  1 root    root     2770 2005-12-18 12:31 guestbook-pt_br.pl
    -rwxr-xr-x  1 root    root     2770 2005-05-23 11:59 guestbook-zh.pl
    -rwxr-xr-x  1 root    root     1077 2006-11-26 11:53 head.php
    -rw-r--r--  1 root    root     3004 2006-11-10 17:57 iart.php
    drwxr-xr-x  2 root    root     4096 2006-11-26 11:50 img
    -rwxr-xr-x  1 root    root      821 2006-11-10 10:03 index.php
    drwxrwxr-x  2 root    root     4096 2007-09-01 10:20 lang
    -rw-rw-r--  1 root    root      129 2005-06-06 15:45 lang.php
    -rw-rw-r--  1 root    root      314 2006-11-10 09:29 langsettings.php
    -rw-------  1 nobody  root        2 2009-08-04 13:03 lang.tmp
    -rw-r--r--  1 root    root      377 2005-01-04 12:15 manuals.php
    -rw-r--r--  1 root    root     1071 2005-11-11 17:32 ming.php
    -rw-r--r--  1 root    root     2231 2005-11-11 17:32 mingswf.php
    -rw-r--r--  1 root    root       84 2002-10-16 00:16 mysql.php
    -rw-r--r--  1 root    root     2986 2008-01-23 16:44 navi.php
    -rwxr-xr-x  1 root    root       72 2002-10-16 02:23 perl.pl
    -rw-rw-r--  1 root    root     3884 2008-10-02 15:24 phonebook.php
    -rw-rw-r--  1 root    root       18 2003-02-08 15:40 phpinfo.php
    -rw-r--r--  1 root    root       31 2002-10-16 00:15 php.php
    -rw-r--r--  1 root    root     2950 2005-01-04 09:52 security.php
    -rw-rw-r--  1 root    root      443 2003-11-25 18:17 showcode.php
    -rw-rw-r--  1 root    root     1669 2005-09-21 08:31 softwarelist.inc
    -rw-rw-r--  1 root    root      330 2003-11-01 18:04 splash-logo.php
    -rw-rw-r--  1 root    root      988 2006-11-26 11:51 splash.php
    -rw-rw-r--  1 root    root      598 2005-03-09 15:07 splash-swf.php
    drwxr-xr-x  2 nobody  root     4096 2007-05-15 08:37 sqlite
    -rw-r--r--  1 root    root        3 2002-10-16 00:17 ssi.inc
    -rw-r--r--  1 root    root       85 2002-10-16 00:26 ssi.shtml
    -rwxr-xr-x  1 root    root      470 2005-01-04 09:36 start.php
    -rw-r--r--  1 root    root     3094 2005-01-18 21:24 status.php
    drwxrwxr-x  3 root    root     4096 2008-03-05 08:27 test
    -rw-rw-r--  1 root    root       30 2006-01-27 14:17 test.php
    lrwxrwxrwx  1 root    root       22 2009-08-04 13:01 .version -> /opt/lampp/lib/VERSION
    -rw-rw-r--  1 root    root      261 2003-10-31 22:21 webalizer.php
    -rw-r--r--  1 root    root     3991 2006-11-26 11:54 xampp.css
    -rw-r--r--  1 root    root      463 2003-10-25 01:12 xampp.js
     
    ./xampp/contrib:
    total 124
    drwxrwxr-x 2 root    root  4096 2009-03-12 18:04 .
    drwxr-xr-x 7 MOI root  4096 2008-10-02 15:27 ..
    -rw-r--r-- 1 root    root 40193 2005-09-05 17:26 BabelSans-B.fdb
    -rw-rw-r-- 1 root    root   366 2005-09-03 23:33 cds.xml
    -rw-rw-r-- 1 root    root   964 2005-09-04 13:46 dom.php
    -rw-rw-r-- 1 root    root   718 2006-03-21 23:07 interbase.php
    -rwxr-xr-x 1 root    root   974 2006-04-09 16:13 interbase.pl
    -rw-r--r-- 1 root    root   674 2005-09-05 21:15 mingstats.html
    -rw-rw-r-- 1 root    root  2799 2005-09-05 18:24 mingstats_swf.php
    -rw-rw-r-- 1 root    root   613 2006-04-09 15:54 mysql.php
    -rwxrwxr-x 1 root    root   928 2008-12-02 11:14 mysql.pl
    -rw-rw-r-- 1 root    root   873 2006-03-21 14:10 oracle.php
    -rwxrwxr-x 1 root    root   918 2006-04-09 16:13 oracle.pl
    -rw-rw-r-- 1 root    root   961 2006-03-21 10:10 postgresql.php
    -rwxrwxr-x 1 root    root   944 2006-04-09 16:13 postgresql.pl
    -rw-rw-r-- 1 root    root   973 2005-09-04 12:07 sax.php
    -rw-rw-r-- 1 root    root   648 2005-09-04 15:27 soap.php
    -rw-rw-r-- 1 root    root   202 2005-09-01 17:29 sql2xml.php
    -rw-rw-r-- 1 root    root   708 2006-03-23 21:10 sqlite.php
    -rwxrwxr-x 1 root    root   920 2006-04-09 16:13 sqlite.pl
    -rwxr-xr-x 1 root    root   444 2005-01-25 13:24 testperldbi.pl
    -rw-rw-r-- 1 root    root   541 2005-09-04 14:37 xmlrss.php
     
    ./xampp/img:
    total 204
    drwxr-xr-x 2 root    root  4096 2006-11-26 11:50 .
    drwxr-xr-x 7 MOI root  4096 2008-10-02 15:27 ..
    -rw-r--r-- 1 root    root   979 2003-10-12 17:55 apachefriends.gif
    -rw-r--r-- 1 root    root    43 2002-05-20 01:20 blank.gif
    -rw-r--r-- 1 root    root   791 2003-10-12 18:33 head-for.gif
    -rw-r--r-- 1 root    root   776 2003-10-12 18:33 head-fuer.gif
    -rw-r--r-- 1 root    root  1002 2003-10-12 18:36 head-linux.gif
    -rw-r--r-- 1 root    root  1314 2003-10-12 18:36 head-solaris.gif
    -rw-r--r-- 1 root    root  1362 2003-11-07 00:43 head-windows.gif
    -rw-r--r-- 1 root    root  1404 2003-10-12 17:56 head-xampp.gif
    -rw-r--r-- 1 root    root    66 2003-10-26 20:28 lb.gif
    -rw-r--r-- 1 root    root  1334 2003-10-12 18:18 logo-big.gif
    -rw-r--r-- 1 root    root   509 2003-10-16 00:43 logo-small.gif
    -rw-r--r-- 1 root    root  3616 2003-10-16 00:07 logo-small.jpg
    -rw-r--r-- 1 root    root    66 2003-10-26 20:17 lt.gif
    -rw-r--r-- 1 root    root 72046 2003-10-24 21:57 new.png
    -rw-r--r-- 1 root    root    80 2003-10-26 20:28 rb.gif
    -rw-r--r-- 1 root    root    66 2003-10-26 20:23 rt.gif
    -rw-r--r-- 1 root    root  2006 2003-10-12 18:34 signature-kay.gif
    -rw-r--r-- 1 root    root  1919 2003-10-12 18:34 signature-oswald.gif
    -rw-r--r-- 1 root    root  2410 2003-10-14 23:51 status1.gif
    -rw-r--r-- 1 root    root  2394 2003-10-14 23:51 status2.gif
    -rw-r--r-- 1 root    root  2366 2003-10-14 23:52 status3.gif
    -rw-r--r-- 1 root    root  2354 2003-10-14 23:52 status4.gif
    -rw-r--r-- 1 root    root  2228 2003-10-14 23:53 status5.gif
    -rw-r--r-- 1 root    root    61 2003-10-24 23:04 strichel.gif
    -rwxr--r-- 1 root    root 19738 2006-10-09 16:31 xampp-logo.jpg
    -rw-rw-r-- 1 root    root  4878 2005-11-27 20:32 xampp-logo-new.gif
     
    ./xampp/lang:
    total 200
    drwxrwxr-x 2 root    root  4096 2007-09-01 10:20 .
    drwxr-xr-x 7 MOI root  4096 2008-10-02 15:27 ..
    -rw-r--r-- 1 root    root 12897 2007-05-09 16:38 de.php
    -rw-r--r-- 1 root    root 11374 2006-10-09 16:14 en.php
    -rw-r--r-- 1 root    root 11742 2006-10-09 16:16 es.php
    -rw-r--r-- 1 root    root 17601 2006-10-09 16:16 fr.php
    -rw-r--r-- 1 root    root 11229 2006-10-09 16:16 it.php
    -rw-r--r-- 1 root    root 11614 2006-10-09 16:17 jp.php
    -rw-rw-r-- 1 root    root   382 2006-11-26 11:52 languages.php
    -rw-r--r-- 1 root    root 11672 2006-10-09 16:17 nl.php
    -rw-r--r-- 1 root    root 24823 2006-10-09 16:17 no.php
    -rw-r--r-- 1 root    root 21378 2006-10-09 16:17 pl.php
    -rw-r--r-- 1 root    root 12308 2007-05-09 16:38 pt_br.php
    -rw-r--r-- 1 root    root 21298 2006-10-09 16:17 zh.php
     
    ./xampp/sqlite:
    total 20
    drwxr-xr-x 2 nobody  root 4096 2007-05-15 08:37 .
    drwxr-xr-x 7 MOI root 4096 2008-10-02 15:27 ..
    -rw-r--r-- 1 nobody  root 4096 2006-03-23 21:09 cdcol
    -rw-r--r-- 1 nobody  root  118 2007-05-15 08:37 .htaccess
    -rw-r--r-- 1 nobody  root 3072 2005-04-01 11:18 phonebook.sqlite
     
    ./xampp/test:
    total 48
    drwxrwxr-x 3 root    root  4096 2008-03-05 08:27 .
    drwxr-xr-x 7 MOI root  4096 2008-10-02 15:27 ..
    drwxr-xr-x 2 root    root  4096 2008-03-05 08:27 xampp_ming
    -rw-r--r-- 1 root    root  9794 2008-03-05 08:27 xampp_ming.zip
    -rw-r--r-- 1 root    root 20802 2008-03-05 08:27 xampp_win.png
     
    ./xampp/test/xampp_ming:
    total 28
    drwxr-xr-x 2 root root 4096 2008-03-05 08:27 .
    drwxrwxr-x 3 root root 4096 2008-03-05 08:27 ..
    -rw-r--r-- 1 root root  692 2008-03-05 08:27 bitmaps.php
    -rw-r--r-- 1 root root  883 2008-03-05 08:27 gif.gif
    -rw-r--r-- 1 root root 6043 2008-03-05 08:27 jpg.jpg
    -rw-r--r-- 1 root root 2124 2008-03-05 08:27 png.png
     
    ./z:
    total 24
    drwx------  2 MOI MOI 4096 2009-08-04 15:20 .
    drwxr-xr-x 10 MOI MOI 4096 2009-08-06 12:29 ..
    -rwx------  1 MOI MOI 3388 2009-08-03 22:07 menu_deroulant.html
    -rwx------  1 MOI MOI  374 2009-08-03 15:30 menu.html
    -rwx------  1 MOI MOI 6563 2009-08-04 12:44 style_imagerie.css
    merci d'avance

  9. #9
    Rédacteur/Modérateur
    Avatar de Winnt
    Homme Profil pro
    budget et contrôle de gestion
    Inscrit en
    Décembre 2006
    Messages
    1 978
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 56
    Localisation : France

    Informations professionnelles :
    Activité : budget et contrôle de gestion
    Secteur : Administration - Collectivité locale

    Informations forums :
    Inscription : Décembre 2006
    Messages : 1 978
    Points : 4 130
    Points
    4 130
    Par défaut
    Salut,

    Tu as ceci comme message
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    Fatal error: Unknown: Failed opening required '/opt/lampp/htdocs/MONSITE/index.php' (include_path='.:/opt/lampp/lib/php') in Unknown on line 0
    Mais ceci comme arborescence
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    drwxr-xr-x  5 MOI MOI  4096 2009-08-07 10:48 MONPROJET
    Je pense que tu n'as pas la même arborescence sous windows et linux.
    Dans ton script remplace MONSITE par MONPROJET et relance.
    puis donne le résultat.
    Winnt
    Merci de lire les règles du forum LaTeX et Qu'est ce qu'un ECM ?.
    N'hésitez pas à parcourir la FAQ la réponse y est peut-être déjà.
    Pensez au bouton si votre problème est résolu.


    C'est en Linuxant qu'on devient .... geek
    Et c'est en LateXant qu'on devient flemmard
    Mon blog tout neuf.
    Articles : présentation de la distribution Gentoo, Les index sous LaTeX et leur personnalisation.

  10. #10
    Membre confirmé Avatar de ben.IT
    Homme Profil pro
    Inscrit en
    Janvier 2009
    Messages
    431
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 36
    Localisation : France, Puy de Dôme (Auvergne)

    Informations forums :
    Inscription : Janvier 2009
    Messages : 431
    Points : 486
    Points
    486
    Par défaut
    le problème ne vient pas de là, c'est moi qui est remplacé le nom du projet par monprojet avant de poster sur ce forum ...

    Ce que je ne comprends pas c'est pourquoi, les fichiers que je crée dans ce dossier sont interprétés lors que ce que j'importe de windows ne le sont pas ....

  11. #11
    Rédacteur/Modérateur
    Avatar de Winnt
    Homme Profil pro
    budget et contrôle de gestion
    Inscrit en
    Décembre 2006
    Messages
    1 978
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 56
    Localisation : France

    Informations professionnelles :
    Activité : budget et contrôle de gestion
    Secteur : Administration - Collectivité locale

    Informations forums :
    Inscription : Décembre 2006
    Messages : 1 978
    Points : 4 130
    Points
    4 130
    Par défaut
    Salut,

    Petite remise à plats des données :

    • Tu crée directement dans le répertoire avec ton user un fichier php ca fonctionne correctement.
    • Tu importe de windows un fichier php ca ne fonctionne pas.

    C'est cela ?
    Comment effectue tu la copie ?
    Winnt
    Merci de lire les règles du forum LaTeX et Qu'est ce qu'un ECM ?.
    N'hésitez pas à parcourir la FAQ la réponse y est peut-être déjà.
    Pensez au bouton si votre problème est résolu.


    C'est en Linuxant qu'on devient .... geek
    Et c'est en LateXant qu'on devient flemmard
    Mon blog tout neuf.
    Articles : présentation de la distribution Gentoo, Les index sous LaTeX et leur personnalisation.

Discussions similaires

  1. Réponses: 6
    Dernier message: 28/05/2008, 09h04
  2. importer des données Excel dans une BD Access
    Par lemerite dans le forum VBA Access
    Réponses: 3
    Dernier message: 19/02/2008, 13h34
  3. Réponses: 1
    Dernier message: 06/11/2007, 16h43
  4. Réponses: 6
    Dernier message: 22/09/2006, 10h50
  5. Import de Données Excel dans une Table Access
    Par YLF dans le forum Access
    Réponses: 2
    Dernier message: 20/02/2006, 19h02

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo