By Date: <-- -->
By Thread: <-- -->

[Bug 5411] New: logging in with lynx gives undefined variable error



Please do not reply directly to this message. All additional comments should
be made in the comments box of this bug report.

http://bugs.xaraya.com/show_bug.cgi?id=5411

           Summary: logging in with lynx gives undefined variable error
           Product: App - Modules
           Version: Weekly Tarball
          Platform: Intel
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3 - Standard
         Component: TinyMCE
        AssignedTo: jojodee (at) xaraya.com
        ReportedBy: mhagedon (at) email.arizona.edu


Xaraya Version:    1.0.1
PHP version:       4.3.9
WebServer:         

When I log into my Xaraya site with lynx, the home page gives the following error:
At:
/var/www/xaraya/htdocs/var/cache/templates/3fd78a548456f400134351c360247876.php
(Line: 26) Undefined variable: usewysiwyg
[modules/tinymce/xartemplates/includes/tinymce_insert.xd]

Reproducible: Always
Steps to Reproduce:
1. Install TinyMCE.
2. Set TinyMCE to default editor.
3. Set "Choose Default Action Mode" to "All Text Areas".
4. Set Activation mode to "Automatic".
5. Open Lynx.
6. Log in.
Actual Results:  
The error above occurred.

Expected Results:  
No error should have been thrown.

I'm using a modified Xaraya_Classic theme, but this obviously was not overriden.
In that template, $usewysiwyg is used in an if statement even if it hasn't
previously been defined. It gets defined if the browser is listed in the "Use
for browsers" setting, so the error doesn't occur. I should try Safari and see
what happens (it's not handy at the moment).

-- 
Configure bugmail: http://bugs.xaraya.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Xaraya_bugs mailing list
Xaraya_bugs (at) xaraya.com
http://xaraya.com/mailman/listinfo/xaraya_bugs