29
08
2008
Recently I updated one of my CMSMadeSimple websites. After the CMS system was updated I run into the following problem:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/www/ivan/site/lib/smarty/Smarty_Compiler.class.php(270) : regexp code on line 5
Fatal error: preg_replace() [function.preg-replace]: Failed evaluating code: ‘{php’ . str_repeat(" ", substr_count(’{* You can also instantiate custom behaviour on a module by module basis by looking at the $entry->module and $entry->modulerecord fields in $entry ie: {if $entry->module == ”News”}{News action=”detail” article_id=$entry->modulerecord detailpage=”News”} *}’, " ")) .’}’ in /home/www/ivan/site/lib/smarty/Smarty_Compiler.class.php on line 270
The search function didn’t work and system stopped with the error above. I reinstalled complete new version of CMSMadeSimple and ended with more errors. All related with comments in the template or in the search "Result Template" areas.
To fix the search function follow my instruction below:
- Login on the CMSMadeSimple Admin page
- Go to Extensions / Search and click "Result Template"
- Remove the comment starting with {* to *} and submit
- Try the search your website again.
- Wow it solved my problem
The issue has to do with single quotes in combination with the mysql and Apache version. Hopefully some of you can add some comments for additional information.
Comments : No Comments »
Categories : CMSMadeSimple
26
08
2008
Thanks to guys from Telnetport25 I was able to finish my SSL certificate migration for my new Windows Server 2008 virtual machine running a Exchange 2007 SP1 installation.
My work log:
- Logon on the old Windows Server 2003 hosting the OWA front-end role
- Start MMC and add the Certificate Snap-In; choose the Computer Account.
- Go to Personal/Certificates and locate the SSL certificate assigned to IIS for SSL encryption. Right click ; All Tasks and choose export. Choose the appropriate options like the certificate path; assign password and save the PFX file to "My Documents"
- Copy the PFX file to your Windows Server 2008 Client Access Server
- Logon on the Windows Server 2008 and add the Certificate Snap-In to a new MMC console for the Computer Account
- Go to Personal/Certificates; right click; All Tasks and choose Import.
- Locate the PFX file; enter the password and make sure you check "Mark this key as exportable" to enable future migrations of the SSL certificate.
- Place the certificate in the Personal Store
- Open the certificate and go to Details tab. Locate the Thumprint field and select Value with mouse; press CRTL-C to copy the data.

- Paste the value in Notepad and replace the "SPACE’ with CRTL-H. In the Find what field press space on the keyboard and click Replace All
- Copy the Thumbprint
- Start the Exchange Management Shell and run the Enable-ExchangeCertificate cmdlet
- Type IIS as Services and paste the copied data from Notepad to Thumbprint
- Start Exchange Management Console and go to Server Configuration / Client Access / Select the server and open owa from Outlook Web Access tab
- Type External URL of the SSL certificate and DNS. E.g. https://webmail.domain.tlk
- Click OK and you are finished to test the configuration.
- Start IE and test your OWA role. Review your NAT and Firewall rules also.
Related links:
Comments : 1 Comment »
Categories : Exchange 2007, Windows Server 2008
15
08
2008
Hyper-V, a key feature of Windows Server 2008, has now released to manufacturing (RTM) and is available for deployment into production environments. With help of ServerManagerCMD.exe I will install the Hyer-V role.
What is ServerManagerCMD.exe?
Server Manager in Windows Server 2008 provides a single source for managing a server’s identity and system information, displaying server status, identifying problems with server role configuration, and managing all roles installed on the server.
ServerManagerCMD is powerful tool and within one command line you can install the Hyper-V role. Make sure you installed the Windows 2008 RTM version and updated your system with KB950050.
With ServerManagerCMD.exe you will be able to install all those roles:
Active Directory Certificate Services
Active Directory Domain Services
Active Directory Federation Services
Active Directory Lightweight Directory Services
Active Directory Rights Management Services
Application Server
Availability and Scalability
DHCP Server
DNS Server
Fax Server
File Services
Hyper-V
Network Policy and Access Services
Print Services
Streaming Media Services
Terminal Services
Troubleshooting
UDDI Services
Web Server
Windows Deployment Services
Finally we get a single command line tool for this administrative task. I hate having different text files and run the cmd batch scripts.
Related links:
Comments : No Comments »
Categories : Windows Server 2008
Recent Comments