<< back to Chapleau.info

June 2007 - Posts

Ok, I was looking for a good CMS. The answer that I had was TypoLight... so I installed Fedora 7, and I began the installation... here are the steps required to install it.

Install & Start Apache

  1. yum install httpd
  2. chkconfig httpd on
  3. service httpd start

Install PHP5, with required extension

  1. yum install php php-mbstring php-crypt php-gd php-mysql php-mcrypt

Install MySQL

  1. yum install mysql-server mysql
  2. chkconfig mysqld on
Create your database (the wizard is not providing the database creation script) and go thru the installation process at http://www.typolight.org/wiki/english:installation#installation

If there is a "Cannot write to local configuration file", set file permission

  1. chmod 666 system/config/localconfig.php
  2. chown apache:apache system/tmp/
  3. chown -R apache:apache tl_files/
If you want url Rewriting, check that apache has loaded the module and add a .htaccess at your root directory that includes the following lines:
 
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]
-f.

Using Visual Studio 2005 to access a Webservice using Apache Axis produced this problem.

Failed to add System.Data.dll, System.Web.Service.dll and System.Xml.Serialization.dll to the references folder. The custom tool 'MSDiscocodegenerator' failed. Unexpected error.

To fix that, I switched to Axis2 instead of using Axis. I guest it is not a solution for everyone, but for a new project this is the best solution, 'cause you are using the latest version of Axis.

-f.

This encyclopedia is one of the most complete source of information on the Internet. When I wanted to have it offline I have done a couple of search. Here are the simplier version to setup wikipedia for Offline access or when you don't want to query the internet each time.

http://www.blindedbytech.com/2006/08/31/how-to-install-wikipedia-for-offline-access/

A combinaison of Apache, PHP5, MySQL and everything you need to make it work.

-f.

When integrating Google Maps API in my own website, I had an error unexpected call to method or property access. Searching and searching (in my code) did not return any result. After an hour or two, I began to google a little, just to see if someone else had this problem, and found a solution.

... Like almost all the time, I found it. When integrating the APOI the namespace of the HTML document must be changed to xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" .

This solved my problem.

-f.

Yes, like almost everybody that have installed Outlook 2007, the Instant Search is not working (maybe it's only because I also installed Vista Tongue Tied.

Search newsgroups and the web (I think I'm finding more solutions from the newsgroup, and also from the managed Microsoft Newsgroups...) I found this article, that is giving the solutions, to rebuild the index in the obscur Instant Search Engine, that is used by Outlook 2007.

http://office.microsoft.com/en-us/outlook/HA101980851033.aspx

-f.

Excluding the bin folder will publish only the binaries in the bin directory when choosing "Only files needed to run the application".

When you include the bin folder, all the files in it are automatically included in VSS, and it's compiled code, so you don't need this.

This may occur after converting a web site project to a web application project.

 -f.

Here is some line of code to send an email when an error occured, using the Application_Error in the global.asax and global.asax.cs.

protected void Application_Error(object sender, EventArgs e)
{
Exception objErr = Server.GetLastError().GetBaseException();
string err = "Error Caught in Application_Error event\n" +
"Error in: " + Request.Url.ToString() +
"\nError Message:" + objErr.Message.ToString()+
"\nStack Trace:" + objErr.StackTrace.ToString();
EventLog.WriteEntry("Sample_WebApp",err,EventLogEntryType.Error);
Server.ClearError();
//additional actions...
}

-f.

Source: KB306355

After repairing a XP installtion that was not starting, neither the activation and Internet Explorer was working. Some users said on some newsgroup to repair the installation (!) or to re-register the some DLLs that were causing the problem.

But, bruce12453 gived a great answer:

Open control panel then add remove programs
Uninstall Internet Explorer 7 or Windows Internet Explorer 7 which ever shows

If that does not show:
Open My computer
Click tools-->folder options-->click the view tab
Choose show hidden files and folders
Uncheck hide protected operating system files
Click apply then OK


Then go to My computer
Open C:\windows\ie7\spuninst
Double click on spuninst.ex

Thanks, that solved the problem, after rebooting windows, I was able to active Windows and to re-install IE7.

-f.