Jump to content
jerrry

Blank Page (Error 500) On Statistics Page

Recommended Posts

Hi, I'v tried to install a clean version of Revive Ad Server 3.0.2. Everything seems to installed fine, but when I log in and click to "Statistics" page, I see blank page with "500: Internal server error" (this page shows in few other menu items like "Targeting channels", "Banners" or "creating new banner page  :( … etc. Can you please help me, because I don't know where is the problem.

Share this post


Link to post
Share on other sites

Here is list from my error log. I tried to contact my hosting provider, but everything seems to be fine, but I don't know why I still receiving Error 500 page :( (I'v changed my original domain to mydomain.com)

Dec 30 09:35:36 pip pound: my.ip.address.xxx GET /www/admin/stats.php HTTP/1.1 - HTTP/1.1 500 Internal Server Error (ads.mydomain.com/- -> 127.0.0.1:5081) 0.200 sec
Dec 30 09:35:37 pip pound: my.ip.address.xxx GET /www/admin/stats.php HTTP/1.1 - HTTP/1.1 500 Internal Server Error (ads.mydomain.com/- -> 127.0.0.1:5081) 0.109 sec
Dec 30 09:40:31 pip pound: my.ip.address.xxx GET /www/admin/stats.php HTTP/1.1 - HTTP/1.1 500 Internal Server Error (ads.mydomain.com/- -> 127.0.0.1:5081) 0.106 sec
Dec 30 09:40:32 pip pound: my.ip.address.xxx GET /www/admin/stats.php HTTP/1.1 - HTTP/1.1 500 Internal Server Error (ads.mydomain.com/- -> 127.0.0.1:5081) 0.106 sec
Dec 30 09:40:42 pip pound: my.ip.address.xxx GET /www/admin/campaign-banners.php HTTP/1.1 - HTTP/1.1 500 Internal Server Error (ads.mydomain.com/- -> 127.0.0.1:5081) 0.108 sec
Dec 30 09:40:43 pip pound: my.ip.address.xxx GET /www/admin/campaign-banners.php HTTP/1.1 - HTTP/1.1 500 Internal Server Error (ads.mydomain.com/- -> 127.0.0.1:5081) 0.173 sec
Dec 30 09:41:36 pip pound: my.ip.address.xxx GET /www/admin/stats.php HTTP/1.1 - HTTP/1.1 500 Internal Server Error (ads.mydomain.com/- -> 127.0.0.1:5081) 0.114 sec

I'v compared Revive AdServer system req. with my server settings and there is nothing wrong too

 

Webserver
Apache with mod_php or any webserver using FastCGI (nginx, IIS 7+, lighttpd, etc.): yes, FastCGI
PHP 5.1.4+, 5.2.x, 5.3.x, 5.4.20+, 5.5.2+: we are using 5.3, can be switched to 5.4 or 5.5
Required PHP extensions: zlib, pcre, xml, mysql and/or pgsql: zlib - yes, pcre - yes, xml - yes, mysql- yes
Suggested PHP extensions: curl and/or openssl, gd, any opcode cache extension (opcache, apc, eaccelerator, xcache): curl - yes, gd - yes
cache extension - not installed on our shared hosting, but is it really necessary?
Apache .htaccess - available
 
Database server
MySQL 4.1+: we are using version 5.x+
 
 
Can I somewhere in Revive AdServer turn on error login? Because when I create a .user.ini file with this content, it's not logging anything
log_errors = 1
error_reporting = E_ALL & ~E_DEPRECATED
error_log = /hosting/www/mydomain.com/ads/error.log

Share this post


Link to post
Share on other sites
Guest

Hi  jerrry ,

 

 

I don't have any .htaccess file in the "root" folder.

 

oh ok , what about your directory permissions

Share this post


Link to post
Share on other sites

Hello, I set these permissions for my clean installation of Revive AdServer

 

CHMOD 777 for

/var 
/www/images
/www/admin/plugins
/plugins

 

 

and 644 for

/var/YourDomainName.conf.php

(double checked)

 

You can check my installation at (link removed :-) ). After log in (as a default manager) try to switch to Statistics tab and you will see Error 500 :(

Share this post


Link to post
Share on other sites
Guest

Hi

 

Yes , I have checked ,  it shows  Error 500: Internal server error

 

your  directory permissions are ok

 

have you  customized anything in

stats.php & campaign-banners.php

else any files related

Share this post


Link to post
Share on other sites

Hello again, our hosting provider found what causes that problem – eAccelerator, so we turned it off on our server and everything seems to be working fine :) yohoo!

Please note that Revive Adserver should work perfectly fine with eAccelerator, my company uses that on the large hosting platform we operate and it works miracles!

Share this post


Link to post
Share on other sites

I've got that error after upgrading to 3.0. It shows almost everywhere, and i cant manage anything anymore.

 

Here is my error log :

[Sun Feb 02 23:42:35 2014] [error] mod_fcgid: process /www/php5.fcgi(778908) exit(communication error), get unexpected signal 11
[Sun Feb 02 23:42:35 2014] [error] [client 94.26.51.195] File does not exist: /site/public_html/openx/500.shtml, referer: http://[website]/www/admin/affiliate-zones.php
] [notice] EACCELERATOR(778908): PHP crashed on opline 59 of _addLimitation() at /site/public_html/openx/lib/max/SqlBuilder.php:36629336

Thanks!

Share this post


Link to post
Share on other sites

Sorry for the late response, this was just coming up in my Google results while I was hunting down the same issue.  So, I'll post my fix for this.

My error logging doesn't work, thanks GoDaddy and the hiding of errors in Revive.

The problem was boiling down to a short piece of code in /lib/OA/Admin/Statistics/Common.php in the function _removeDuplicateParams

The issue coming up was the use of !strstr($link, $value) breaking with their input.   They were taking a foreach loop and iterating.  I just cleaned the code up a bit.  Not sure if strstr is necessary there at all, but it was breaking.  Might need reimplemented at a later time.  Recommendation is replacing with this function, give it a shot.

 

This wasn't a copy and paste since it's on the other screen, but not seeing any typos in my proof read.

 

function _removeDuplicateParams($link) {

if (empty($link)) {

return $this->aPageParams;

}

$aNewParams = array_filter($this->aPageParams);

unset($aNewParams['entity'], $aNewParams['day']);
return $aNewParams;

}

Share this post


Link to post
Share on other sites

Hello, I dont know why i cant make new topic 

so hope this title same wiith me. but when i try access invocation i got error 

500 Internal Error When try access VideoReport 

any advice ?

 

 

Screenshot_1.png

Edited by Gideon

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×