Tag Archives: source

Revive Adserver – Free Open Source Ad Server

Introducing Revive Adserver

The Free Open Source Ad Server formerly known as OpenX Source

About Revive Adserver

Revive Adserver is a free open source ad serving system that enables publishers, ad networks and advertisers to:

  • Serve ads on websites, in apps, and in video players, and collect detailed statistics about impressions, clicks and conversions
  • Manage campaigns for multiple advertisers and from ad networks all at once, via an easy to use interface
  • Define rules for delivery of campaigns and ads, including frequency capping, URL targeting, geo-targeting
  • Track and report campaign performance, including click-through rates, conversion rates, revenue, eCPM and conversion details, like basket value and number of items purchased

CodeIgniter, PHP source code not compiled

I’v uploaded a CodeIgniter application from my localhost with Apache to a server running Nginx.
Its works perfectly on my localhost and on other server with Apache.
It’s under a subdomain, an domain and other subdomains are running PHP 100%.
This application in CI doesn’t start, and PHP is returned without being compiled.

This is what I get on /var/log/nginx/error.log:

2013/12/05 14:50:31 [error] 20139#0: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Class 'M_website' not found in /home/webroot/domain.com/cms/system/core/Loader.php on line 303" while reading upstream, client: 84.91.4.220, server: cms.domain.com, request: "GET /websites HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "cms.domain.com"

Why the problem?

CI files were starting with

<?

and not with

<?php

Solution

Had to edit /etc/php5/fpm/php.ini and set short_open_tag from Off to On and restart php-fpm.

service php5-fpm restart

 

This is how I solved it… simple issue to solve.