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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.