The Linux Page
warning: Uninitialized string offset 0 in /home/clients/www_html/new.m2osw.com/public_html/sites/all/modules/geshifilter/geshi/geshi.php on line 4225.

My customer cannot edit pages?!

I created a website and handed it to a customer... without realizing that the customer could not edit the pages of his site.

He reported the problem and I was rather surprised since I had not installed any module that would protect the editing of pages based on a role... what could it be? I checked the Drupal permissions a couple times... he had the right to edit all the nodes, his own and anyone else's, hmmm...

I looked at the code to try to figure it out, and there is a call to the filter module: filter_access($node->format).

Yes! Of course! I had forgotten to add his role to the ...

Compressed CSS & Boost when developing

On my sites, I'm using boost to allow much faster access time (close to instantaneous in comparison to hitting Drupal and all the database accesses...)

The result is great! But it generates some problems when you test a page. It does not get refreshed... Easy, you can clear the cache. Not advisable when your cache is around 10,000 files. A better way, is to go to that page and click on "Flush Page" (available in one of the blocks offered by boost.)

Load Average, to know how busy your server is

Whenever you run many applications on a server, such as many instances of your web server (i.e. Apache), you may want to know how much of the system is being used. This can be important to avoid overloading your system.

The load is computed by the kernel. The kernel knows how many processes are running and how much processing power your server has (i.e. how many processors.) With that information, it infers how many processes are being held back for a period of time. The default periods are 1, 5 and 15 minutes (I'm sure you can recompile your kernel with different timings!)

[toc hidden:1]

MS-Access Report not printing

Reports, Print and Load() Event

I wrote many forms and in general everything works just fine.

In this case, I wanted to enter the data with a function so I could properly format several of the fields (especially the billing and shipping addresses.) That was done on the Load() event. That function working great when looking at the report from within MS-Access (on screen report). However, when directly sending the report to the printer, it was not working well at all.

[toc hidden:1]

Drupal Hosting

Ever wondered how it would be if you did not have to take care of the modules installed in your Drupal environment? How much time would you save by having such a website? We're offering just that, for free!

With our hosting plans, that cost no more than anywhere else, you get hosting space AND the powerful Drupal CMS auto-maintained for you. A given for anyone!

Click here to get started right now. This offer will not last!

Thank you.
Alexis

Table owner in PostgreSQL

System tables and how to edit them is just not defined in the SQL language, unfortunately. So different database systems have different solutions to handle their table declarations. PostgreSQL is no different.

In most cases, MySQL uses some special instruction to update system information. In PostgreSQL, you have internal tables that the administrator can access and tweak as required.

[toc hidden:1]

Registration Confirmation

Please, follow this [confirmation_link] to complete your registration to the White Theme mailing list.

Thank you.
Alexis

Thank you for registering, please confirm your subscription

Confirmation email #1.

[toc hidden:1]

Draw circle

 

Factorial