[Help] Donation System 2 Configuration Error, Need Help ASAP Please

In the configuration file where you add products (config.php), which is put on the web server. I keep getting the following error:

I can’t fix the problem with everything I’ve tried. I figure it’s a simple fix, but I don’t know php. Hopefully someone can fix it, so here is my code:


$GAMES = array( // All games
	"gmod" => array( // GameID
		"name" => "Garry's Mod", //Game name
		"icon" => "icons/gmod.png", //Game icon
		"display" => true, // Should display on front page
		"servers" => array("darkrp") // What servers does it have( defined in $SERVERS section), use ServerID
	)
);
$SERVERS = array( // All servers
	"darkrp" => array( // ServerID
		"name" => "DarkRP", // Server Name
		"icon" => "icons/gmod.png", // Server Icon
		"dbtable" => "darkrp_orders", // Server database
		"products" => array(1, 2) // What products does this server have( defined in $PRODUCTS section ), use ProductID
	)
);
$PRODUCTS = array( // All products
	1 => array( // ProductID, must be numbers
		"title" => "Admin Donor", //Title that is displayed on third section(Products)
		"buytitle" => "DarkRP - Admin Donor", //Title that is displayed on fourth section(Checkout) and during PayPal purchase
				// Description is shown in third section when you select product, its in HTML
		"description" => " 
			<b>Price: <b style='color:green;'>$25</b></b>
			</br>
			<b>Features:</b><br/>
			<b>1.</b> You get to be donor admin<br/>
			<b>2.</b> 50,000 ingame cash<br/>
			<b>3.</b> 30,000 points<br/>
			<b>4.</b> Donor jobs<br/><br/>
			<b style='color:red;'>This rank is valid for 30 days and if abused it will be taken away.</b>",
		"price" => 10, // Price of your product
		"servers" => array( // Servers that this product going to be activated on
			"darkrp" => array( // ServerID
				"offline" => false, // Should ran when player is not connected? Not recommended 
				"execute" => array( // Execute certain commands, please refer to readme.html
					"rank" => array( "group" => "admin" , "duration" => 0),
					"darkrp_money" => 50000,
					"pointshop_points" => 30000,
					"print" => array( array(255,0,0) ,"You have bought Admin Donor!" ),
					"broadcast" => array( array(255,0,0) ,"%name% have bought Admin Donor!" ),
					"lua" => "ServerLog(PLAYER:Nick() .. ' bought admin donor\
')" // <- Dont put comma at the end of array
				)
			)
		)
	)
	2 => array( // ProductID, must be numbers
		"title" => "Admin Donor", //Title that is displayed on third section(Products)
		"buytitle" => "DarkRP - Admin Donor", //Title that is displayed on fourth section(Checkout) and during PayPal purchase
				// Description is shown in third section when you select product, its in HTML
		"description" => " 
			<b>Price: <b style='color:green;'>$35</b></b>
			</br>
			<b>Features:</b><br/>
			<b>1.</b> You get to be donor admin<br/>
			<b>2.</b> 50,000 ingame cash<br/>
			<b>3.</b> 30,000 points<br/>
			<b>4.</b> Donor jobs<br/><br/>
			<b style='color:red;'>This rank is valid for 30 days and if abused it will be taken away.</b>",
		"price" => 10, // Price of your product
		"servers" => array( // Servers that this product going to be activated on
			"darkrp" => array( // ServerID
				"offline" => false, // Should ran when player is not connected? Not recommended 
				"execute" => array( // Execute certain commands, please refer to readme.html
					"rank" => array( "group" => "admin" , "duration" => 0),
					"darkrp_money" => 50000,
					"pointshop_points" => 30000,
					"print" => array( array(255,0,0) ,"You have bought Admin Donor!" ),
					"broadcast" => array( array(255,0,0) ,"%name% have bought Admin Donor!" ),
					"lua" => "ServerLog(PLAYER:Nick() .. ' bought admin donor\
')" // <- Dont put comma at the end of array
				)
			)
		)
	)
);

// DONT TOUCH THIS
define("PAYPAL_URL", PAYPAL_SANDBOX ? "https://www.sandbox.paypal.com/cgi-bin/webscr" : "https://www.paypal.com/cgi-bin/webscr"   )
?>




$GAMES = array( // All games
	"gmod" => array( // GameID
		"name" => "Garry's Mod", //Game name
		"icon" => "icons/gmod.png", //Game icon
		"display" => true, // Should display on front page
		"servers" => array("darkrp") // What servers does it have( defined in $SERVERS section), use ServerID
	)
);
$SERVERS = array( // All servers
	"darkrp" => array( // ServerID
		"name" => "DarkRP", // Server Name
		"icon" => "icons/gmod.png", // Server Icon
		"dbtable" => "darkrp_orders", // Server database
		"products" => array(1, 2) // What products does this server have( defined in $PRODUCTS section ), use ProductID
	)
);
$PRODUCTS = array( // All products
	1 => array( // ProductID, must be numbers
		"title" => "Admin Donor", //Title that is displayed on third section(Products)
		"buytitle" => "DarkRP - Admin Donor", //Title that is displayed on fourth section(Checkout) and during PayPal purchase
				// Description is shown in third section when you select product, its in HTML
		"description" => " 
			<b>Price: <b style='color:green;'>$25</b></b>
			</br>
			<b>Features:</b><br/>
			<b>1.</b> You get to be donor admin<br/>
			<b>2.</b> 50,000 ingame cash<br/>
			<b>3.</b> 30,000 points<br/>
			<b>4.</b> Donor jobs<br/><br/>
			<b style='color:red;'>This rank is valid for 30 days and if abused it will be taken away.</b>",
		"price" => 10, // Price of your product
		"servers" => array( // Servers that this product going to be activated on
			"darkrp" => array( // ServerID
				"offline" => false, // Should ran when player is not connected? Not recommended 
				"execute" => array( // Execute certain commands, please refer to readme.html
					"rank" => array( "group" => "admin" , "duration" => 0),
					"darkrp_money" => 50000,
					"pointshop_points" => 30000,
					"print" => array( array(255,0,0) ,"You have bought Admin Donor!" ),
					"broadcast" => array( array(255,0,0) ,"%name% have bought Admin Donor!" ),
					"lua" => "ServerLog(PLAYER:Nick() .. ' bought admin donor\
')" // <- Dont put comma at the end of array
				)
			)
		)
	),
	2 => array( // ProductID, must be numbers
		"title" => "Admin Donor", //Title that is displayed on third section(Products)
		"buytitle" => "DarkRP - Admin Donor", //Title that is displayed on fourth section(Checkout) and during PayPal purchase
				// Description is shown in third section when you select product, its in HTML
		"description" => " 
			<b>Price: <b style='color:green;'>$35</b></b>
			</br>
			<b>Features:</b><br/>
			<b>1.</b> You get to be donor admin<br/>
			<b>2.</b> 50,000 ingame cash<br/>
			<b>3.</b> 30,000 points<br/>
			<b>4.</b> Donor jobs<br/><br/>
			<b style='color:red;'>This rank is valid for 30 days and if abused it will be taken away.</b>",
		"price" => 10, // Price of your product
		"servers" => array( // Servers that this product going to be activated on
			"darkrp" => array( // ServerID
				"offline" => false, // Should ran when player is not connected? Not recommended 
				"execute" => array( // Execute certain commands, please refer to readme.html
					"rank" => array( "group" => "admin" , "duration" => 0),
					"darkrp_money" => 50000,
					"pointshop_points" => 30000,
					"print" => array( array(255,0,0) ,"You have bought Admin Donor!" ),
					"broadcast" => array( array(255,0,0) ,"%name% have bought Admin Donor!" ),
					"lua" => "ServerLog(PLAYER:Nick() .. ' bought admin donor\
')" // <- Dont put comma at the end of array
				)
			)
		)
	)
);

// DONT TOUCH THIS
define("PAYPAL_URL", PAYPAL_SANDBOX ? "https://www.sandbox.paypal.com/cgi-bin/webscr" : "https://www.paypal.com/cgi-bin/webscr"   )
?>


You were missing a comma.

OMG I feel stupid, but thank you

[editline]27th April 2015[/editline]

Also, do you think you could help me with something else? Now that I got the ranks setup, I go to test on, and it isn’t giving me the rank when bought.

I can’t help you with that. All I can suggest is you either make sure you have it all set up properly, and then contact the author.

Okay, well thanks for the help you have given.