Jump to content

Blank Page (Error 500) On Statistics Page


jerrry

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.

Link to comment
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
Link to comment
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 :(

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 5 weeks later...

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!

Link to comment
Share on other sites

  • 6 months later...

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;

}

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 year later...
  • 5 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...