| 1 | Fatal Error at /var/www/localhost/htdocs/mythweb/objects/Database/Query/mysql.php, line 83:
|
|---|
| 2 | SQL Error: Incorrect information in file: './mythconverg/weatherscreens.frm' [#1033]
|
|---|
| 3 | If you choose to submit a bug report, please make sure to include a
|
|---|
| 4 | brief description of what you were doing, along with the following
|
|---|
| 5 | backtrace as an attachment (please don't paste the whole thing into
|
|---|
| 6 | the ticket).
|
|---|
| 7 |
|
|---|
| 8 | Backtrace:
|
|---|
| 9 | datetime: 2009-10-11 20:59:05 (EST)
|
|---|
| 10 | errornum: 256
|
|---|
| 11 | error type: User Error
|
|---|
| 12 | error string: SQL Error: Incorrect information in file: './mythconverg/weatherscreens.frm' [#1033]
|
|---|
| 13 | filename: /var/www/localhost/htdocs/mythweb/objects/Database/Query/mysql.php
|
|---|
| 14 | error line: 83
|
|---|
| 15 |
|
|---|
| 16 | ==========================================================================
|
|---|
| 17 |
|
|---|
| 18 | Backtrace:
|
|---|
| 19 |
|
|---|
| 20 | file: /var/www/localhost/htdocs/mythweb/objects/Database/Query/mysql.php
|
|---|
| 21 | line: 83
|
|---|
| 22 | class:
|
|---|
| 23 | function: trigger_error
|
|---|
| 24 | type:
|
|---|
| 25 | args: Array
|
|---|
| 26 | (
|
|---|
| 27 | [0] => SQL Error: Incorrect information in file: './mythconverg/weatherscreens.frm' [#1033]
|
|---|
| 28 | [1] => 256
|
|---|
| 29 | )
|
|---|
| 30 |
|
|---|
| 31 | file: /var/www/localhost/htdocs/mythweb/objects/Database.php
|
|---|
| 32 | line: 261
|
|---|
| 33 | class: Database_Query_mysql
|
|---|
| 34 | function: execute
|
|---|
| 35 | type: ->
|
|---|
| 36 | args: Array
|
|---|
| 37 | (
|
|---|
| 38 | [0] => Array
|
|---|
| 39 | (
|
|---|
| 40 | [0] => Array ( )
|
|---|
| 41 | )
|
|---|
| 42 |
|
|---|
| 43 | )
|
|---|
| 44 |
|
|---|
| 45 | file: /var/www/localhost/htdocs/mythweb/objects/Database.php
|
|---|
| 46 | line: 324
|
|---|
| 47 | class: Database
|
|---|
| 48 | function: query
|
|---|
| 49 | type: ->
|
|---|
| 50 | args: Array
|
|---|
| 51 | (
|
|---|
| 52 | [0] => SELECT COUNT(screen_id)
|
|---|
| 53 | FROM weatherscreens
|
|---|
| 54 | [1] => Array ( )
|
|---|
| 55 | )
|
|---|
| 56 |
|
|---|
| 57 | file: /var/www/localhost/htdocs/mythweb/modules/weather/init.php
|
|---|
| 58 | line: 25
|
|---|
| 59 | class: Database
|
|---|
| 60 | function: query_col
|
|---|
| 61 | type: ->
|
|---|
| 62 | args: Array
|
|---|
| 63 | (
|
|---|
| 64 | [0] => SELECT COUNT(screen_id)
|
|---|
| 65 | FROM weatherscreens
|
|---|
| 66 | )
|
|---|
| 67 |
|
|---|
| 68 | file: /var/www/localhost/htdocs/mythweb/includes/modules.php
|
|---|
| 69 | line: 30
|
|---|
| 70 | class:
|
|---|
| 71 | function: require_once
|
|---|
| 72 | type:
|
|---|
| 73 | args: Array
|
|---|
| 74 | (
|
|---|
| 75 | [0] => /var/www/localhost/htdocs/mythweb/modules/weather/init.php
|
|---|
| 76 | )
|
|---|
| 77 |
|
|---|
| 78 | file: /var/www/localhost/htdocs/mythweb/includes/init.php
|
|---|
| 79 | line: 68
|
|---|
| 80 | class:
|
|---|
| 81 | function: require_once
|
|---|
| 82 | type:
|
|---|
| 83 | args: Array
|
|---|
| 84 | (
|
|---|
| 85 | [0] => /var/www/localhost/htdocs/mythweb/includes/modules.php
|
|---|
| 86 | )
|
|---|
| 87 |
|
|---|
| 88 | file: /var/www/localhost/htdocs/mythweb/mythweb.php
|
|---|
| 89 | line: 20
|
|---|
| 90 | class:
|
|---|
| 91 | function: require_once
|
|---|
| 92 | type:
|
|---|
| 93 | args: Array
|
|---|
| 94 | (
|
|---|
| 95 | [0] => /var/www/localhost/htdocs/mythweb/includes/init.php
|
|---|
| 96 | )
|
|---|
| 97 |
|
|---|
| 98 |
|
|---|
| 99 | ==========================================================================
|
|---|
| 100 |
|
|---|
| 101 | $_SESSION: Array
|
|---|
| 102 | (
|
|---|
| 103 | [language] => English_GB
|
|---|
| 104 | [tmpl] => default
|
|---|
| 105 | [skin] => default
|
|---|
| 106 | [prefer_channum] => 1
|
|---|
| 107 | [date_statusbar] => %a %b %e, %Y, %I:%M %p
|
|---|
| 108 | [date_scheduled] => %a %b %e, %Y (%I:%M %p)
|
|---|
| 109 | [date_scheduled_popup] => %a %b %e, %Y
|
|---|
| 110 | [date_recorded] => %a %b %e, %Y (%I:%M %p)
|
|---|
| 111 | [date_search] => %a %b %e, %Y, %I:%M %p
|
|---|
| 112 | [date_listing_key] => %a %b %e, %Y, %I:%M %p
|
|---|
| 113 | [date_listing_jump] => %a %b %e, %Y
|
|---|
| 114 | [date_channel_jump] => %a %b %e, %Y
|
|---|
| 115 | [date_job_status] => %a %b %e, %Y, %I:%M %p
|
|---|
| 116 | [time_format] => %I:%M %p
|
|---|
| 117 | [recorded_pixmaps] => 1
|
|---|
| 118 | [guide_favonly] =>
|
|---|
| 119 | [timeslot_size] => 300
|
|---|
| 120 | [num_time_slots] => 36
|
|---|
| 121 | [timeslot_blocks] => 3
|
|---|
| 122 | [timeslotbar_skip] => 20
|
|---|
| 123 | [max_stars] => 4
|
|---|
| 124 | [star_character] => ♦
|
|---|
| 125 | [show_popup_info] => 1
|
|---|
| 126 | [show_channel_icons] => 1
|
|---|
| 127 | [sortby_channum] => 1
|
|---|
| 128 | [show_video_covers] => 1
|
|---|
| 129 | [tv] => Array
|
|---|
| 130 | (
|
|---|
| 131 | [last] => Array
|
|---|
| 132 | (
|
|---|
| 133 | [0] => searches
|
|---|
| 134 | )
|
|---|
| 135 |
|
|---|
| 136 | [show_advanced_schedule] => 1
|
|---|
| 137 | )
|
|---|
| 138 |
|
|---|
| 139 | [schedules_sortby] => Array
|
|---|
| 140 | (
|
|---|
| 141 | [0] => Array
|
|---|
| 142 | (
|
|---|
| 143 | [field] => airdate
|
|---|
| 144 | [reverse] =>
|
|---|
| 145 | )
|
|---|
| 146 |
|
|---|
| 147 | [1] => Array
|
|---|
| 148 | (
|
|---|
| 149 | [field] => title
|
|---|
| 150 | [reverse] =>
|
|---|
| 151 | )
|
|---|
| 152 |
|
|---|
| 153 | )
|
|---|
| 154 |
|
|---|
| 155 | [list_time] => 1255072500
|
|---|
| 156 | [settings] => Array
|
|---|
| 157 | (
|
|---|
| 158 | [last] => Array
|
|---|
| 159 | (
|
|---|
| 160 | [0] => database
|
|---|
| 161 | [1] => settings
|
|---|
| 162 | )
|
|---|
| 163 |
|
|---|
| 164 | [host] => srv3
|
|---|
| 165 | )
|
|---|
| 166 |
|
|---|
| 167 | [recording_details] => Array
|
|---|
| 168 | (
|
|---|
| 169 | [show_Conflict] => 1
|
|---|
| 170 | [show_PreviousRecording] => 1
|
|---|
| 171 | [show_EarlierShowing] => 1
|
|---|
| 172 | [show_CurrentRecording] => 1
|
|---|
| 173 | [show_WillRecord] => 1
|
|---|
| 174 | )
|
|---|
| 175 |
|
|---|
| 176 | [recorded_title] =>
|
|---|
| 177 | [recorded_recgroup] => Default
|
|---|
| 178 | [recorded_sortby] => Array
|
|---|
| 179 | (
|
|---|
| 180 | [0] => Array
|
|---|
| 181 | (
|
|---|
| 182 | [field] => airdate
|
|---|
| 183 | [reverse] => 1
|
|---|
| 184 | )
|
|---|
| 185 |
|
|---|
| 186 | [1] => Array
|
|---|
| 187 | (
|
|---|
| 188 | [field] => title
|
|---|
| 189 | [reverse] =>
|
|---|
| 190 | )
|
|---|
| 191 |
|
|---|
| 192 | )
|
|---|
| 193 |
|
|---|
| 194 | [search] => Array
|
|---|
| 195 | (
|
|---|
| 196 | [s] => canned:Non-Music Specials
|
|---|
| 197 | [type] => q
|
|---|
| 198 | [ctype] => Array
|
|---|
| 199 | (
|
|---|
| 200 | [0] => movie
|
|---|
| 201 | [1] => sports
|
|---|
| 202 | [2] => tvshow
|
|---|
| 203 | )
|
|---|
| 204 |
|
|---|
| 205 | [stars_gt] => 0
|
|---|
| 206 | [stars_lt] => 1
|
|---|
| 207 | [starttime] => now
|
|---|
| 208 | [endtime] => + 2 weeks
|
|---|
| 209 | [as] => Array
|
|---|
| 210 | (
|
|---|
| 211 | [0] => david
|
|---|
| 212 | )
|
|---|
| 213 |
|
|---|
| 214 | [af] => Array
|
|---|
| 215 | (
|
|---|
| 216 | [0] => Array
|
|---|
| 217 | (
|
|---|
| 218 | [0] => description
|
|---|
| 219 | )
|
|---|
| 220 |
|
|---|
| 221 | )
|
|---|
| 222 |
|
|---|
| 223 | [aj] => Array
|
|---|
| 224 | (
|
|---|
| 225 | [0] => AND
|
|---|
| 226 | )
|
|---|
| 227 |
|
|---|
| 228 | [hd] =>
|
|---|
| 229 | [commfree] => 1
|
|---|
| 230 | [airdate_start] =>
|
|---|
| 231 | [airdate_end] =>
|
|---|
| 232 | )
|
|---|
| 233 |
|
|---|
| 234 | [search_sortby] => Array
|
|---|
| 235 | (
|
|---|
| 236 | [0] => Array
|
|---|
| 237 | (
|
|---|
| 238 | [field] => airdate
|
|---|
| 239 | [reverse] =>
|
|---|
| 240 | )
|
|---|
| 241 |
|
|---|
| 242 | [1] => Array
|
|---|
| 243 | (
|
|---|
| 244 | [field] => title
|
|---|
| 245 | [reverse] =>
|
|---|
| 246 | )
|
|---|
| 247 |
|
|---|
| 248 | )
|
|---|
| 249 |
|
|---|
| 250 | [scheduled_recordings] => Array
|
|---|
| 251 | (
|
|---|
| 252 | [disp_scheduled] => 1
|
|---|
| 253 | [disp_duplicates] =>
|
|---|
| 254 | [disp_deactivated] =>
|
|---|
| 255 | [disp_conflicts] => 1
|
|---|
| 256 | )
|
|---|
| 257 |
|
|---|
| 258 | [scheduled_sortby] => Array
|
|---|
| 259 | (
|
|---|
| 260 | [0] => Array
|
|---|
| 261 | (
|
|---|
| 262 | [field] => airdate
|
|---|
| 263 | [reverse] =>
|
|---|
| 264 | )
|
|---|
| 265 |
|
|---|
| 266 | [1] => Array
|
|---|
| 267 | (
|
|---|
| 268 | [field] => title
|
|---|
| 269 | [reverse] =>
|
|---|
| 270 | )
|
|---|
| 271 |
|
|---|
| 272 | )
|
|---|
| 273 |
|
|---|
| 274 | [weather] => Array
|
|---|
| 275 | (
|
|---|
| 276 | [active] => Array
|
|---|
| 277 | (
|
|---|
| 278 | [0] => 1
|
|---|
| 279 | [1] => 8
|
|---|
| 280 | )
|
|---|
| 281 |
|
|---|
| 282 | [inactive] => Array
|
|---|
| 283 | (
|
|---|
| 284 | [0] => 18 Hour Forecast
|
|---|
| 285 | [1] => Animated Map
|
|---|
| 286 | [2] => Current Conditions
|
|---|
| 287 | [3] => Severe Weather Alerts
|
|---|
| 288 | [4] => Six Day Forecast
|
|---|
| 289 | [5] => Static Map
|
|---|
| 290 | [6] => Three Day Forecast
|
|---|
| 291 | )
|
|---|
| 292 |
|
|---|
| 293 | )
|
|---|
| 294 |
|
|---|
| 295 | [] => Array ( )
|
|---|
| 296 | )
|
|---|
| 297 |
|
|---|
| 298 | ==========================================================================
|
|---|
| 299 |
|
|---|
| 300 | $_SERVER: Array
|
|---|
| 301 | (
|
|---|
| 302 | [spl_fifo] => /lib64/splash/cache/.splash
|
|---|
| 303 | [TERM] => xterm-color
|
|---|
| 304 | [SHELL] => /bin/bash
|
|---|
| 305 | [DEFAULTLEVEL] => default
|
|---|
| 306 | [SPLASH_KDMODE] => TEXT
|
|---|
| 307 | [SPLASH_TEXTBOX] => no
|
|---|
| 308 | [SPLASH_XSERVICE] => xdm
|
|---|
| 309 | [spl_decor] => //sbin/fbcondecor_ctl.static
|
|---|
| 310 | [SPLASH_BOOT_MESSAGE] => Booting the system ($progress%)... Press F2 for verbose mode.
|
|---|
| 311 | [SPLASH_TTY] => 16
|
|---|
| 312 | [USER] => root
|
|---|
| 313 | [SPLASH_EFFECTS] => fadein,fadeout
|
|---|
| 314 | [SPLASH_SANITY] =>
|
|---|
| 315 | [SPLASH_THEME] => default
|
|---|
| 316 | [SPLASH_PROFILE] => off
|
|---|
| 317 | [spl_cachesize] => 4096
|
|---|
| 318 | [PATH] => /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin
|
|---|
| 319 | [spl_daemon] => //sbin/fbsplashd.static
|
|---|
| 320 | [spl_tmpdir] => /lib64/splash/tmp
|
|---|
| 321 | [spl_cachedir] => /lib64/splash/cache
|
|---|
| 322 | [PWD] => /var/www/localhost/htdocs/mythweb-old/includes
|
|---|
| 323 | [spl_pidfile] => /lib64/splash/cache/daemon.pid
|
|---|
| 324 | [SPLASH_MODE_REQ] => off
|
|---|
| 325 | [BOOTLEVEL] => boot
|
|---|
| 326 | [SPLASH_SHUTDOWN_MESSAGE] => Shutting down the system ($progress%)... Press F2 for verbose mode.
|
|---|
| 327 | [SVCNAME] => lighttpd
|
|---|
| 328 | [CONSOLETYPE] => pty
|
|---|
| 329 | [SPLASH_REBOOT_MESSAGE] => Rebooting the system ($progress%)... Press F2 for verbose mode.
|
|---|
| 330 | [SHLVL] => 1
|
|---|
| 331 | [HOME] => /root
|
|---|
| 332 | [spl_bindir] => /lib64/splash/bin
|
|---|
| 333 | [spl_util] => //bin/splash_util.static
|
|---|
| 334 | [SOFTLEVEL] => default
|
|---|
| 335 | [spl_cachetype] => tmpfs
|
|---|
| 336 | [SPLASH_AUTOVERBOSE] => 0
|
|---|
| 337 | [splash_get_mode] => () { local ctty="${spl_bindir}/fgconsole";
|
|---|
| 338 | local mode="$(${spl_util})";
|
|---|
| 339 | if [ "${mode}" = "silent" ]; then
|
|---|
| 340 | echo "silent";
|
|---|
| 341 | else
|
|---|
| 342 | if [ -z "$(${spl_decor} -c getstate --tty=${ctty} 2>/dev/null | grep off)" ]; then
|
|---|
| 343 | echo "verbose";
|
|---|
| 344 | else
|
|---|
| 345 | echo "off";
|
|---|
| 346 | fi;
|
|---|
| 347 | fi
|
|---|
| 348 | }
|
|---|
| 349 | [splash_svclist_get] => () { if [ "$1" = "start" -a -r "${spl_cachedir}/svcs_start" ]; then
|
|---|
| 350 | cat "${spl_cachedir}/svcs_start";
|
|---|
| 351 | else
|
|---|
| 352 | if [ "$1" = "stop" -a -r "${spl_cachedir}/svcs_stop" ]; then
|
|---|
| 353 | cat "${spl_cachedir}/svcs_stop";
|
|---|
| 354 | fi;
|
|---|
| 355 | fi
|
|---|
| 356 | }
|
|---|
| 357 | [splash_get_boot_message] => () { if [ "${RUNLEVEL}" = "6" ]; then
|
|---|
| 358 | echo "${SPLASH_REBOOT_MESSAGE}";
|
|---|
| 359 | else
|
|---|
| 360 | if [ "${RUNLEVEL}" = "0" ]; then
|
|---|
| 361 | echo "${SPLASH_SHUTDOWN_MESSAGE}";
|
|---|
| 362 | else
|
|---|
| 363 | echo "${SPLASH_BOOT_MESSAGE}";
|
|---|
| 364 | fi;
|
|---|
| 365 | fi
|
|---|
| 366 | }
|
|---|
| 367 | [splash_comm_send] => () { if [ -z "`pidof $(basename ${spl_daemon})`" ]; then
|
|---|
| 368 | return 1;
|
|---|
| 369 | else
|
|---|
| 370 | splash_profile "comm $*";
|
|---|
| 371 | echo "$*" > "${spl_fifo}" &
|
|---|
| 372 | fi
|
|---|
| 373 | }
|
|---|
| 374 | [splash_setup] => () { if [ "${SPLASH_THEME}" != "" -a "${SPLASH_TTY}" != "" -a "$1" != "force" ]; then
|
|---|
| 375 | return 0;
|
|---|
| 376 | fi;
|
|---|
| 377 | export SPLASH_EFFECTS="";
|
|---|
| 378 | export SPLASH_SANITY="";
|
|---|
| 379 | export SPLASH_TEXTBOX="no";
|
|---|
| 380 | export SPLASH_MODE_REQ="off";
|
|---|
| 381 | export SPLASH_PROFILE="off";
|
|---|
| 382 | export SPLASH_THEME="default";
|
|---|
| 383 | export SPLASH_TTY="16";
|
|---|
| 384 | export SPLASH_KDMODE="TEXT";
|
|---|
| 385 | export SPLASH_AUTOVERBOSE="0";
|
|---|
| 386 | export SPLASH_BOOT_MESSAGE="Booting the system ($progress%)... Press F2 for verbose mode.";
|
|---|
| 387 | export SPLASH_SHUTDOWN_MESSAGE="Shutting down the system ($progress%)... Press F2 for verbose mode.";
|
|---|
| 388 | export SPLASH_REBOOT_MESSAGE="Rebooting the system ($progress%)... Press F2 for verbose mode.";
|
|---|
| 389 | export SPLASH_XSERVICE="xdm";
|
|---|
| 390 | [ -f /etc/splash/splash ] && . /etc/splash/splash;
|
|---|
| 391 | [ -f /etc/conf.d/splash ] && . /etc/conf.d/splash;
|
|---|
| 392 | [ -f /etc/conf.d/fbcondecor ] && . /etc/conf.d/fbcondecor;
|
|---|
| 393 | if [ -f /proc/cmdline ]; then
|
|---|
| 394 | options=$(grep -o 'splash=[^ ]*' /proc/cmdline);
|
|---|
| 395 | for opt in ${options};
|
|---|
| 396 | do
|
|---|
| 397 | options=${opt#*=};
|
|---|
| 398 | for i in $(echo "${options}" | sed -e 's/,/ /g');
|
|---|
| 399 | do
|
|---|
| 400 | case ${i%:*} in
|
|---|
| 401 | theme)
|
|---|
| 402 | SPLASH_THEME=${i#*:}
|
|---|
| 403 | ;;
|
|---|
| 404 | tty)
|
|---|
| 405 | SPLASH_TTY=${i#*:}
|
|---|
| 406 | ;;
|
|---|
| 407 | verbose)
|
|---|
| 408 | SPLASH_MODE_REQ="verbose"
|
|---|
| 409 | ;;
|
|---|
| 410 | silent)
|
|---|
| 411 | SPLASH_MODE_REQ="silent"
|
|---|
| 412 | ;;
|
|---|
| 413 | kdgraphics)
|
|---|
| 414 | SPLASH_KDMODE="GRAPHICS"
|
|---|
| 415 | ;;
|
|---|
| 416 | profile)
|
|---|
| 417 | SPLASH_PROFILE="on"
|
|---|
| 418 | ;;
|
|---|
| 419 | insane)
|
|---|
| 420 | SPLASH_SANITY="insane"
|
|---|
| 421 | ;;
|
|---|
| 422 | esac;
|
|---|
| 423 | done;
|
|---|
| 424 | done;
|
|---|
| 425 | fi
|
|---|
| 426 | }
|
|---|
| 427 | [splash_silent] => () { splash_comm_send "set mode silent"
|
|---|
| 428 | }
|
|---|
| 429 | [splash_cache_cleanup] => () { [ -z "$(grep ${spl_cachedir} /proc/mounts)" ] && return;
|
|---|
| 430 | if [ ! -d "${spl_tmpdir}" ]; then
|
|---|
| 431 | mkdir -p "${spl_tmpdir}" 2> /dev/null;
|
|---|
| 432 | [ "$?" != "0" ] && return;
|
|---|
| 433 | fi;
|
|---|
| 434 | if [ -n "$(pgrep fbsplashd)" ]; then
|
|---|
| 435 | sleep 1;
|
|---|
| 436 | killall -9 "${spl_daemon##*/}" 2> /dev/null;
|
|---|
| 437 | fi;
|
|---|
| 438 | local mntopt="";
|
|---|
| 439 | [ -w /etc/mtab ] || mntopt="-n";
|
|---|
| 440 | mount ${mntopt} --move "${spl_cachedir}" "${spl_tmpdir}" 2> /dev/null;
|
|---|
| 441 | [ -w "${spl_cachedir}" ] || return;
|
|---|
| 442 | if [ "${SPLASH_PROFILE}" != "off" ]; then
|
|---|
| 443 | cp -a "${spl_tmpdir}/profile" "${spl_cachedir}" 2> /dev/null;
|
|---|
| 444 | fi;
|
|---|
| 445 | while [ -n "$1" ]; do
|
|---|
| 446 | cp -a "${spl_tmpdir}/$1" "${spl_cachedir}" 2> /dev/null;
|
|---|
| 447 | shift;
|
|---|
| 448 | done;
|
|---|
| 449 | umount -l "${spl_tmpdir}" 2> /dev/null
|
|---|
| 450 | }
|
|---|
| 451 | [splash_start] => () { if [ "${SPLASH_MODE_REQ}" = "verbose" ]; then
|
|---|
| 452 | ${spl_decor} -c on 2> /dev/null;
|
|---|
| 453 | return 0;
|
|---|
| 454 | else
|
|---|
| 455 | if [ "${SPLASH_MODE_REQ}" != "silent" ]; then
|
|---|
| 456 | return 0;
|
|---|
| 457 | fi;
|
|---|
| 458 | fi;
|
|---|
| 459 | if [ "${SPLASH_MODE_REQ}" = "silent" -a "${SPLASH_SANITY}" != "insane" ]; then
|
|---|
| 460 | if [ -z "$(grep -E '(^| )CONSOLE=/dev/tty1( |$)' /proc/cmdline)" -a -z "$(grep -E '(^| )console=tty1( |$)' /proc/cmdline)" ]; then
|
|---|
| 461 | clear;
|
|---|
| 462 | splash_warn "You don't appear to have a correct console= setting on your kernel";
|
|---|
| 463 | splash_warn "command line. Silent splash will not be enabled. Please add";
|
|---|
| 464 | splash_warn "console=tty1 or CONSOLE=/dev/tty1 to your kernel command line";
|
|---|
| 465 | splash_warn "to avoid this message.";
|
|---|
| 466 | if [ -n "$(grep 'CONSOLE=/dev/tty1' /proc/cmdline)" -o -n "$(grep 'console=tty1' /proc/cmdline)" ]; then
|
|---|
| 467 | splash_warn "Note that CONSOLE=/dev/tty1 and console=tty1 are general parameters and";
|
|---|
| 468 | splash_warn "not splash= settings.";
|
|---|
| 469 | fi;
|
|---|
| 470 | return 1;
|
|---|
| 471 | fi;
|
|---|
| 472 | if [ -n "$(grep -E '(^| )CONSOLE=/dev/tty1( |$)' /proc/cmdline)" ]; then
|
|---|
| 473 | mount -n --bind / ${spl_tmpdir};
|
|---|
| 474 | if [ ! -c "${spl_tmpdir}/dev/tty1" ]; then
|
|---|
| 475 | umount -n ${spl_tmpdir};
|
|---|
| 476 | splash_warn "The filesystem mounted on / doesn't contain the /dev/tty1 device";
|
|---|
| 477 | splash_warn "which is required for the silent splash to function properly.";
|
|---|
| 478 | splash_warn "Silent splash will not be enabled. Please create the appropriate";
|
|---|
| 479 | splash_warn "device node to avoid this message.";
|
|---|
| 480 | return 1;
|
|---|
| 481 | fi;
|
|---|
| 482 | umount -n ${spl_tmpdir};
|
|---|
| 483 | fi;
|
|---|
| 484 | fi;
|
|---|
| 485 | rm -f "${spl_pidfile}";
|
|---|
| 486 | rm -f "${spl_fifo}" 2> /dev/null;
|
|---|
| 487 | mkfifo "${spl_fifo}";
|
|---|
| 488 | local options="";
|
|---|
| 489 | [ "${SPLASH_KDMODE}" = "GRAPHICS" ] && options="--kdgraphics";
|
|---|
| 490 | [ -n "${SPLASH_EFFECTS}" ] && options="${options} --effects=${SPLASH_EFFECTS}";
|
|---|
| 491 | [ "${SPLASH_TEXTBOX}" = "yes" ] && options="${options} --textbox";
|
|---|
| 492 | local ttype="bootup";
|
|---|
| 493 | if [ "${RUNLEVEL}" = "6" ]; then
|
|---|
| 494 | ttype="reboot";
|
|---|
| 495 | else
|
|---|
| 496 | if [ "${RUNLEVEL}" = "0" ]; then
|
|---|
| 497 | ttype="shutdown";
|
|---|
| 498 | fi;
|
|---|
| 499 | fi;
|
|---|
| 500 | BOOT_MSG="$(splash_get_boot_message)" ${spl_daemon} --theme="${SPLASH_THEME}" --pidfile="${spl_pidfile}" --type=${ttype} ${options};
|
|---|
| 501 | splash_comm_send "set tty silent ${SPLASH_TTY}";
|
|---|
| 502 | if [ "${SPLASH_MODE_REQ}" = "silent" ]; then
|
|---|
| 503 | splash_comm_send "set mode silent";
|
|---|
| 504 | splash_comm_send "repaint";
|
|---|
| 505 | ${spl_decor} -c on 2> /dev/null;
|
|---|
| 506 | fi;
|
|---|
| 507 | splash_comm_send "set autoverbose ${SPLASH_AUTOVERBOSE}";
|
|---|
| 508 | splash_set_event_dev;
|
|---|
| 509 | return 0
|
|---|
| 510 | }
|
|---|
| 511 | [splash_set_event_dev] => () { local t="$(grep -Hsi keyboard /sys/class/input/input*/name | sed -e 's#.*input([0-9]*)/name.*#event1#')";
|
|---|
| 512 | if [ -z "${t}" ]; then
|
|---|
| 513 | t="$(grep -Hsi keyboard /sys/class/input/event*/device/driver/description | grep -o 'event[0-9]+')";
|
|---|
| 514 | if [ -z "${t}" ]; then
|
|---|
| 515 | for i in /sys/class/input/input*;
|
|---|
| 516 | do
|
|---|
| 517 | if [ "$((0x$(cat $i/capabilities/ev) & 0x100002))" = "1048578" ]; then
|
|---|
| 518 | t="$(echo $i | sed -e 's#.*input([0-9]*)#event1#')";
|
|---|
| 519 | fi;
|
|---|
| 520 | done;
|
|---|
| 521 | if [ -z "${t}" ]; then
|
|---|
| 522 | t="$(/bin/grep -s -m 1 '^H: Handlers=kbd' /proc/bus/input/devices | grep -o 'event[0-9]*')";
|
|---|
| 523 | fi;
|
|---|
| 524 | fi;
|
|---|
| 525 | fi;
|
|---|
| 526 | [ -n "${t}" ] && splash_comm_send "set event dev /dev/input/${t}"
|
|---|
| 527 | }
|
|---|
| 528 | [splash_cache_prep] => () { mount -ns -t "${spl_cachetype}" cachedir "${spl_tmpdir}" -o rw,mode=0644,size="${spl_cachesize}"k;
|
|---|
| 529 | retval=$?;
|
|---|
| 530 | if [[ ${retval} -ne 0 ]]; then
|
|---|
| 531 | eerror "Unable to create splash cache - switching to verbose.";
|
|---|
| 532 | splash_verbose;
|
|---|
| 533 | return "${retval}";
|
|---|
| 534 | fi;
|
|---|
| 535 | cp -a ${svcdir}/{depcache,deptree} "${spl_tmpdir}" 2> /dev/null;
|
|---|
| 536 | cp -a ${spl_cachedir}/{svcs_start,svcs_stop,levels} "${spl_tmpdir}" 2> /dev/null;
|
|---|
| 537 | mount -n --move "${spl_tmpdir}" "${spl_cachedir}";
|
|---|
| 538 | h=$(ls -ld --full-time ${spl_cachedir}/deptree 2>/dev/null | cut -f6,7,8 -d' ');
|
|---|
| 539 | /sbin/depscan.sh --svcdir "${spl_cachedir}";
|
|---|
| 540 | if [[ "$1" == "start" ]]; then
|
|---|
| 541 | if [[ ! -e ${spl_cachedir}/levels || ! -e ${spl_cachedir}/svcs_start ]]; then
|
|---|
| 542 | echo $(splash_svclist_update "start") > ${spl_cachedir}/svcs_start;
|
|---|
| 543 | else
|
|---|
| 544 | local lastlev timestamp;
|
|---|
| 545 | {
|
|---|
| 546 | read lastlev;
|
|---|
| 547 | read timestamp
|
|---|
| 548 | } < ${spl_cachedir}/levels;
|
|---|
| 549 | if [[ "${lastlev}" != "${BOOTLEVEL}/${DEFAULTLEVEL}" || "${timestamp}" != "$(ls -ld --full-time /etc/runlevels/${BOOTLEVEL} | cut -f6,7,8 -d' ')/$(ls -ld --full-time /etc/runlevels/${DEFAULTLEVEL} | cut -f6,7,8 -d' ')" || "$(ls -ld --full-time ${spl_cachedir}/deptree 2>/dev/null | cut -f6,7,8 -d' ')" != "${h}" ]]; then
|
|---|
| 550 | echo $(splash_svclist_update "start") > ${spl_cachedir}/svcs_start;
|
|---|
| 551 | fi;
|
|---|
| 552 | fi;
|
|---|
| 553 | echo -n > ${spl_cachedir}/profile;
|
|---|
| 554 | fi;
|
|---|
| 555 | return 0
|
|---|
| 556 | }
|
|---|
| 557 | [splash_verbose] => () { chvt 1
|
|---|
| 558 | }
|
|---|
| 559 | [splash] => () { local event="$1";
|
|---|
| 560 | shift;
|
|---|
| 561 | if [ "${event}" = "rc_init" ]; then
|
|---|
| 562 | splash_setup "force";
|
|---|
| 563 | else
|
|---|
| 564 | splash_setup;
|
|---|
| 565 | fi;
|
|---|
| 566 | [ "${SPLASH_MODE_REQ}" = "off" ] && return;
|
|---|
| 567 | if [ "${event}" = "rc_init" ]; then
|
|---|
| 568 | if [ "${RUNLEVEL}" = "S" -a "$1" = "sysinit" ]; then
|
|---|
| 569 | splash_cache_prep 'start' || return;
|
|---|
| 570 | else
|
|---|
| 571 | if [ "${RUNLEVEL}" = "6" -o "${RUNLEVEL}" = "0" ]; then
|
|---|
| 572 | if ! touch "${spl_cachedir}/message" 2> /dev/null; then
|
|---|
| 573 | splash_cache_prep 'stop' || return;
|
|---|
| 574 | fi;
|
|---|
| 575 | fi;
|
|---|
| 576 | fi;
|
|---|
| 577 | fi;
|
|---|
| 578 | local args="";
|
|---|
| 579 | if [ "${event}" = "rc_init" -o "${event}" = "rc_exit" ]; then
|
|---|
| 580 | args="$* ${RUNLEVEL}";
|
|---|
| 581 | else
|
|---|
| 582 | if [ "${event}" = "svc_started" -o "${event}" = "svc_stopped" ]; then
|
|---|
| 583 | if [ -z "$2" ]; then
|
|---|
| 584 | args="$* 0";
|
|---|
| 585 | else
|
|---|
| 586 | args="$*";
|
|---|
| 587 | if [ "$2" != "0" ]; then
|
|---|
| 588 | if [ "${event}" = "svc_started" ]; then
|
|---|
| 589 | event="svc_start_failed";
|
|---|
| 590 | else
|
|---|
| 591 | event="svc_stop_failed";
|
|---|
| 592 | fi;
|
|---|
| 593 | fi;
|
|---|
| 594 | fi;
|
|---|
| 595 | else
|
|---|
| 596 | args="$*";
|
|---|
| 597 | fi;
|
|---|
| 598 | fi;
|
|---|
| 599 | splash_profile "pre ${event} ${args}";
|
|---|
| 600 | if [ -x "/etc/splash/${SPLASH_THEME}/scripts/${event}-pre" ]; then
|
|---|
| 601 | /etc/splash/"${SPLASH_THEME}"/scripts/${event}-pre ${args};
|
|---|
| 602 | fi;
|
|---|
| 603 | case "$event" in
|
|---|
| 604 | svc_start)
|
|---|
| 605 | splash_svc_start "$1"
|
|---|
| 606 | ;;
|
|---|
| 607 | svc_stop)
|
|---|
| 608 | splash_svc_stop "$1"
|
|---|
| 609 | ;;
|
|---|
| 610 | svc_started)
|
|---|
| 611 | splash_svc "$1" "start"
|
|---|
| 612 | ;;
|
|---|
| 613 | svc_stopped)
|
|---|
| 614 | splash_svc "$1" "stop"
|
|---|
| 615 | ;;
|
|---|
| 616 | svc_start_failed)
|
|---|
| 617 | splash_svc_fail "$1" "start"
|
|---|
| 618 | ;;
|
|---|
| 619 | svc_stop_failed)
|
|---|
| 620 | splash_svc_fail "$1" "stop"
|
|---|
| 621 | ;;
|
|---|
| 622 | svc_input_begin)
|
|---|
| 623 | splash_input_begin "$1"
|
|---|
| 624 | ;;
|
|---|
| 625 | svc_input_end)
|
|---|
| 626 | splash_input_end "$1"
|
|---|
| 627 | ;;
|
|---|
| 628 | rc_init)
|
|---|
| 629 | splash_init "$1" "${RUNLEVEL}"
|
|---|
| 630 | ;;
|
|---|
| 631 | rc_exit)
|
|---|
| 632 | splash_exit "${RUNLEVEL}"
|
|---|
| 633 | ;;
|
|---|
| 634 | critical)
|
|---|
| 635 | splash_verbose
|
|---|
| 636 | ;;
|
|---|
| 637 | esac;
|
|---|
| 638 | splash_profile "post ${event} ${args}";
|
|---|
| 639 | if [ -x "/etc/splash/${SPLASH_THEME}/scripts/${event}-post" ]; then
|
|---|
| 640 | /etc/splash/"${SPLASH_THEME}"/scripts/${event}-post ${args};
|
|---|
| 641 | fi;
|
|---|
| 642 | return 0
|
|---|
| 643 | }
|
|---|
| 644 | [splash_profile] => () { if [ "${SPLASH_PROFILE}" = "on" ]; then
|
|---|
| 645 | echo "$(cat /proc/uptime | cut -f1 -d' '): $*" >> "${spl_cachedir}/profile";
|
|---|
| 646 | fi
|
|---|
| 647 | }
|
|---|
| 648 | [chvt] => () { local ntty=$1;
|
|---|
| 649 | if [ -x /usr/bin/chvt ]; then
|
|---|
| 650 | /usr/bin/chvt ${ntty};
|
|---|
| 651 | else
|
|---|
| 652 | printf "e[12;${ntty}]";
|
|---|
| 653 | fi
|
|---|
| 654 | }
|
|---|
| 655 | [_] => /sbin/start-stop-daemon
|
|---|
| 656 | [PHP_FCGI_CHILDREN] => 1
|
|---|
| 657 | [FCGI_ROLE] => RESPONDER
|
|---|
| 658 | [SERVER_SOFTWARE] => lighttpd/1.4.20
|
|---|
| 659 | [SERVER_NAME] => gw
|
|---|
| 660 | [GATEWAY_INTERFACE] => CGI/1.1
|
|---|
| 661 | [SERVER_PORT] => 80
|
|---|
| 662 | [SERVER_ADDR] => 192.168.7.1
|
|---|
| 663 | [REMOTE_PORT] => 54750
|
|---|
| 664 | [REMOTE_ADDR] => 192.168.7.90
|
|---|
| 665 | [REMOTE_USER] => allan
|
|---|
| 666 | [AUTH_TYPE] => Digest
|
|---|
| 667 | [SCRIPT_NAME] => /mythweb/mythweb.php
|
|---|
| 668 | [PATH_INFO] =>
|
|---|
| 669 | [SCRIPT_FILENAME] => /var/www/localhost/htdocs/mythweb/mythweb.php
|
|---|
| 670 | [DOCUMENT_ROOT] => /var/www/localhost/htdocs
|
|---|
| 671 | [REQUEST_URI] => /mythweb/
|
|---|
| 672 | [QUERY_STRING] =>
|
|---|
| 673 | [REQUEST_METHOD] => GET
|
|---|
| 674 | [REDIRECT_STATUS] => 200
|
|---|
| 675 | [SERVER_PROTOCOL] => HTTP/1.1
|
|---|
| 676 | [HTTP_HOST] => gw
|
|---|
| 677 | [HTTP_USER_AGENT] => Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-GB; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
|
|---|
| 678 | [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
|
|---|
| 679 | [HTTP_ACCEPT_LANGUAGE] => en-gb,en;q=0.5
|
|---|
| 680 | [HTTP_ACCEPT_ENCODING] => gzip,deflate
|
|---|
| 681 | [HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7
|
|---|
| 682 | [HTTP_KEEP_ALIVE] => 300
|
|---|
| 683 | [HTTP_CONNECTION] => keep-alive
|
|---|
| 684 | [HTTP_COOKIE] => mythweb_id=8fe5539dbc5d5328472596e7ec444131
|
|---|
| 685 | [HTTP_AUTHORIZATION] => Digest username="allan", realm="mythweb", nonce="ef589aa7343c0be0edc54f86139bbf69", uri="/mythweb/", response="6f1799e48f58f3bb92ff0be5f485a7b1", qop=auth, nc=00000022, cnonce="c2a737e14821dc90"
|
|---|
| 686 | [HTTP_CACHE_CONTROL] => max-age=0
|
|---|
| 687 | [DB_SERVER] => gw
|
|---|
| 688 | [DB_NAME] => mythconverg
|
|---|
| 689 | [DB_LOGIN] => mythtv
|
|---|
| 690 | [DB_PASSWORD] => mythtv
|
|---|
| 691 | [PHP_SELF] => /mythweb/mythweb.php
|
|---|
| 692 | [PHP_AUTH_DIGEST] => username="allan", realm="mythweb", nonce="ef589aa7343c0be0edc54f86139bbf69", uri="/mythweb/", response="6f1799e48f58f3bb92ff0be5f485a7b1", qop=auth, nc=00000022, cnonce="c2a737e14821dc90"
|
|---|
| 693 | [REQUEST_TIME] => 1255255145
|
|---|
| 694 | [argv] => Array ( )
|
|---|
| 695 | [argc] => 0
|
|---|
| 696 | [STATUS] => 200
|
|---|
| 697 | )
|
|---|
| 698 |
|
|---|
| 699 |
|
|---|