Showing posts with label IT Tips and Tricks. Show all posts
Showing posts with label IT Tips and Tricks. Show all posts

Saturday, April 23, 2011

Strict Standards: Non-static method JLoader::import() should not be called statically

Strict Standards: Non-static method JLoader::import() should not be called statically




SOLUTION:

open the "php.ini" file in the EasyPHP-5.3.3.1/conf_files/ and make the changes below:


1) change
Code:

Kod:
error_reporting = E_ALL | E_STRICT

by
Code:

Kod:
error_reporting = E_ALL & ~E_STRICT


2) change
Code:
Kod:
display_errors = On

by
Code:
Kod:
display_errors = Off


Warning : Be sure your error_reporting and display_errors variables are the last one to be read in the php.ini file, else yours could be overwritten by default values.
Furthermore, you can leave var $error_reporting = '-1'; unchanged in joomla configuration.php

Thursday, February 10, 2011

Fatal error: Call to undefined method stdClass::onDisplay() in /home/

Fatal error: Call to undefined method stdClass::onDisplay() in /home/zomipost/public_html/libraries/joomla/html/editor.php on line 268

This error in Joomla will solve by replace the code as follows:

Go to root directory, libraries\joomla\html\editor.php

In line 261 replace

In original file replace this
// Try to authenticate
$result[] = $plugin->onDisplay($editor);
with, this one

// Try to authenticate
if (method_exists($plugin, 'onDisplay')) {
$result[] = $plugin->onDisplay($editor);
}

This should solve the problem. If still persists, disable the editor from the plugin in domain.com/administrator/

Tuesday, January 18, 2011

jUpgrade

jUpgrade is a simple Joomla 1.5 component that will download a version
of Joomla 1.6, decompress it and install it. After that, it should
migrate all of the data from old Joomla 1.5 to the new Joomla 1.6
installation.

Requirements

  • PHP 5.x
  • Curl module of PHP enabled
  • Joomla 1.5
  • A Browser with Javascript/jQuery support

Migrations supported:

  • Banners - 100%
  • Categories - 90%
  • Contacts - 100%
  • Content - 90%
  • Menus - 50%
  • Modules - 50%
  • Newsfeeds - 100%
  • Users - 95%
  • Weblinks - 100%
  • Templates - 20%

Migrations in development:

  • 3rd party extensions support

3rd party extensions:

Documentation comming soon.

Compatibility


Firefox Internet Explorer Opera Chrome
Linux Yes
? Yes
Windows Yes No ? ?

Download

Latest develpment version v0.5.2

http://matware.com.ar/downloads/joomla/jupgrade.html

Installation

When you get the file, you need to login on the administration of our Joomla 1.5 and then you will need to go to the installation menu.

Later we need to selected our downloaded file to begin the installation.

The steps to test it

1) Install the component in your Joomla 1.5 site.
2) Run the upgrade

Migrating from Joomla 1.5 to Joomla 1.6

From Joomla! Documentation

Jump to: navigation, search

With Joomla 1.6 officially released, there have been a lot of questions as to how to migrate or upgrade to Joomla 1.6 from 1.5. This guide will take you step-by-step through the general procedure of how to migrate to Joomla 1.6. Please read through all the material as this is not a light undertaking.

Contents

[hide]

Before Upgrading

Don't let the numerical closeness of 1.5 and 1.6, mislead you. Joomla 1.6 took three years to develop and has been a major undertaking. Countless hours have been spent by many volunteers from around the world to put it all together. Although much of the code is the same from Joomla 1.5, much of it has been written from the ground up, and the changes are comparable to the changes from Joomla 1.0 to 1.5. Because the changes from Joomla 1.5 to 1.6 are so large and because of the massive effort put into getting Joomla 1.6 to where it is today, there is no core upgrade path, this is indeed a migration. In planned future releases of Joomla (which will be released every 6 months), such as Joomla 1.7, 1.8, etc, the changes from version to version will be more incremental and a core upgrade path is planned. Now that Joomla 1.6 is finally here and stable, a community initiative led by the developers of Joomla is turning towards jUpgrade (a 3rd party Joomla extension on the JED originally developed by Matias Aguirre) for help and to help. Many of Joomla's developers (who are all volunteers that freely contribute their time) are volunteering to put the finishing touches on jUpgrade.

jUpgrade allows you to migrate from Joomla 1.5 to 1.6. Lets get started!

Review the Requirements

Please, please save yourself (and possibly your clients) a lot of headaches and make sure that your server (and in the case of jUpgrade, your browser too) is up for the task. please review the technical requirements for Joomla! 1.6. Please review the requirements for jUpgrade as well.

Before You Get Started

Before you get started, there are a few things that you are going to have to check and/or think about:

  1. Is your Joomla 1.5 version up to date? At the time of the writing of this tutorial the most up-to-date version of Joomla 1.5 is 1.5.22. Much of the testing of the migration has been done from Joomla 1.5.22 to Joomla 1.6. If your version is not up-to-date you should probably upgrade to 1.5.22 before migrating, especially if you are running Joomla 1.5.11 or lower. Please see the tutorial on upgrading.
  2. Do all your extensions have Joomla 1.6 native versions? At the time of the writing of this tutorial there are 108 available on the JED. Please note that jUpgrade is not currently able to upgrade Joomla 3rd party extensions, so those will have to be done via their respective upgrade procedures. This is however a work in progress.
  3. Have you modified any core files? Any changes that you have made to core files in Joomla will be lost so please be forewarned.
  4. Is there a Joomla 1.6 compatible template available from your template provider? If not, do you feel comfortable making the changes yourself? There are a couple good resources:
    1. Chad Windnagle's Joomla Community blog
    2. Chris Davenport's "Template Changes for Joomla 1.6" presentation
    3. Joomla's Docs Template Tutorial Please note that although jUpgrade is not able to currently upgrade templates, the developers are working hard at implementing the feature.
  5. Is your language pack available in Joomla 1.6? Find your Joomla1 1.6 Translation.
  6. Do you have folder or file permissions issues in your Joomla 1.5 installation? Tutorial on Folder & File Permissions
  7. Do you NEED to migrate to Joomla 1.6? Joomla 1.5 is powerful and very mature. For many people there is not a need to rush into Joomla 1.6. Joomla will continue to support Joomla 1.5 for at least another year and three months, releasing security updates and bug squashing updates when needed.

The two main features of Joomla 1.6 that makes it superior to Joomla 1.5 are: Access Control List (ACL) and nested categories. Gone are the days of simply having guests, registered users, authors, and editors, without being able to specify what they can and can't do in the frontend. Also, with 1.6 you can have more flexibility of organizing (and therefore displaying) your content with nicely organized categories within categories. No more being restricted to the section >> category structure. Those are all great things to have (especially the ACL), however, for many 1.5 users, it isn't needed. The main point is to decide for yourself:

Backup, Backup, Backup

Skipping this part is perhaps the biggest mistake you can make. If you have a proper backup (or several) you can always revert back if needed. However, if you don't properly backup your site and something goes wrong, you are going to waste a lot of valuable time, and sometimes a lot money, getting things back to the way they were. So please backup! If you don't know how, please see steps 1 through 5 here: http://www.ostraining.com/blog/joomla/how-to-move-a-jomla-site-from-local-to-live-server/

Upgrading

Download jUpgrade

Download the latest version of jUpgrade.

alt=Download jUpgrade

Optional Testing Environment

If you are really nervous by this point and your heart is beating fast, then you should probably set up a testing environment. You can follow this tutorial to make a copy of your site to test on your localhost or another remote server: http://www.ostraining.com/blog/joomla/how-to-move-a-jomla-site-from-local-to-live-server/

Install jUpgrade

Go to your Joomla backend. e.g. www.yoursite.com/administrator

Extensions >> Install/Uninstall

alt=Installing jUpgrade

Browse >> Select com_jupgrade >> Upload File & Install

alt=Installing jUpgrade

Migration

Components >> jUpgrade

alt=Access jUpgrade

Start Upgrade

alt=Start jUpgrade

alt=Run jUpgrade


Do not exit the screen until everything has finished loading. Scroll down to check if finished.

alt=jUpgrade Finished

Success!!!

Behind the Scenes

As explained in the background information, the changes from Joomla 1.5 and 1.6 are quite significant. The fact that jUpgrade creates a new Joomla 1.6 installation for us is, in my opinion, pure genius. If the migration process was not 100% successful, your Joomla 1.5 is still perfectly intact and none of your users are affected. You have an opportunity to check out your site both in the frontend and the backend to make sure everything is up to par. So what actually happens? jUpgrade downloads the latest version of Joomla 1.6 for you to the jupgrade directory (which it creates) in the root folder of your Joomla 1.5 installation. It then extracts all the files from the download. Once extraction has completed, jUpgrade installs Joomla 1.6 and then proceeds to migrate your old database to the new Joomla 1.6 database which it has created. Your Joomla 1.6 site will be installed in www.mysites.com/jupgrade assuming that your Joomla 1.5 installation is in your html root.

Check Your Joomla! 1.6

Please do a full site review of your Joomla 1.6 installation and make sure everything is set up properly. Your Joomla 1.6 site will be installed in www.mysites.com/jupgrade assuming that your Joomla 1.5 installation is in your html root. Here is a general checklist to check:

  • Banners
  • Categories
  • Contacts
  • Content
  • Menus
  • Modules
  • Newsfeeds
  • Users
  • Weblinks
  • Templates - Work is currently being done on the template upgrade feature of jUpdate and it is not yet fully functional. Your module positions may have to be adjusted in module manager.

Backup Joomla! 1.6

If everything looks good to go, then let's backup the new Joomla 1.6 installation. You can follow this tutorial: http://www.ostraining.com/blog/joomla/how-to-backup-a-joomla-16-site/

Overview of the Rest of the Process

Quick overview of what we are going to try to do now:

  1. Relocate our Joomla 1.5 installation to a subfolder as a "just in case".
  2. Relocate our Joomla 1.6 installation to the html folder.

'It should happen in this order' If you do it in reverse order, the Joomla 1.6 files will get mixed with the Joomla 1.5 files (many of 1.5 files will be overwritten) and you will have a big mess! Your site will likely still work, but it's a security ticking time bomb waiting to go off.

Going Live

Next log onto your host's file manager (e.g. cPanel, Plesk, etc) or an FTP Client, however, preferably a file manager. The general procedure is (it should take about 30 seconds if you review the steps before you start):

  1. Create a subfolder (e.g. myoldsite) for the Joomla 1.5 installation in your html root, e.g. public_html/myoldsite
  2. Select all the folders (***except the jupgrade folder***) and files in the html root and move them into the Joomla 1.5 subfolder (e.g. myoldsite)
  3. Select all the folders and files in the jupgrade folder and move them to the html root
  4. Double check the frontend and backend

You can use this tutorial to guide you through the process: http://www.ostraining.com/blog/joomla/move-a-joomla-site-from-test-directory-to-live/

Troubleshooting

How You can Contribute & Help

Creating an extension as significant as jUpgrade requires an enormous amount of time and effort considering the major structural changes between Joomla 1.5 and 1.6. Add to this the fact that during each release of Joomla 1.6 betas, the extension would have to be modified to work with the new changes between releases, and all of a sudden it's too hard for any one person to complete in a short period of time (especially when you are not being paid). With this being said, it's time to step up and make a difference, whether big or small. Have you profited from Joomla in the last year? Are you excited about the future of Joomla? Would you like to contribute back and show your gratitude? Now you can in this project! We, as part of the Joomla community, are calling on the entire Joomla community to help out in whatever way you can. You don't have to be a master developer, just go through this tutorial on a test site and if you come across any bugs, report it. If you know how to fix it, create a patch for it. If you are a master developer, step up to the challenge.

Monday, January 17, 2011

Gmail POP/ SMTP Setup

One of the biggest advantages of using Gmail for me has been having the capacity to have all my email accounts coming into the one spot, which I can access from anywhere that has internet access!

Gmail’s Mail Fetcher can download messages from up to five other email accounts, centralising all your email in Gmail. I have created some step by step instructions with screen images to take you through how you can set up Gmail to fetch email from your other email accounts.

Step 1


Once you have logged into your Gmail account, click on Settings in the top right hand corner.

Step 2


In the Settings menu you have a number of options to choose from. Click on Accounts.

Step 3


From the options in Accounts, select Add another email address.

Step 4


Enter the email address that you want Gmail to fetch mail from.

Step 5


You will need to enter the password to your other email account where the green arrow is pointing. Gmail will fill in most of the information for you on this screen. Depending on what type of email account you are fetching email from, you may need to change the information highlighted with the red arrow.

Step 5


The next screen should say that your mail account has been added. If you want to send emails as well from this account. It is essential that you click yes as indicated by the green arrow and follow the next steps.

Step 6


Enter the name that you would you would like to appear when you send emails from this account.

Step 7


Gmail will need to verify that you own the account which you are adding. Click on Send verification. This will send an email to the account that you are trying to add to Gmail.

Step 8


Check your email account for the verification email. Once received you will have two options:
(1). Click on link in email.
(2). Enter code from email. (In the image above I have entered the code.)

Step 9


Gmail should then take you back to the Accounts tab under the Setting options as illustrated above.

If you have set up Gmail address to move your email account on line and want to still use your other email account as your main email account, you will need to change the default settings.

The green arrow above is pointing to the Make default function. Click that option to make your added account the default email address from which you will send email.

Step 10


If you have multiple email accounts that you use regularly, I recommend checking the radio button highlighted by the green arrow. This will ensure that replies that you send to people will come from the same address the message was sent to.

And that is it! You now have your emails coming into the same place, have a fantastic spam filter in operation and have massive amounts of storage space.

Sunday, December 19, 2010

admin/functions.php on line 1001

Parse error: syntax error, unexpected T_STRING in /home/username/public_html/admin/functions.php on line 1001



If you ever experience this error to login in to the admin area of php melody, just delete the error line and it should work fine.

Saturday, December 26, 2009

Windows 7 google update installation failed with error 0x8004071c

If this problem is encountered in Windows 7 for Google Chrome/ Earth installation, the following would solve the problem.

Error code:
Windows 7 google update installation failed with error 0x8004071c

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\State

modify 'ImageState' deleting the value would solve the problem.

Friday, June 12, 2009

Zawgyi: Burmese font in blogs and websites

The following code is to implement in the code for a web site.


@font-face {

font-family: Zawgyi-One;

src: url(zawgyi.ttf) format("truetype");

Friday, March 06, 2009

Best Application Launchers


Your Start menu and Applications folder are growing larger and harder to navigate every day, but with a solid application launcher at your side, you'll never notice. On Tuesday we put a call out for your favorite application launchers, and over 400 spirited comments later, we've pulled out the five most popular. Take a look at the time-saving app launchers that made the list, and then cast your vote for the one app launcher to rule them all.

Launchy (Windows)

Launchy is best known for its lightning-fast indexing and searching. In its youth it was an application and document launcher only, but it now sports more interesting features and plug-ins, integrating with your bookmarks, the command line, and more. Some users still prefer Launchy 1.25's lighter footprint, but it doesn't seem to throw off their love of Launchy. If you're a dedicated Launchy fan but you're only using it for app launching, check out how you can take Launchy beyond application launching.

Quicksilver (Mac OS X)

Mac OS X-only Quicksilver is the original application launcher and-then-some, with a huge repository of plug-ins designed to take Quicksilver well beyond traditional launching. Its impressive feature-set has inspired numerous features on this site along with a handful of wannabes. Although Quicksilver's future may be bleak, countless users are still keeping their hands firmly planted on the keyboard with Quicksilver every day.

Find and Run Robot (Windows)

Despite a very small memory footprint, the Windows-only Find and Run Robot (aka FARR) is probably the most customizable Windows app launcher available. FARR features a fast, responsive live search and is extensible through a handful of open-source plug-ins (including a clipboard monitor, live calculator, and application manager by default and many others available). Some first-time users may find FARR's more advanced features difficult to grasp, but finding and launching files and applications with FARR is a breeze. (read more)

GNOME Do (Linux)

Inspired by Quicksilver (as you can tell from its looks), GNOME Do brings application launching to Linux like none other. GNOME Do can launch apps, manipulate text, integrate with your music player, and oh so much more. It's relatively young, but GNOME Do has quickly developed a robust set of features and found an integral place in many a Linux toolbox. (original post)

RocketDock (Windows)

The Windows-only RocketDock is the only non-keyboard-based application launcher to make this Hive Five. In essence RocketDock is very much like the Mac OS X Dock; you can minimize applications as thumbnails, launch or close apps, and entirely replace your traditional Start menu and taskbar workflow. What you see above is the out-of-the-box configuration, but RocketDock has pages of user-submitted skins and add-ons. (original post)

Now that you've seen the five most popular application launchers, it's time to crown a best:

Gawker Media polls require Javascript; if you're viewing this in an RSS reader, click through to view in your Javascript-enabled web browser.




spotlight.pngHonorable mention goes out to Spotlight in Leopard and the new Vista Start menu. Improved search speed has many users abandoning Quicksilver in favor of Spotlight, while Vista's Instant Search finally integrates desktop search directly into Windows.

Whether or not your favorite app made the list, let's hear more about the launcher you love in the comments.

Wednesday, February 04, 2009

How to use my camera mobile phone as webcam?

How to use my camera mobile phone as webcam?



With the help of WWIGO (Webcam Whereever I Go) software available free of cost from http://www.motvik.com/ it's simple to use your camera phone as a webcam.

WIWIGO is a free software that allows you to use your camera mobile phone as a webcam over the bluetooth connection between the mobile phone and the computer. It gives better video quality than any average webcam, is compaitable with all applications that you would generally use your webcam for and if FREE.

All you need is a camera phone with bluetooth, a desktop or laptop with bluetooth and WWIGO s/w on your mobile and computer.

To know more about WWIGO go to about WIWIGO page here : http://www.motvik.com/about-wwigo.php

To see a list of supported camera mobiles that can be used as a web camera with the help of WIWIGO s/w and to download WIWIGO "mobile camera/webcam" software visit this page : http://www.motvik.com/download.php

Monday, September 08, 2008

Yahoo! Warning Update Account

Dear Friends,

There are quite a few reasons why this must be spam and scam because:

1. Yahoo Inc. Never and will never use email such as bot@yahoo.com or yahoomail.com.
2. The company will never inform you to update your password because password renewal policy is not included in your Terms of Service (TOS).
3. They already have your personal iformation and there is no way they will want you to update them unless you have sent out so many spam and recieved complaint by others- in such cases they will not deal things easily but with a few phone call and verfication process.
4. If this e-mail would be true, they will provide you with full address along with active phone number (you can try out before doing anything).
5. If this information is official and true, they will post and announce on yahoo.com website or somewhere officially.

The list goes on and on...
However, by simply looking at the above facts, one can certainly say that it is (the attache email) is spam.

Wishing the best for the Zomi!

Tg. Sianpu
ZOCIA Network

===
On 9/7/08, guite james <tguitejames@yahoo.com> wrote:
Dear members,
I got this the following e-mial, look like legitimate mial from yahoo customer service. If any boby got this kind of e-mial please let me know whether it's real or not. I really believe that it's one of the e-mial scam but not quite sure.
It's seem longtime a go I got this kind of e-mail, but I just ignored it then..nothing happen. In case if you got his kinds of e-mial and if u r not sure just ignore it. Better not to reply otherwise you might lose your identity.

James Thang Guite--- On Sat, 9/6/08, Yahoo! <mailbot@yahoo.com> wrote:
From: Yahoo! <mailbot@yahoo.com>Subject: Yahoo! Warning Update AccountTo: Date: Saturday, September 6, 2008, 9:23 PMDear Yahoo Mail User,
This Email from Yahoo Customer care Should be read carefuly,You most folow
the guide lines below for safty and security of your Yahoo Email Account. we are
having congestions due to the anonymous registration of yahoo accounts so we are
shutting down some yahoo accounts and your account was not active in our
database.If you are still operating this Account please confirm your account by
filling the space below. Your User name,password,date of birth and your country
information would be needed to verify your account.

Due to the congestion in all Yahoo users and removal of all unused Yahoo
Accounts, Yahoo would be shutting down all unused Accounts, You will have to
confirm your E-mail Immediately or your account will be suspended within 24
hours for security reasons.

* User name: .................................
* Password: ..................................
* Date of Birth: .............................
* Country Or Territory: ......................
* Enter Verification Number (F9HK11J).........

After following the instructions in the sheet, your account will not be
interrupted and will continue as normal. Thanks for your attention to this
request. We apologize for any inconveniences.

Warning!!! Account owner that refuses to update account after two weeks of
receiving this warning Account will be closed permanently.
Sincerely.
Yahoo! Account Service.
Customer Care
www.yahoomail.com

Thursday, August 14, 2008

Fireboard Full Page Width







After searching for weeks on making Fireboard full width across my template, and trying all the suggestions posted on various forums, I gave up.

I called in reinforcements, in form of my Computer Superhero Hubby.

Here is what I did before he found the answer to all my problems.

- I headed to the Extensions -> Modules.

- I took all the menus that were in the Forums section and checked them off. This is done by going to each menu and choosing where you want your menu to appear. You can choose more than one area by holding down the Ctrl button.

- I loaded my Fireboard forum. It was still stuck on the right side, no menus in sight.

When my hubby took hold of the computer, he found it in about half an hour. This means that I would *never* have found it. With one simple line of code, he fixed my Fireboard.

- go into the Fireboard CSS (Cascading Style Sheet). It is accessed through the Fireboard name "Edit CSS File".

- add this line right after the information at the top:

#fireboard { padding:0 5px; width:933px; margin-left: 0px;}

The width could change depending on your template, so you might need to play around with it.

Change the number "933" to something that would be approriate to your template.

If you are unsure, load it up with different scenarios on a test site. You should be able to make it work!

Basically, your Fireboard CSS should look something like this now: ( I highlighter in red the extra line)

/**
* Fireboard Component
* @package Fireboard
* @Copyright (C) 2006 - 2007 Best Of Joomla All rights reserved
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.bestofjoomla.com<>
**/
#fireboard { padding:0 5px; width:933px; margin-left: 0px;}
/* ======= */