The Linux Page

Page list for Drupal

  • Today I installed a Joomla site because I have a contract to do some development in Joomla.

    So... I started, looks real nice and stuff, clicked next, next and got and error. It tells me that the configuration.php file is not writable and that I'll have to copy and paste once I'm finished or make it writable. Well... I thus copy configure.php-dist as configure.php and try again.

    That makes it fail a little later with the following error:

  • In the last few days I have been working on a small project to get a really nice form for one of my sites. The form uses a lot of JavaScript for all sorts of fancy things (such as check user input to make sure we don't accept total crap such as an empty entry or just "1" as a credit card number.)

    The information finds itself in an IFRAME, which was the easiest way to get the time to load at decent speed and  to better manage the form in a separate area and not the main landing page. This will make it easier to maintain the landing page itself.

    however, that created ...

  • In the last 3 days I've been working on a new page and ran in some strange problem. There was an error in the console but things seemed to otherwise work just fine so I ignored it (since it wasn't in my own code...)

    That error was an unhandled jQuery error which resulted in "let's stop the JavaScript at once." This meant all the page initialization failed (or did not occur.) The code was there otherwise. What give?!

    The script in question was loaded from a hidden IFRAME, something like this:

      <div style="display: none;">
        <iframe ...
  • Quite often, I write documents that require a logo from a brand such as Microsoft or Apple. Here I have link that take me to the pages were I can get the logos. The following are links to the logos of different companies I work with. If you have some, feel free to share! The list is in alphabetical order.

    • Apple

    http://www.apple.com/pr/products/

    • Made to Order Software Corporation

    http://www.m2osw.com/en/press.html

  • This page has empty paragraphs at the top (before this line), at the bottom and in between each paragraphs. In a way, this is a weird module!

    It use the MO Paragraph trimmer filter1, written in PHP for Drupal 6.x, to remove all of those empty paragraphs. Sadly, there isn't a good way for you to check the page source, but you can test by posting a comment (I think...)

    The idea ...

    • 1. Available on the Made to Order Software website.
  • 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 ...

  • Embedded videos from YouTube.com used to work just fine on my website.

    Today, though, I just noticed that my video was not showing up on one of my pages. Looking into it, I found out that the problem was the protocol.

    I'm not too sure whether it was my browser or YouTube,com (although I'm not too sure how YouTube.com would know...) but the fact is that the iframe source was using HTTP and the page I was viewing used HTTPS.

    By editing the page and changing the YouTube.com video from HTTP to HTTPS resolved the issue. It is generally much better to always use encryption anyway.

  • Today, I had to fix an installation of MySQL.

    There were several problems, and I finally got it to work. Somehow, I had to run some commands manually to cleanly shutdown the cluster server and then re-run the configuration script with dpkg:

    [toc hidden:1]
  • Hmmm... Okay... so Facebook has a latency, but ping.fm does not seem to take anything in account!?

    I'm wondering whether ping.fm checks the PTR (whatever that is, hey?!) and if incorrect, refuses to forward the post. That would make sense since the PTR is 99% of the time wrong when spammers send emails.

    Well! Today it worked 8-) After more than 7 tests because I did not always increment that number, but still. That's good. I'm moving forward. More soon! 


    Inserting:

    This is the title of your node: [].

  • All of last week I've been looking for the solution to a bug in one of my numerous websites.

    The problem was that after registering, a user would get an error saying that the PostgreSQL connection was lost. I had never had that with Drupal and yet, it would be 100% consistent.

    I tested the new code several times and had no problems with it, so I was really dismayed that all of a sudden it stopped working.

    After quite some time, I finally decided that my new code was the culprit. Weird. It was. It does the same thing as one of the Core modules and yet it breaks the PostgreSQL ...

Syndicate content

SMS From Me Logo

SMS From Me

To automatically start one on one conversations with your online leads.

     

   

Terms of Site Index

Find the page/content you are looking for with our index.