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

Batch Files | 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 > Batch Files

  • 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
  • /
  • Batch Files
  • We get this question all the time from third party developers who work with us. It's a must implement in any stable batch file. The problem: We want to loop through a file where either the name or path has a space in it. Why is this a problem? Ok, consider the following lines of code: read more...
    on 7th October
    • for loop
    • batch file
    • spaces in path
    • file name spaces
    Actually, it's impossible to do it without calling in the troops so to speak but there is a very neat way of adding floating point numbers in a batch application. Read on. read more...
    on 7th October
    • batch file
    • floating point
    • batch file arithmetic
    • batch file math
  • 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