Bonjour,

J aurais besoin d un peu d aide si une ame dévouée le veut bien.

Mon script PHP me renvoi cette erreur a son chargement :

Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/enchecom/public_html/app/config/config.php on line 1

Voici les lignes du fichier config.php concerne :

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
 
<?php
$config = array(
'Database' => array(
'driver' => 'mysql',
'persistent' => false,
'host' => 'localhost',
'login' => 'enchecom_ianis',
'password' => 'password',
'database' => 'enchecom_encheretime',
'prefix' => ''
),
 
'App' => array(
'encoding' => 'UTF-8',
'baseUrl' => '',
'base' => '',
'dir'                     => 'app',
'webroot'                 => 'webroot',
'name' => 'Site enchere',
'url' => 'http://www.lesiteenchere.com',
'timezone' => 'Paris',
'language' => 'en',
'email' => '',
'theme' => 'net4bids2',
'currency' => 'EUR',
'pageLimit' => 100,
'bidHistoryLimit' => 10,
'remember_me' => '+30 days',
'auctionUpdateFrequency' => 1,
'timeSyncFrequency' => 9,
'gateway'      => true,
'demoMode'      => false,
'noAutobids' => false,
'cronTime'      => 1,
 
'Image' => array(
'thumb_width' => 100,
'thumb_height' => 100,
'max_width' => 340,
'max_height' => 230
),
 
'Dob' => array(
'year_min' => date('Y') - 100,
'year_max' => date('Y') - 17
)
),
 
'Paypal' => array(
'url' => 'https://www.paypal.com/cgi-bin/webscr',
'email' => 'allo@paypal.com',
'lc' => 'EUR'
),
 
'Email' => array(
'delivery' => 'smtp',
'sendAs' => 'both',
'host' => 'localhost',
'port' => 25,
'timeout' => 60,
'username' => '',
'password' => ''
),
 
'Cache' => array(
//'disable' => true,
'check' => false,
'time' => '' // relative time such as +1 day, +2 months, +3 minutes
),
 
'debug' => 1
);
?>

Voila je ne trouves pas ou est l erreur.....

Si quelqu un peux m aider afin que je corrige le code.

Merci d avance

Mael