Translate

Codeigniter common.php reference error on line 257

Codeigniter is one of the top development frameworks you can find for PHP. CI provides a combination of powerful web applications development features with a very small footprint.

If you are running Codeigniter 2 and recently upgraded to latest PHP version (PHP 5.6.0+ and Apache 2.0+), you have definitely come across the error shown below.

How to update PHPMyAdmin

PHPMyAdmin
PHPMyAdmin is a stand alone software package written in PHP to manage MySQL over a web interface. PHPMyAdmin supports a wide range of operations on MySQL, MariaDB and Drizzle. Frequently used operations (managing databases, tables, columns, relations, indexes, users, permissions, etc) can be performed via the user interface, while you still have the ability to directly execute any SQL statement

Codeigniter and PHPStorm code auto completion

PHPStorm
PHPStorm is one of the best IDEs you can find in the market today. It provides a waste range of features for rapid development and supports range of technologies and frameworks. Over the years Codeigniter support have been shaken in PHPStorm for some reason, perhaps an oversight. Specially when its come to code completion support. You can clearly see this after Codeigniter 1.7. There is zero code completion support for Codeigniter 2.x version in latest PHPStrom. After some research, we have come up with a minor hack to fix this problem.

How to Install Wine on Ubuntu

Wine
Over the past years Ubuntu gain more and more ground in the tech world from servers to desktop usage, recently in hand held technology. Given the popularity of Windows and vendor support there were large number of programs developed that can run on Windows platform which unsupported by *nix system like Ubuntu. Thanks to Alexandre Julliard , a program called Wine was born out of necessity of *nix world, which can run many of the Windows vendor applications.

Wine (short for Wine Is Not an Emulator) is a free and open source compatibility layer software application that aims to allow applications designed for Microsoft Windows to run on Unix-like operating systems. Wine also provides a software library, known as Winelib, against which developers can compile Windows applications to help port them to Unix-like systems.

How to toggle title bar in Firefox

Internet options in Firefox
The Mozilla Firefox project was created by Dave Hyatt and Blake Ross as an experimental branch of the flagship Mozilla browser. Ever since the initial release of Firefox back in 2009 the current version of Firefox (31.0) has evolved to reach extraordinary heights in terms of user experience and functionality.

What with this recent release of Firefox (version 31.0) having major changes in its user interface, users seem to be finding it difficult to locate the newer, fresher features over Firefox, both major and minor ones.

How to create a setup wrapper with Microsoft Visual Studio

In our previous post we talked about how you could create a Windows Service and generate an executable for it. However, as the install/uninstall process was a bit too lengthy and required substantial technical knowledge, here’s a simpler solution that consists of a setup process within one easy click for the same executable (in GUI style).

Please note: if you are using Visual Studio 2012 or any one of its later editions, you need to include the Install-Shield Express edition over your current Visual Studio as an add-on. You can click here to register and download this version of Install-Shield Express.

Also, please make sure that your current Visual Studio is updated with update 2 or a later edition.

VS 2012 Add Setup for Windows Service

Starting off, fire up Visual Studio and open the PHPWinService project that we had created previously.
In the Solution Explorer pane, right-click on Solution 'PHPWinService'(this shall be listed over here) and proceed to > Add > New Project.
Now you should be able to see the 'Add New Project' window's pop-up: here, search for 'Setup and Deployment' from the query option or locate it manually under - Other Project Types > Setup and Deployment > InstallShield Limited Edition Project.
Once you find it, name it as PHPWinServiceSetup and click OK.

How to create a Windows Service to run scripts using C# | Part 3

How to create a Windows Service to run scripts using C# | Part 3
Today we are going to talk about how to manually install our service.

Installing services using installutil.exe

installutil.exe is an application bundle under .Net framework which is used to install Windows Services, installutil.exe can be accessed via a Visual Studio command prompt.

To do this: Open the Visual Studio command prompt, type installutil and hit enter. Once you do so, you should see an output as below – if so, installutil.exe is successfully functioning.

installutil for windows service

How to create a Windows Service to run scripts using C# | Part 2

How to create a Windows Service to run scripts using C# | Part 2
Now that PHPWinService is complete, we need to move on to next steps. Let's take a look at task.bat(last article we promised you, we will take a look at service manual installation/uninstalltion process, before that let's take a look at the batch process and php script).


task.bat

Fire up your favourite text editor and create a file call "task.bat". Add below code to the file and save the file to root of C: drive.
@echo off
cd\
set path=c:\xampp\php;
cd "c:\"
php win.php
exit
I won’t be going into in-depth detail about the specifics involved in creating a batch file, and will only explain so very briefly.

How to create a Windows Service to run scripts using C# | Part 1

How to create a Windows Service to run scripts using C# | Part 1

In this article, I will be discussing as to how you could run a script as a Windows Service. Till now, I am sure you may have encountered certain situations where you will want to run a script periodically for a database update, API call etc. While this can be achieved using Cron Jobs in Linux, there are 2 ways to do this in Windows – either by using Windows Task Scheduler or by creating a Windows Service.

Here onwards this article will explain how you can use C# to create a Windows Service that will call a batch file and execute a PHP script. By using this, you can run any scripting language like PHP or a program.

Let’s jump right into coding, then!

CSS 3 borders | border-radius

CSS 3 borders | border-radius
In this article, we are going to talk about CSS 3 border properties. There are 3 main CSS elements when it comes to borders, as mentioned below:

border-radius
box-shadow
border-image

Nerdcore is a free tutorial website about latest technological development, designing and programming. Nerdcore have tuts for all skill levels in web, desktop and mobile application development. Tuts and courses we provided are carefully crafted by expert developers and designers from www.waan.it