Giter Site home page Giter Site logo

greenrobotllc / adserver Goto Github PK

View Code? Open in Web Editor NEW
146.0 28.0 45.0 23.95 MB

Intelligently rotate AdSense/AdMob, LifeStreetMedia, and other networks & make more money. GreenRobot Ad Server is an API enabled yield optimization system for publishers of websites and mobile apps written using PHP Laravel 6.4.

Home Page: https://greenrobot.com

License: GNU General Public License v3.0

PHP 6.12% JavaScript 38.98% CSS 11.76% HTML 39.39% Dockerfile 0.01% Shell 0.03% SCSS 0.05% Blade 3.67% Procfile 0.01%
php adserver adsense admob greenrobot-adserver

adserver's Issues

Can't add AdSense Ad Code

The error is that zone is empty. But it is not.
I can't paste exact message because I inserted code manually in database. Now when I click on AdSense Ad Code I'm getting exemption:

in AdsenseController.php (line 62)

at HandleExceptions->handleError(8, 'Trying to get property of non-object', 'www/test/adserver/app/Http/Controllers/AdsenseController.php', 62, array('data' => object(Collection), 'zones' => object(Collection), 'adsense_zones' => object(Collection), 'zones_tablename' => 'ad_zones', 'zone_mapping_tablename' => 'ad_zone_mappings', 'value' => object(Adsense), 'key' => 0, 'temp' => null))in AdsenseController.php (line 62)

How to run this code?

Can you give a small walkthrough on how I can actaully get this code running? I compiled everything and followed the instructions. Do I then need to migrate this code into apache webserver html root.

Internal Server Error

Hi,

  1. What is Current Version of adserver where i can see ?

  2. Getting Following Error on master

app/Http/Controllers/AdInfoController.php

ErrorException in AdInfoController.php line 94: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

app/Http/Controllers/AdInfoController.php

ErrorException in AdInfoController.php line 94: file_get_contents(https://app.mopub.com/reports/custom/api/download_report?report_key=&api_key=&date=2017-04-15): failed to open stream: HTTP request failed! HTTP/1.0 422 Unprocessable Entity

System
PHP 5.6
Apache/2.2.31 (Unix)

PHP Fatal error: Uncaught Error: Class 'Illuminate\Foundation\PackageManifest' not found

when i run php composer.phar install it shows that as below:

Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files

php artisan clear-compiled
PHP Fatal error: Uncaught Error: Class 'Illuminate\Foundation\PackageManifest' not found in /home/work/Code/adserver-master/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:181
Stack trace:
#0 /home/work/Code/adserver-master/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(151): Illuminate\Foundation\Application->registerBaseBindings()
#1 /home/work/Code/adserver-master/bootstrap/app.php(15): Illuminate\Foundation\Application->__construct('/home/wor...')
#2 /home/work/Code/adserver-master/artisan(18): require_once('/home/wor...')
#3 {main}
thrown in /home/work/Code/adserver-master/vendor/laravel/framework/src/Illuminate/Foundation/Application.php on line 181
Script php artisan clear-compiled handling the post-install-cmd event returned with error code 255

Required PHP version is ^7.1

On composer install result is:
Your requirements could not be resolved to an installable set of packages.

Problem 1
- doctrine/annotations v1.5.0 requires php ^7.1 -> your PHP version (7.0.22) does not satisfy that requirement.
- doctrine/annotations v1.5.0 requires php ^7.1 -> your PHP version (7.0.22) does not satisfy that requirement.
- Installation request for doctrine/annotations v1.5.0 -> satisfiable by doctrine/annotations[v1.5.0].

You have to update readme :)

Failing to run one of the docker containers

Hi,

I am trying to run the adserver using the centos method(for production I'm using redhat8 on aws), I have installed phpmyadmin, mysql, mariadb, with nginx.
I follow all the instructions but when I get to running the containers (docker-compose up -d nginx mariadb) it gives a error:
"The command '/bin/sh -c set -xe; apt-get update -yqq && pecl channel-update pecl.php.net && apt-get install -yqq apt-utils libzip-dev zip unzip && docker-php-ext-configure zip --with-libzip && docker-php-ext-install zip && php -m | grep -q 'zip'' returned a non-zero code: 100 "
I'm not sure what i am doing wrong and if there any other way of building it?

Thank You

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.