Jump to content
  • 0

Error When Creating Package


Question

Posted
I'm getting this error whenever i create my package:
 

Template parse error: unexpected character in filters : "[" at 79

How do I fix the emails? This is my email code:

<p>
	<style type="text/css">
@media only screen and (max-width : 640px) {
	
	table[class="container] {
        width: 98% !important;
    } 
    td[class="bodyCopy"] p {
		padding: 0 15px !important; 
		text-align: left !important;
	}
    td[class="spacer"] {
	    width: 15px !important;
    }
    td[class="belowFeature"] {
	    width: 95% !important;
	    display: inline-block;
	    padding-left: 15px;
	    margin-bottom: 20px;
    }
    td[class="belowFeature"] img {
	    float: left;
	    margin-right: 15px;
    }
    
    table[class="belowConsoles"] {
		width: 100% !important;
		display: inline-block;
	}

	table[class="belowConsoles"] img {
		margin-right: 15px;
		margin-bottom: 15px;
		float: left;
	}
   
	
	}
	
	@media only screen and (min-width: 481px) and (max-width: 560px) {
	
	td[class="Logo"] {
		width: 560px !important;
		text-align: center;
	}
	
	td[class="viewWebsite"] {
		width: 560px !important;
		height: inherit !important;
		text-align: center;
	}    

	}
	
	@media only screen and (min-width: 250px) and (max-width: 480px) {
	
	.Logo {
		width: 480px !important;
		text-align: center;
	}
	
	.viewWebsite {
		width: 480px !important;
		height: inherit !important;
		text-align: center;
	}
	
	.spacer {
	    display: none !important;
    }
	
	.bodyCopy p {
		padding: 0 15px !important; 
		text-align: left !important;
	}
	
	.bodyCopy h1 {
		padding: 0 10px !important;
	}
	
	h1, h2 {
		line-height: 120% !important;
	}
	
	td[class="force-width"] {width: 98% !important; padding: 0 10px;}
	
	[class="consoleImage"] {
		display: inline-block;
	}

	[class="consoleImage"] img {
		text-align: center !important;
		display: inline-block;
	}

	table[class="belowConsoles"] {
		text-align: center;
		float: none;
		margin-bottom: 15px;
		width: 100% !important;
	}

	table[class="belowConsoles"] img {
		margin-bottom: 0;
	}
	
	}	</style>
</p>
<table align="center" cellpadding="0" cellspacing="0" class="container" width="630">
	<tbody>
		<tr>
			<td>
				<table align="left">
					<tbody>
						<tr>
							<td class="Logo" width="188">
								<img src="https://www.stacktron.net/assets/img/email.png" /></td>
						</tr>
					</tbody>
				</table>
				<table align="right">
					<tbody>
						<tr>
							<td class="viewWebsite" height="70">
								<p style="font-family: Arial, Helvetica, sans-serif; color: #555555; font-size: 10px; padding: 0; margin: 0;">
									If you are having trouble viewing this email, please <a href="https://www.stacktron.net/help" style="color: #990000;">click here</a>.</p>
							</td>
						</tr>
					</tbody>
				</table>
			</td>
		</tr>
	</tbody>
</table>
<table align="center" bgcolor="#fcfcfc" cellpadding="0" cellspacing="0" class="container" style="border: 1px solid #dddddd; line-height: 135%;" width="630">
	<tbody>
		<tr>
			<td bgcolor="#fcfcfc" colspan="3" height="10" width="100%">
				 </td>
		</tr>
		<tr>
			<td align="center" bgcolor="#fcfcfc" colspan="3">
				<img src="http://cdn.meme.am/instances/500x/54572375.jpg" width="100%" /></td>
		</tr>
		<tr>
			<td colspan="3" height="15">
				 </td>
		</tr>
		<tr>
			<td bgcolor="#fcfcfc" colspan="3">
				<table>
					<tbody>
						<tr>
							<td class="spacer" width="30">
								 </td>
							<td align="center" class="bodyCopy">
								<h1 class="headline" style="font-family: Arial, Helvetica, sans-serif; font-size: 32px; color: #404040; margin-top: 0; margin-bottom: 20px; padding: 0; line-height: 135%">
									Thank you for purchasing from Stacktron! <3</h1>
								<p style="font-family: Arial, Helvetica, sans-serif; color: #555555; font-size: 14px; padding: 0 40px;">
									Now that you've finally finished purchasing your hosting from us we'd like to give you a the information you deserve. Here's your server and various other information regarding your purchase:</p>
								<p style="font-family: Arial, Helvetica, sans-serif; color: #555555; font-size: 14px; padding: 0 40px;">
									<span style="font-size:16px;"><strong>SERVER INFORMATION:</strong></span></p>
								<p style="font-family: Arial, Helvetica, sans-serif; color: rgb(85, 85, 85); font-size: 14px; padding: 0px 40px; text-align: left;">
									<strong>Hostname: </strong><span style="line-height: 135%; background-color: rgb(255, 255, 255);">{service.solusvm_hostname}</span></p>
								<p style="font-family: Arial, Helvetica, sans-serif; color: rgb(85, 85, 85); font-size: 14px; padding: 0px 40px; text-align: left;">
									<strong><span style="line-height: 18.8999996185303px; background-color: rgb(255, 255, 255);">Main IP: </span></strong><span style="line-height: 18.8999996185303px; background-color: rgb(255, 255, 255);">{service.solusvm_main_ip_address}</span></p>
								<p style="font-family: Arial, Helvetica, sans-serif; color: rgb(85, 85, 85); font-size: 14px; padding: 0px 40px; text-align: left;">
									<span style="line-height: 18.8999996185303px;"><b>SolusVM URL: </b>http://155.94.254.75:5353</span></p>
								<p style="font-family: Arial, Helvetica, sans-serif; color: rgb(85, 85, 85); font-size: 14px; padding: 0px 40px; text-align: left;">
									<span style="line-height: 18.8999996185303px;"><strong>SolusVM Username: </strong>{service.solusvm_username}</span></p>
								<p style="font-family: Arial, Helvetica, sans-serif; color: rgb(85, 85, 85); font-size: 14px; padding: 0px 40px; text-align: left;">
									<span style="line-height: 18.8999996185303px; background-color: rgb(255, 255, 255);"><strong>SolusVM Password:</strong> {service.solusvm_password}</span></p>
								<p style="font-family: Arial, Helvetica, sans-serif; color: rgb(85, 85, 85); font-size: 14px; padding: 0px 40px; text-align: left;">
									<span style="line-height: 18.8999996185303px; background-color: rgb(255, 255, 255);"><strong>Extra IP's:</strong> {service.solusvm_extra_ip_addresses}</span></p>
								<p style="font-family: Arial, Helvetica, sans-serif; color: rgb(85, 85, 85); font-size: 14px; padding: 0px 40px; text-align: left;">
									<span style="line-height: 18.8999996185303px; background-color: rgb(255, 255, 255);"><strong>Root Password:</strong> {service.solusvm_root_password}</span></p>
								<hr />
								<p style="line-height: 16.2000007629395px; font-family: Arial, Helvetica, sans-serif; color: rgb(85, 85, 85); font-size: 14px; padding: 0px 40px;">
									<span style="font-size: 16px;"><strong>EXTRA INFORMATION:</strong></span></p>
								<div>
									<p style="line-height: 16.2000007629395px; font-family: Arial, Helvetica, sans-serif; color: rgb(85, 85, 85); font-size: 14px; padding: 0px 40px; text-align: left;">
										<span style="line-height: 18.8999996185303px;"><strong>Pricing Term: </strong>{pricing.term}</span></p>
									<p style="line-height: 16.2000007629395px; font-family: Arial, Helvetica, sans-serif; color: rgb(85, 85, 85); font-size: 14px; padding: 0px 40px; text-align: left;">
										<span style="line-height: 18.8999996185303px; background-color: rgb(255, 255, 255);"><strong>Setup Fee:</strong> {pricing.setup_fee}</span></p>
									<p style="line-height: 16.2000007629395px; font-family: Arial, Helvetica, sans-serif; color: rgb(85, 85, 85); font-size: 14px; padding: 0px 40px; text-align: left;">
										<span style="line-height: 18.8999996185303px; background-color: rgb(255, 255, 255);"><strong>Cancel Fee:</strong> {pricing.cancel_fee}</span></p>
									<p style="line-height: 16.2000007629395px; font-family: Arial, Helvetica, sans-serif; color: rgb(85, 85, 85); font-size: 14px; padding: 0px 40px; text-align: left;">
										<span style="line-height: 18.8999996185303px; background-color: rgb(255, 255, 255);"><strong>Open A Ticket:</strong> https://bit.ly/1Nf5YHv</span></p>
									<p style="line-height: 16.2000007629395px; font-family: Arial, Helvetica, sans-serif; color: rgb(85, 85, 85); font-size: 14px; padding: 0px 40px; text-align: left;">
										 </p>
									<p style="line-height: 16.2000007629395px; font-family: Arial, Helvetica, sans-serif; color: rgb(85, 85, 85); font-size: 14px; padding: 0px 40px;">
										<strong><span style="font-size:16px;">Thank you for choosing Stacktron.</span></strong></p>
									<p style="line-height: 16.2000007629395px; font-family: Arial, Helvetica, sans-serif; color: rgb(85, 85, 85); font-size: 14px; padding: 0px 40px;">
										<em><strong>After all, we gave you an offer you couldn't refuse ;-)</strong></em></p>
									<div>
										 </div>
									<div>
										 </div>
								</div>
							</td>
							<td class="spacer" width="30">
								 </td>
						</tr>
					</tbody>
				</table>
			</td>
		</tr>
		<tr>
			<td align="center" colspan="3">
				<span style="font-size:12px;">Copyright <span style="color: rgb(0, 0, 0); font-family: sans-serif; line-height: 12.3199996948242px; text-align: right; white-space: nowrap; background-color: rgb(249, 249, 249);">© 2015 Stacktron Inc. All Rights Reserved.</span></span></td>
		</tr>
		<tr>
			<td class="force-width" colspan="3">
				 </td>
		</tr>
	</tbody>
</table>
<p>
	 </p>

1 answer to this question

Recommended Posts

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...