I’m a newbie and I keep getting this error when I am trying to install the program.
", “?”, “@”, “[”, “\”, “]”, “^”, “_”, “`”, “{”, “|”, “}”, “~”, “Д, “Ñ”, “Á”, “¢”, “£”, “?”, “´”, “?”, “¤”, “¬”, “©”, “»”, “Ç”, “”, “?”, “¨”, “ø”, “¡”, “±”, “?”, “?”, “«”, “µ”, “¦”, “á”, “ü”, “?”, “¼”, “È”, “?”, “?”, “?”, “À”, “Ë”, “ç”, “å”, “Ì”, “€”, “”, “®”, “‚”, “é”, “ƒ”, “æ”, “è”, “í”, “ê”, “ë”, “ì”, “?”, “„”, “ñ”, “î”, “ï”, “Í”, “…”, “?”, “¯”, “ô”, “ò”, “ó”, “†”, “?”, “?”, “§”, “ˆ”, “‡”, “‰”, “‹”, “Š”, “Œ”, “¾”, “”, “”, “Ž”, “”, “‘”, ““”, “’”, “””, “•”, “?”, “–”, “˜”, “—”, “™”, “›”, “š”, “Ö”, “¿”, “”, “œ”, “ž”, “Ÿ”, “?”, “?”, “Ø” ); $newString .= “”; for( $incString = 0; $incString < strlen( $string ); $incString++ ) { if( in_array( strtolower( $string[$incString] ), $allowedCharacters ) ) { $newString .= $string[$incString]; } } return $newString; } //this is like SUBSTR, but will cacluate for WHOLE CHARACTERS only, IE: it won’t cut a word in half function cutText($string, $length) { while ($string{$length} != " ") { $length–; } return substr($string, 0, $length); } Parse error: syntax error, unexpected end of file in /var/www/html/202-config/functions-tracking202.php on line 4299
I have no idea what this is…but line 4299 is:
?>
Any help would be appreciated…
Matt
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Edit php.ini and set short_open_tag to On.
If you’re using Apache, php.ini can be found in /etc/php5/apache2/. Make sure you restart Apache after editing the file:
sudo service apache2 restart
If you’re using Nginx, php.ini can be found in /etc/php5/fpm/. You will need to restart php5-fpm after editing it:
sudo service php5-fpm restart
Let me know if that works.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.