#2703 Captcha not working after php5 upgrade

Feature_request
open
nobody
Captcha (1)
5
2015-03-30
2013-07-30
vinceheuser
No

Captcha Stopped Working on Calendar -- All other site captchas work fine.

Using Webcalendar 1.2.7 (Not sure why Program_Name says 1.2.0)
Upgraded to PHP 5.4.17-1~dotdeb.1
Captcha stopped working.
Cannot get an image to show.

php5.log:
[30-Jul-2013 09:13:56 America/Louisville] PHP Warning: imagejpeg(): Filename cannot be empty in /home/wlcr/www/calendar/includes/classes/captcha/captcha.php on line 259
[30-Jul-2013 09:13:56 America/Louisville] PHP Warning: Division by zero in /home/wlcr/www/calendar/includes/classes/captcha/captcha.php on line 263
[30-Jul-2013 09:13:57 America/Louisville] PHP Warning: imagejpeg(): Filename cannot be empty in /home/wlcr/www/calendar/includes/classes/captcha/captcha.php on line 259
[30-Jul-2013 09:13:57 America/Louisville] PHP Warning: Division by zero in /home/wlcr/www/calendar/includes/classes/captcha/captcha.php on line 263

BUG REPORT:
System Settings
PROGRAM_NAME: WebCalendar v1.2.0 (27 Sep 2008)

SERVER_SOFTWARE: Apache/2.2.22 (Debian)

Web Browser: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C)

PHP Version: 5.4.17-1~dotdeb.1

Default Encoding:

db_type: mysql

readonly: N

single_user: N

single_user_login:

use_http_auth: N

user_inc: user.php

ADD_LINK_IN_VIEWS: N

ADMIN_OVERRIDE_UAC: Y

ALLOW_ATTACH: N

ALLOW_ATTACH_ANY: N

ALLOW_ATTACH_PART: N

ALLOW_COLOR_CUSTOMIZATION: Y

ALLOW_COMMENTS: N

ALLOW_COMMENTS_ANY: N

ALLOW_COMMENTS_PART: N

ALLOW_CONFLICTS: N

ALLOW_CONFLICT_OVERRIDE: Y

ALLOW_EXTERNAL_HEADER: Y

ALLOW_EXTERNAL_USERS: N

ALLOW_HTML_DESCRIPTION: Y

ALLOW_SELF_REGISTRATION: N

ALLOW_USER_HEADER: N

ALLOW_USER_THEMES: N

ALLOW_VIEW_OTHER: N

APPLICATION_NAME: WLCR Catholic Events

APPROVE_ASSISTANT_EVENT: Y

AUTO_REFRESH: N

AUTO_REFRESH_TIME: 0

BGCOLOR: #E0E2EB

BGIMAGE:

BGREPEAT: repeat fixed center

BOLD_DAYS_IN_YEAR: Y

CAPTIONS: #B04040

CATEGORIES_ENABLED: N

CELLBG: #FFFFFF

CONFLICT_REPEAT_MONTHS: 6

CUSTOM_HEADER: Y

CUSTOM_SCRIPT: Y

CUSTOM_TRAILER: Y

DATE_FORMAT: LANGUAGE_DEFINED

DATE_FORMAT_MD: LANGUAGE_DEFINED

DATE_FORMAT_MY: LANGUAGE_DEFINED

DATE_FORMAT_TASK: LANGUAGE_DEFINED

DEMO_MODE: N

DISABLE_ACCESS_FIELD: Y

DISABLE_CROSSDAY_EVENTS: N

DISABLE_LOCATION_FIELD: N

DISABLE_PARTICIPANTS_FIELD: Y

DISABLE_POPUPS: N

DISABLE_PRIORITY_FIELD: Y

DISABLE_REMINDER_FIELD: N

DISABLE_REPEATING_FIELD: N

DISABLE_URL_FIELD: N

DISPLAY_ALL_DAYS_IN_MONTH: N

DISPLAY_CREATED_BYPROXY: Y

DISPLAY_DESC_PRINT_DAY: Y

DISPLAY_END_TIMES: N

DISPLAY_LOCATION: N

DISPLAY_LONG_DAYS: N

DISPLAY_MINUTES: N

DISPLAY_MOON_PHASES: N

DISPLAY_SM_MONTH: Y

DISPLAY_TASKS: N

DISPLAY_TASKS_IN_GRID: N

DISPLAY_UNAPPROVED: N

DISPLAY_WEEKENDS: Y

DISPLAY_WEEKNUMBER: Y

EMAIL_ASSISTANT_EVENTS: Y

EMAIL_EVENT_ADDED: Y

EMAIL_EVENT_CREATE: N

EMAIL_EVENT_DELETED: Y

EMAIL_EVENT_REJECTED: Y

EMAIL_EVENT_UPDATED: Y

EMAIL_FALLBACK_FROM: youremailhere

EMAIL_HTML: N

EMAIL_MAILER: mail

EMAIL_REMINDER: Y

ENABLE_CAPTCHA: Y

ENABLE_GRADIENTS: N

ENABLE_ICON_UPLOADS: N

ENTRY_SLOTS: 144

EXTERNAL_NOTIFICATIONS: N

EXTERNAL_REMINDERS: N

FONTS: Arial, Helvetica, sans-serif

FREEBUSY_ENABLED: N

GENERAL_USE_GMT: Y

GROUPS_ENABLED: N

H2COLOR: #000000

HASEVENTSBG: #E0E2EB

HOME_LINK: http://wlcr.org/calendar/

IMPORT_CATEGORIES: Y

LANGUAGE: none

LIMIT_APPTS: N

LIMIT_APPTS_NUMBER: 6

LIMIT_DESCRIPTION_SIZE: N

MENU_DATE_TOP: Y

MENU_ENABLED: Y

MENU_THEME: touch_of_grey

MYEVENTS: #000000

NONUSER_AT_TOP: Y

NONUSER_ENABLED: Y

OTHERMONTHBG: #F0F1F5

OVERRIDE_PUBLIC: N

OVERRIDE_PUBLIC_TEXT: Catholic Public

PARTICIPANTS_IN_POPUP: N

PLUGINS_ENABLED: N

POPUP_BG: #E0E2EB

POPUP_FG: #000000

PUBLIC_ACCESS: Y

PUBLIC_ACCESS_ADD_NEEDS_APPROVAL: Y

PUBLIC_ACCESS_CAN_ADD: Y

PUBLIC_ACCESS_DEFAULT_SELECTED: Y

PUBLIC_ACCESS_DEFAULT_VISIBLE: Y

PUBLIC_ACCESS_OTHERS: N

PUBLIC_ACCESS_VIEW_PART: N

PUBLISH_ENABLED: Y

PULLDOWN_WEEKNUMBER: N

REMEMBER_LAST_LOGIN: N

REMINDER_DEFAULT: N

REMINDER_OFFSET: 240

REMINDER_WITH_DATE: N

REMOTES_ENABLED: N

REPORTS_ENABLED: N

REQUIRE_APPROVALS: Y

RSS_ENABLED: N

SELF_REGISTRATION_BLACKLIST: N

SELF_REGISTRATION_FULL: Y

SEND_EMAIL: N

SERVER_TIMEZONE: America/New_York

SERVER_URL: http://www.wlcr.org/calendar/

SITE_EXTRAS_IN_POPUP: N

SMTP_AUTH: N

SMTP_HOST: localhost

SMTP_PASSWORD:

SMTP_PORT: 25

SMTP_USERNAME:

STARTVIEW: month.php

SUMMARY_LENGTH: 80

TABLEBG: #000000

TEXTCOLOR: #000000

THBG: #B4B7CA

THEME: none

THFG: #000000

TIMED_EVT_LEN: D

TIMEZONE: America/New_York

TIME_FORMAT: 12

TIME_SLOTS: 24

TIME_SPACER: »

TODAYCELLBG: #E0E2EB

UAC_ENABLED: Y

UPCOMING_ALLOW_OVR: Y

UPCOMING_DISPLAY_CAT_ICONS: N

UPCOMING_DISPLAY_LAYERS: N

UPCOMING_DISPLAY_LINKS: Y

UPCOMING_DISPLAY_POPUPS: N

UPCOMING_EVENTS: Y

USER_PUBLISH_ENABLED: Y

USER_PUBLISH_RW_ENABLED: Y

USER_RSS_ENABLED: N

USER_SEES_ONLY_HIS_GROUPS: Y

USER_SORT_ORDER: cal_lastname, cal_firstname

WEBCAL_PROGRAM_VERSION: v1.2.0

WEEKENDBG: #F0F1F5

WEEKEND_START: 6

WEEKNUMBER: #FF6633

WEEK_START: 0

WORK_DAY_END_HOUR: 17

WORK_DAY_START_HOUR: 8

Discussion

  • vinceheuser

    vinceheuser - 2013-08-12

    After a complete fresh install of 1.2.7 with new database, the captcha does not work.

     
  • Howard T Burgess

    Any updates on this issue? CAPTCHA not working on PHP 5.4, WebCalendar Version 1.2.7

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks