A PHP Error was encountered

Severity: Warning

Message: Undefined variable $page

Filename: front/Articles.php

Line Number: 91

Backtrace:

File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
Line: 91
Function: _error_handler

File: /opt/bitnami/projects/celticproductions.net/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined variable $article

Filename: front/Articles.php

Line Number: 97

Backtrace:

File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
Line: 97
Function: _error_handler

File: /opt/bitnami/projects/celticproductions.net/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Undefined variable $article

Filename: front/Articles.php

Line Number: 112

Backtrace:

File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
Line: 112
Function: _error_handler

File: /opt/bitnami/projects/celticproductions.net/index.php
Line: 315
Function: require_once

PHP | Celtic Productions IT

A PHP Error was encountered

Severity: Warning

Message: Trying to access array offset on null

Filename: front/article.php

Line Number: 24

Backtrace:

File: /opt/bitnami/projects/celticproductions.net/application/views/front/article.php
Line: 24
Function: _error_handler

File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
Line: 124
Function: view

File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
Line: 117
Function: view

File: /opt/bitnami/projects/celticproductions.net/index.php
Line: 315
Function: require_once

Technical Articles > PHP

  • Home
  • /
  • A PHP Error was encountered

    Severity: Warning

    Message: Trying to access array offset on null

    Filename: front/article.php

    Line Number: 31

    Backtrace:

    File: /opt/bitnami/projects/celticproductions.net/application/views/front/article.php
    Line: 31
    Function: _error_handler

    File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
    Line: 124
    Function: view

    File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
    Line: 117
    Function: view

    File: /opt/bitnami/projects/celticproductions.net/index.php
    Line: 315
    Function: require_once

class="c-state_active"> Technical Articles
  • /
  • PHP
  • We'd like to talk today a bit about how you can quickly leverage the incredible power of Google Website Optimizer to roll out experiments on your data-driven website - ultimately driving your conversion rates upward. read more...
    on 8th March
    • gwo
    • google
    • website
    • optimizer
    • cro
    • conversion
    • rate
    • optimisation
    This crops up all the time. We install a particular software suite on a clients' server and when we execute the script, it spits out an error about file_get_contents not expecting some arguments. Grrr, that's our first warning sign that we're probably running PHP4 on the server. A lot of companies continue to run PHP4 and while the upgrade from PHP4 to PHP5 is generally very smooth, not all server components update as well. Thus, rather than upgrading the entire server, we provide some simple bridging functions for some of the most commonly used PHP5 functions. file_get_contents is one such function. read more...
    on 19th November
    • php
    • file_get_contents
    • secure
    • password protected
    • authorization basic
    I couldn't quite think of an intelligible title for this article so I've decided to run with the PHP function name. The function takes a Unix timestamp as a parameter and returns a nicely formatted textual description of how long ago that was, e.g. 2 weeks ago, hence the unimaginative title, x y ago where 'x' is the number, 'y' is the unit and 'ago' is, eh, ago. You see this date difference functionality all over the web. It's particularly popular in forums where you often see headers of the form 'Posted 4 minutes ago by duke'. read more...
    on 8th April
    • time difference
    • date difference
    • datediff
    • time interval
    • php datediff
    • utc time
    • unix timestamps
    • xyago
    In this article, we're going to walk you through how you might login to a forum such as phpbb2 programatically. First off, why would you care to do such a thing? Well, out of the box forum scripts such as SMF and phpbb2 won't make much impact on their own for simply that reason, that they are out of the box and a few clicks in cPanel or Plesk can get you up and running in a couple of minutes. Ordinarily, to pack any punch (and of course to be useful and provide value to the end user), the forum script of choice will need to be installed and integrated as part of a larger container site. read more...
    on 4th April
    • forum login
    • curl login
    • phpbb2 forum login
    • remote login
    • login script
    • php header
    • curl cookies
  • A PHP Error was encountered

    Severity: Warning

    Message: Undefined array key "category"

    Filename: core/MY_Controller.php

    Line Number: 94

    Backtrace:

    File: /opt/bitnami/projects/celticproductions.net/application/core/MY_Controller.php
    Line: 94
    Function: _error_handler

    File: /opt/bitnami/projects/celticproductions.net/application/helpers/general_helper.php
    Line: 16
    Function: get_link_for_article

    File: /opt/bitnami/projects/celticproductions.net/application/views/front/article.php
    Line: 241
    Function: get_link_for_article

    File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
    Line: 124
    Function: view

    File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
    Line: 117
    Function: view

    File: /opt/bitnami/projects/celticproductions.net/index.php
    Line: 315
    Function: require_once

    /articles/18//enabling-gzip-compression-on-your-website.html" class="c-title"> Enabling Gzip compression on your website
    19th November
  • A PHP Error was encountered

    Severity: Warning

    Message: Undefined array key "category"

    Filename: core/MY_Controller.php

    Line Number: 94

    Backtrace:

    File: /opt/bitnami/projects/celticproductions.net/application/core/MY_Controller.php
    Line: 94
    Function: _error_handler

    File: /opt/bitnami/projects/celticproductions.net/application/helpers/general_helper.php
    Line: 16
    Function: get_link_for_article

    File: /opt/bitnami/projects/celticproductions.net/application/views/front/article.php
    Line: 258
    Function: get_link_for_article

    File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
    Line: 124
    Function: view

    File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
    Line: 117
    Function: view

    File: /opt/bitnami/projects/celticproductions.net/index.php
    Line: 315
    Function: require_once

    /articles/12//file-path-and-name-with-spaces-in-batch-file-for-loop.html" class="c-title"> File path and name with spaces in batch file for loop
    7th October
  • A PHP Error was encountered

    Severity: Warning

    Message: Undefined array key "category"

    Filename: core/MY_Controller.php

    Line Number: 94

    Backtrace:

    File: /opt/bitnami/projects/celticproductions.net/application/core/MY_Controller.php
    Line: 94
    Function: _error_handler

    File: /opt/bitnami/projects/celticproductions.net/application/helpers/general_helper.php
    Line: 16
    Function: get_link_for_article

    File: /opt/bitnami/projects/celticproductions.net/application/views/front/article.php
    Line: 258
    Function: get_link_for_article

    File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
    Line: 124
    Function: view

    File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
    Line: 117
    Function: view

    File: /opt/bitnami/projects/celticproductions.net/index.php
    Line: 315
    Function: require_once

    /articles/11//add-floating-point-numbers-in-batch-file.html" class="c-title"> Add floating point numbers in batch file
    7th October
  • A PHP Error was encountered

    Severity: Warning

    Message: Undefined array key "category"

    Filename: core/MY_Controller.php

    Line Number: 94

    Backtrace:

    File: /opt/bitnami/projects/celticproductions.net/application/core/MY_Controller.php
    Line: 94
    Function: _error_handler

    File: /opt/bitnami/projects/celticproductions.net/application/helpers/general_helper.php
    Line: 16
    Function: get_link_for_article

    File: /opt/bitnami/projects/celticproductions.net/application/views/front/article.php
    Line: 258
    Function: get_link_for_article

    File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
    Line: 124
    Function: view

    File: /opt/bitnami/projects/celticproductions.net/application/controllers/front/Articles.php
    Line: 117
    Function: view

    File: /opt/bitnami/projects/celticproductions.net/index.php
    Line: 315
    Function: require_once

    /articles/2//remote-server-backup--ncftp-.html" class="c-title"> Remote Server Backup (ncftp)
    28th March