Bug #5422

typoSetup is not defined 4.3.0RC1

Added by Dennis Shewmaker over 3 years ago. Updated over 2 years ago.

Status:Resolved Start date:2009-11-18
Priority:Should have Due date:
Assignee:Jeff Segars % Done:

100%

Category:-
Target version:1.1.0
Votes: 0

Description

In FireFox 3.5.5 after getting the error:
The requested URL
/defVals[tt_content][CType]=image&defVals[tt_content][imagecols]=2 was not found on this server.

was succesfully removed by disabling the admin control panel I now am directed back to the start page of the website when clicking on the editing bar accross the top. There is a javascript error on the page: typoSetup is not defined. Here is the code generated:

TYPO3.LLL = {
feeditadvanced : {"dropMessage":"Drop content here","loadingMessage":"Loading editing form"}},
/**
 * TypoSetup object.
*/
function typoSetup() { //
this.PATH_typo3 = TYPO3.configuration.PATH_typo3;
this.PATH_typo3_enc = TYPO3.configuration.PATH_typo3_enc;
}
var TS = new typoSetup();</script>

The last line above is what generates the error code. Perhaps there is a syntax error someplace, but I could not find it. (don't do javascript very often)

When clicking on the content element edit button the lightbox pops up, but there is no content in the box. Attached is a screenshot of the lightbox pop up.

frontend_editing.jpg (113 kB) Dennis Shewmaker, 2009-11-18 23:33

Associated revisions

Revision 1692
Added by Jeff Segars over 3 years ago

Fixed bug #5422: typoSetup is not defined.

History

Updated by Jeff Segars over 3 years ago

  • Status changed from New to Needs Feedback
  • Assignee set to Jeff Segars
  • Target version changed from TYPO3 4.3-beta3 to 398

Hey Dennis,
Thanks for the bug report! I fixed the Javascript issue with typoSetup() in r1692. I think the the blank lightbox is a separate issue though. Are any PHP error being generated on the server side? Once you're able to investigate that, we should probably close this ticket and open a new one if necessary.

Thanks,
Jeff

Updated by Jeff Segars over 3 years ago

  • Status changed from Needs Feedback to Resolved
  • % Done changed from 0 to 100

Applied in changeset r1692.

Updated by Jeff Segars over 3 years ago

  • Target version changed from 398 to 1.1.0

Also available in: Atom PDF