syntax error __ $cronScriptHTMLOutput = FALSE;

Overzicht Reageren

Sponsored by: Vacatures door Monsterboard

Kzip verhje

kzip verhje

25/08/2008 10:17:00
Quote Anchor link
Code (php)
PHP script in nieuw venster Selecteer het PHP script
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
<?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
 
PHP hulp

PHP hulp

20/05/2024 03:57:44
 
Eddy E

Eddy E

25/08/2008 10:21:00
Quote Anchor link
Op regel 42 heb je een / teveel, waardoor de "; als commentaar worden gezien.
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 ;).
 
Kzip verhje

kzip verhje

25/08/2008 10:27:00
Quote Anchor link
dankje het helpt maar nu dit :

Parse error: syntax error, unexpected $end in /var/www/g32923/shop2israel.com/HTML/includes/config.inc.php on line 55
 
Jeffrey H

Jeffrey H

25/08/2008 10:53:00
Quote Anchor link
je hebt een if of for of while niet goed afgesloten, tel je '{' en '}'
 
Douwe

Douwe

25/08/2008 10:54:00
Quote Anchor link
Op regel 20 moet de \ voor " weg. Die maakt van alles een string.
 
Jeffrey H

Jeffrey H

25/08/2008 10:58:00
Quote Anchor link
Douwe heeft gelijk, never mind my post
 
Kzip verhje

kzip verhje

25/08/2008 13:05:00
Quote Anchor link
dankje dat werkt ;)
 
Kzip verhje

kzip verhje

25/08/2008 13:10:00
Quote Anchor link
PS: kan je aub ook ff hier naar kijken ? http://www.phphulp.nl/forum/showtopic.php?id=55208&cat=1
dankje
 



Overzicht Reageren

 
 

Om de gebruiksvriendelijkheid van onze website en diensten te optimaliseren maken wij gebruik van cookies. Deze cookies gebruiken wij voor functionaliteiten, analytische gegevens en marketing doeleinden. U vindt meer informatie in onze privacy statement.