PHP Fatal error: Class ‘DOMDocument’ not found in bla..bla..

from the tail -f /var/log/httpd/error

[Tue Mar 10 16:01:30 2009] [error] [client 127.0.0.1] PHP Fatal error: Class 'DOMDocument' not found in /home/namran/src/....php on line 15, referer: http://...

dom-not-found2

the solution turn out to be

yum install php-xml

complete-php-xml

Related Post

3 Responses

  1. HawkEYE says:

    Increase Your Google Adsense Earnings – Competitive Ad Filter
    79
    rate or flag this page

    By Mrvoodoo

    Possibly the most important thing you can do to increase your Adsense earnings:

    Now there are many things you can do in order to fully optimise your web content in order to reap maximum Adsense revenue from your online work. Write quality content, good SEO strategies, link building, getting involved in social media, etc etc. all of which are extremely important in increasing your online earnings.

    However, just as important as writing quality content and spending days/weeks/years finding ways in which to bring in traffic to your site is to take full advantage of that traffic once it’s reached your content.

    Making the most of what you’ve got:

    There are a number of techniques through which you can increase your click through rate and Adsense earnings, the most important being through making your Adsense ads more appealing to visitors. This can be done through optimising Adsense unit placement, e.g visitors are far more likely to click on an ad unit placed above the fold of the screen (i.e. before a user needs to scroll down to read more) then an ad unit say at the bottom right of the screen. Another method of increasing the Adsense click through rate (CTR) and Adsense earnings is through ad unit colour palette optimisation. Successful Adsense units usually follow one of two methods, the Adsense units are blended into the site utilising a similar colour palette to the site itself, or they may use a completely contrasting colour palette, in order to make the Adsense ad units stand out from the rest of the content.

    But possibly the most important method through which to increase your Adsense CTR and Adsense earnings; is through taking full advantage of the Adsense competitive ad filter.

    Designed to enable Adsense publishers to block adverts advertising their competitors the Adsense competitive ad filter allows any Adsense publisher to block any unwanted ads from appearing within their content simply be typing in the URL or web address of the offending ad.

    Why is this useful?

    Let’s say that I’d created a website or written a Hubpage, etc. about PC file extensions, lots of people were searching for the file extension information I’d published, and with a few links built I had a fairly decent amount of traffic coming in. However despite all this traffic I had an extremely low click through rate and wasn’t making much money at all, why?

    After a few visits to my site I noticed that most of the ads being served to my content were for things like ‘loft extensions’ and ‘ring-binder files’, things that were totally unrelated to the needs of my visitors. Google Adsense works contextually, which means that it searches your content for the most common words or themes, compares that to its database of advertisers, and serves up ads accordingly.

    It’s possible that an ad for a loft extension might have a higher click through value than an ad for a file extension utility, but the chances of anyone currently searching for file extension information clicking on it are slim. By making the ads that appear within your content as relevant as possible you will surprised at how much this can increase your CTR and Adsense earnings. By spending just a few days visiting one page with relatively good traffic and blocking the irrelevant ads I managed to increase Adsense earnings from that page ten-fold.

    So how do I go about doing this?

    In order to increase your Adsense CTR and adsene earnings by using the competitive ad filter you first need to take note of which ads you would like to block. Visit your site/page/hub/etc. and see what’s being displayed within your content.

    Biting the hand that feeds you:

    ‘IMPORTANT’ – Never ever click on your own ads, this is the number one guaranteed way to get booted from the Adsense program, you are not smarter than Google, you will be caught, and once you’re out there is very little you can do to ever get back in.

    So jot down the URL or web address of the adverts publisher if you can see it or if you can’t:

    – Right-click on the ad title and select either ‘copy shortcut’ (using Internet explorer) or ‘copy link location’ (using Netscape).

    · Open a text editor, such as Notepad, and paste the selection into the text editor. To paste, select Paste from the text editor’s Edit menu.

    · The destination URL of the ad is the text between ‘adurl=’ and ‘&’. As an example, the copied URL will appear as follows (the example has been shortened with ellipses):

    http://pagead2.googlesyndication.com/pagead/adclick?sa=l&(…)&adurl=http://www.blogger.com/signup.g&client=

    or

    http://www.googleadservices.com/pagead/adclick?adurl=http://www.blogger.com/signup.g&sa=

    The destination URL in the examples above is http://www.blogger.com/signup.g

    How to use the Adsense competitive ad filter:

    Now that you know the URLs of the Adsense publishers you’ve decided to block you need to visit your Adsense account and log in. Next click on the tab at the top named ‘Adsense setup’, just below the main tabs you will find a link titled ‘competitive ad filter, this is what you’re looking for so click it. You will now find yourself faced with some brief instructions and a large textbox within which you can enter the URLs of those unwanted ads. You do not need to include the ‘www.’ Part of the URL i.e. instead of entering ‘www.liftextensions.com’ you would simply enter ‘liftextensions.com’.

    Enter the URLs of the ads you want to block and then click on ‘save changes’, it will usually take a few hours or so before the unwanted ads begin to vanish from your site, but once they’ve gone, in theory, and usually in practise, you should be left with far more relevant targeted ads which will in turn increase your Adsense click through rate and Adsense earnings.

    To fully optimise on this strategy to increase your Adsense earnings it is worth revisiting your site/content every couple of days or so just to see what’s being displayed, and if necessary block ads that aren’t relevant.

    · It is important to consider your entire portfolio of online content when utilising the competitive filter method to increase your Adsense earnings. Do not block ads for say ‘cheap holiday flights’ if for some reason they mistakenly appear on a low traffic page, if you have a high traffic page elsewhere about bargain holidays abroad. Blocking an ad using the Adsense competitive ad filter will block that ad from appearing across your whole online content portfolio.

    http://hubpages.com/hub/Most-Important-Thing-You-Can-Do-To-Increase-Your-Google-Adsense-Earnings-competitive-ad-filter

    Reply
  2. HawkEYE says:

    AdsBlackList.com is a unique project designed to enable you to dramatically reduce the amount of MFA (made for ads) and LCPC (low cost per click) sites which appear through the use of PPC systems such as Google Adsense™, Yahoo Publisher Network™ and Chitika eMiniMalls™

    http://www.adsblacklist.com/

    Reply
  3. green coffee extract weight loss says:

    Oh my goodness! Amazing article dude! Thanks, However I am
    encountering problems with your RSS. I don’t understand the reason why I cannot join it. Is there anybody else having similar RSS issues? Anyone that knows the answer will you kindly respond? Thanks!!

    Reply

Leave a Reply to khyox Cancel reply

Your email address will not be published. Required fields are marked *