Jump to content

Parse error- MM:BeginLock


BoarderLine

Recommended Posts

Can anyone please help with this prob which suddenly appeared after inserting a second Dynamic Thumb ($objDynamicThumb2) onto my site however I think I have moved something here I shouldn't have but am unsure as this is the first dealing I've had with the BeginLock function.  The error I receive is Parse error:  syntax error, unexpected '<' in C:xampphtdocsHome2.php on line 108. (108 being the first line of the MM:BeginLock.  Any help here appreciated. Thanks.

 

$objDynamicThumb2 = new tNG_DynamicThumbnail("", "KT_thumbnail2");
$objDynamicThumb2->setFolder("images/EventListing_Pics/");
$objDynamicThumb2->setRenameRule("{rsEventImages.ImageFile}");
$objDynamicThumb2->setResize(100, 100, true);
$objDynamicThumb2->setWatermark(false);


<MM:BeginLock translatorClass="MM_SSI" type="ssi" orig="%3C?php require_once('Connections/Stuff.php'); ?%3E" fileRef="Connections/Stuff.php" depFiles="file:///C|/xampp/htdocs/Connections/Stuff.php"><?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_Stuff = "####";
$database_Stuff = "####";
$username_Stuff = "####";
$password_Stuff = "####";
$Stuff = mysql_pconnect($hostname_Stuff, $username_Stuff, $password_Stuff) or trigger_error(mysql_error(),E_USER_ERROR); 
?><MM:EndLock>

Link to comment
https://forums.phpfreaks.com/topic/134431-parse-error-mmbeginlock/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.