Closed Bug 560991 Opened 15 years ago Closed 15 years ago

captcha image is not loading

Categories

(mozilla.org Graveyard :: Server Operations, task, P1)

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: vish_moz, Assigned: fox2mike)

References

()

Details

STR: Pre-condition: Log out if you are logged-in 1. go to sumo stage http://support-stage-new.mozilla.com 2. go to any forum thread like https://support-stage-new.mozilla.com/en-US/forum/1/650308? Actual result: the captcha image does not load http://screencast.com/t/NzE5M2MyMmIt Host: support-stage-new.mozilla.com User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 115 Connection: keep-alive Cookie: SUMOv1=7jbqhq9dlcrktsl8jalmbht4o4; s_cc=true; s_sq=%5B%5BB%5D%5D; s_vi=[CS]v1|25E7A3970515AE84-4000017120003D06[CE]; SUMOloggedin=true; sessionid=aa17814c27c46c318232722b26e9a10f Authorization: Basic c3VwcG9ydDpzdGFnZQ== Date: Thu, 22 Apr 2010 00:07:50 GMT Server: Apache/2.2.3 (Red Hat) X-Powered-By: PHP/5.2.9 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-cache, must-revalidate Pragma: no-cache Content-Length: 0 Keep-Alive: timeout=5, max=1000 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 Expected result: captcha image should load
We may need IT's help here. 200 OK empty response is not very helpful at: http://support-stage-new.mozilla.com/tiki-random_num_img.php?locale=en-US&1268252656624 And by comparison, this works: http://support-stage.mozilla.com/tiki-random_num_img.php?locale=en-US&1268252656624 For stage-new, I logged in and saw this error: Fatal error: Call to undefined function imagecreate() in /data/www/support-stage-new.mozilla.com/webroot/tiki-random_num_img.php on line 14 Looks to me like (php-)gdlib is missing from the server.
Assignee: nobody → server-ops
Component: Forum → Server Operations
Product: support.mozilla.com → mozilla.org
QA Contact: forum → mrz
Target Milestone: 1.5.4 → ---
Version: unspecified → other
(In reply to comment #1) > We may need IT's help here. The 200 OK aspect is our codebase's misbehavior. Should have clarified that we just need help with installing a missing library on support-stage-new. > Looks to me like (php-)gdlib is missing from the server.
Assignee: server-ops → shyam
php-gd installed, don't think that fixed the issue though.
Still seeing the same message. Maybe you could compare with support-stage (since it works there) and see what PHP libraries are missing from support-stage-new?
FWIW, you could probably check phpinfo() for GD.
[root@mrapp-stage04 ~]# php -m [PHP Modules] bz2 calendar ctype curl date dbase eAccelerator exif filter ftp gd gettext gmp *snipped* The other php packages on mrapp-stage02 have nothing to do with images, so I don't see why they'd be needed. [root@mrapp-stage02 ~]# rpm -qa | grep -i php php-pear-1.7.2-2.rhel5 php-5.2.9-2.rhel5 php-xml-5.2.9-2.rhel5 php-eaccelerator-0.9.5.2-3.rhel5 php-common-5.2.9-2.rhel5 php-pgsql-5.2.9-2.rhel5 php-mcrypt-5.2.6-4.rhel5 php-tidy-5.2.6-4.rhel5 php-pdo-5.2.9-2.rhel5 php-gd-5.2.9-2.rhel5 php-mbstring-5.2.9-2.rhel5 php-pecl-memcache-2.2.5-1.rhel5 php-pecl-gearman-0.7.0-1.rhel5 php-cli-5.2.9-2.rhel5 php-devel-5.2.9-2.rhel5 php-pecl-xdebug-2.0.5-1.el5.1 php-ldap-5.2.9-2.rhel5 php-debuginfo-5.2.9-2.rhel5 php-pecl-fileinfo-1.0.4-2.rf php-pear-HTML-Common-1.2.5-1.el5 php-mysql-5.2.9-2.rhel5 php-pear-HTML-QuickForm-3.2.11-1.el5 [root@mrapp-stage04 ~]# rpm -qa | grep -i php php-mbstring-5.2.9-2.rhel5 php-pear-1.4.9-6.el5 php-gd-5.2.9-2.rhel5 php-eaccelerator-0.9.5.2-2 php-devel-5.2.9-2.rhel5 php-pecl-memcache-2.2.5-1moz0.rf php-common-5.2.9-2.rhel5 php-pdo-5.2.9-2.rhel5 php-cli-5.2.9-2.rhel5 php-mysql-5.2.9-2.rhel5 php-5.2.9-2.rhel5 stage02 is old, stage04 is new.
Re-open when you have more info/suggestions.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.