syntax error __ $cronScriptHTMLOutput = FALSE;
Code (php)
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
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
<?php
define('INCLUDED', 1);
include('passwd.inc.php');
$PHP_SELF=htmlspecialchars($PHP_SELF);
$REMOTE_ADDR=(get_magic_quotes_runtime()) ? $REMOTE_ADDR: addslashes($REMOTE_ADDR);
if(isset($_SESSION['PHPAUCTION_LOGGED_IN_USERNAME']))
$_SESSION['PHPAUCTION_LOGGED_IN_USERNAME'] = addslashes($_SESSION['PHPAUCTION_LOGGED_IN_USERNAME']);
#// ########################################################################################################
# Test mode
# TESTMODE variable will force WeBid to run in "test mode" ($PHPAUCTION_TESTMODE = 'yes')
# or in "live mode" ($PHPAUCTION_TESTMODE = 'no')
#
# When running in test mode Phpuction will provide you the ability to use the Paypal simulator
#// to simulate the payment processes
$PHPAUCTION_TESTMODE = 'no'; // Possible values: 'yes, 'no'
#// ########################################################################################################
//-- The path where your WeBid installation is
$main_path = "/HTML/\";
//-- This is the directory where passwd.inc.php file resides - requires ending slash
$include_path = "/HTML/includes/";
//-- This is the directory where users pictures will be uploaded - requires ending slash
//-- Under Windows use something like C:\path\to\you\uploaddir\
$image_upload_path = "/HTML/uploaded/";
$uploaded_path = "/HTML/uploaded/";
//-- This string is added to passwords before generating the MD5 hash
//-- Be sure to never change it after the firt set up or
//-- your users passwords will not work
$MD5_PREFIX = "/HTML/fhQYBpS5FNs4/";
/*
This is the log file generated by cron.php - insert the complete
file name (including the absolute path).
If you don't want to generate a log file for cron activity simply
leave this line commented.
*/
$logPath = "/HTML/logs//";
#$logFileName = "/HTML/cron.log";
/*
Set this to TRUE if you want cron to generates HTML output
BESIDES the cron file declared above. cron.php cannot generates
only HTML output.
*/
$cronScriptHTMLOutput = FALSE;
include $include_path."settings.inc.php";
include $include_path."messages.inc.php";
include $include_path."languages.inc.php";
?>
define('INCLUDED', 1);
include('passwd.inc.php');
$PHP_SELF=htmlspecialchars($PHP_SELF);
$REMOTE_ADDR=(get_magic_quotes_runtime()) ? $REMOTE_ADDR: addslashes($REMOTE_ADDR);
if(isset($_SESSION['PHPAUCTION_LOGGED_IN_USERNAME']))
$_SESSION['PHPAUCTION_LOGGED_IN_USERNAME'] = addslashes($_SESSION['PHPAUCTION_LOGGED_IN_USERNAME']);
#// ########################################################################################################
# Test mode
# TESTMODE variable will force WeBid to run in "test mode" ($PHPAUCTION_TESTMODE = 'yes')
# or in "live mode" ($PHPAUCTION_TESTMODE = 'no')
#
# When running in test mode Phpuction will provide you the ability to use the Paypal simulator
#// to simulate the payment processes
$PHPAUCTION_TESTMODE = 'no'; // Possible values: 'yes, 'no'
#// ########################################################################################################
//-- The path where your WeBid installation is
$main_path = "/HTML/\";
//-- This is the directory where passwd.inc.php file resides - requires ending slash
$include_path = "/HTML/includes/";
//-- This is the directory where users pictures will be uploaded - requires ending slash
//-- Under Windows use something like C:\path\to\you\uploaddir\
$image_upload_path = "/HTML/uploaded/";
$uploaded_path = "/HTML/uploaded/";
//-- This string is added to passwords before generating the MD5 hash
//-- Be sure to never change it after the firt set up or
//-- your users passwords will not work
$MD5_PREFIX = "/HTML/fhQYBpS5FNs4/";
/*
This is the log file generated by cron.php - insert the complete
file name (including the absolute path).
If you don't want to generate a log file for cron activity simply
leave this line commented.
*/
$logPath = "/HTML/logs//";
#$logFileName = "/HTML/cron.log";
/*
Set this to TRUE if you want cron to generates HTML output
BESIDES the cron file declared above. cron.php cannot generates
only HTML output.
*/
$cronScriptHTMLOutput = FALSE;
include $include_path."settings.inc.php";
include $include_path."messages.inc.php";
include $include_path."languages.inc.php";
?>
de error is :
Parse error: syntax error, unexpected T_VARIABLE in /var/www/g32923/shop2israel.com/HTML/includes/config.inc.php on line 50
dat is :
$cronScriptHTMLOutput = FALSE;
kan iemand mij helpen ?
Gewijzigd op 01/01/1970 01:00:00 door Kzip verhje
Dat moet je dus even anders gaan doen.
Een mogelijke oplossing zou zijn: (echt simpel!): vervang de " op regel 42 door een ' en klaar is kees.
Lang leve de kleurcodering ;).
Parse error: syntax error, unexpected $end in /var/www/g32923/shop2israel.com/HTML/includes/config.inc.php on line 55
je hebt een if of for of while niet goed afgesloten, tel je '{' en '}'
Op regel 20 moet de \ voor " weg. Die maakt van alles een string.
Douwe heeft gelijk, never mind my post
dankje dat werkt ;)