Zen TYPO3 Forum

Our TYPO3 forum is available for freelancers, professionals and clients new to TYPO3 to discuss Basic TYPO3 templating, Typoscript, extension installation, administration and help with subscription templates. Please register for an account to post.

All Categories > TYPO3 General Discussion > Extensions > FATAL ERROR with mwimagemap
Total Posts: 5 - Pages (1): [1]
Author: mediatech
Posted: Jun 08 2007 - 11:18 AM
Subject: re: FATAL ERROR with mwimagemap
John,

I clicked the cbstarter extension remove button and was able to duplicate the log out "no user logged in" error however there was no problem logging back in for me.

The simplest solution may be to comment out everything in typo3conf/ext/cbstarter/scripts/localconf.php to disable the file entirely as shown below.

This prevents the "no user logged in" error on my end. I'd also be curious to see if this solves your issues with MW imagemap. I'll have more time to investigate MW imagemap this weekend and will report my results.

By commenting out all lines in cbstarter/scripts/localconf.php you still have the benefit of using the extension to edit and add additional extensions to the RealURL configuration file without having to directly alter typo3conf/localconf.php

For additional RealURL configuration options have a look at this thread here.

Gregory Remington
Mediatech Consulting, Inc.
Phone : +1 (760) 525-1770 . Fax: +1 (760) 542-1990 . Skype: gremington

typo3conf/ext/cbstarter/scripts/localconf.php
<?php

/*
* localconf.php helper script
*
* Add the following to typo3conf/localconf.php
* require_once( 'ext/cbstarter/scripts/localconf.php' );
*
* @author Michael Cannon <michael@cannonbose.com>
* @version $Id: localconf.php,v 1.10 2007/06/06 16:31:33 cannon Exp $
*/

//$TYPO3_CONF_VARS['BE']['compressionLevel'] = '3';
//$TYPO3_CONF_VARS['BE']['fileCreateMask'] = '0664';
//$TYPO3_CONF_VARS['BE']['folderCreateMask'] = '0775';
//$TYPO3_CONF_VARS['BE']['forceCharset'] = 'utf-8';
//$TYPO3_CONF_VARS['BE']['lockIP'] = '0';
//$TYPO3_CONF_VARS['BE']['maxFileSize'] = '100000';
//$TYPO3_CONF_VARS['BE']['sessionTimeout'] = '32400';
//$TYPO3_CONF_VARS['BE']['trackBeUser'] = '1';
//$TYPO3_CONF_VARS['BE']['warning_email_addr'] = '';
//$TYPO3_CONF_VARS['BE']['warning_mode'] = '2';
//$TYPO3_CONF_VARS['FE']['lifetime'] = '32400';
//$TYPO3_CONF_VARS['FE']['lockIP'] = '0';
//$TYPO3_CONF_VARS['GFX']['enable_typo3temp_db_tracking'] = '1';
//$TYPO3_CONF_VARS['GFX']['png_truecolor'] = '1';
//$TYPO3_CONF_VARS['SYS']['curlUse'] = '1';
//$TYPO3_CONF_VARS['SYS']['ddmmyy'] = 'm/d/Y';
//$TYPO3_CONF_VARS['SYS']['displayErrors'] = '2';
//$TYPO3_CONF_VARS['SYS']['hhmm'] = 'g:i a';
//$TYPO3_CONF_VARS['SYS']['loginCopyrightShowVersion'] = '1';
//$TYPO3_CONF_VARS['SYS']['maxFileNameLength'] = '255';
//$TYPO3_CONF_VARS['SYS']['no_pconnect'] = 1;
//$TYPO3_CONF_VARS['SYS']['recursiveDomainSearch'] = '1';
//$TYPO3_CONF_VARS['SYS']['serverTimeZone'] = '0';
//$TYPO3_CONF_VARS['SYS']['textfile_ext'] = 'txt,pdf,html,htm,css,inc,php,php3,tmpl,js,sql';
//$TYPO3_CONF_VARS['SYS']['USdateFormat'] = '1';
//$TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = 'false';
//$TYPO3_CONF_VARS["FE"]['pageNotFound_handling_statheader'] = 'HTTP/1.0 404 Not Found';

// MLC for multi-byte content
//$TYPO3_CONF_VARS['SYS']['multiplyDBfieldSize'] = '2';
// $TYPO3_CONF_VARS['SYS']['setDBinit'] = 'SET NAMES utf8;';
//$TYPO3_CONF_VARS['SYS']['setDBinit'] = 'SET NAMES utf8;'.chr(10).'SET CHARACTER SET utf8;'.chr(10).'SET SESSION character_set_server=utf8;' ;

// MLC 20070416 Examples
// $TYPO3_CONF_VARS['BE']['unzip_path'] = '/usr/bin/';
// $TYPO3_CONF_VARS['GFX']["im"] = '1';
// $TYPO3_CONF_VARS['GFX']["im_path_lzw"] = '/usr/bin/';
// $TYPO3_CONF_VARS['GFX']["im_path"] = '/usr/bin/';
// $TYPO3_CONF_VARS['GFX']['im_version_5'] = 'gm';
// $TYPO3_CONF_VARS['GFX']['TTFdpi'] = '96';
// $TYPO3_CONF_VARS['SYS']['binPath'] = '/usr/local/bin,/usr/bin';
// $TYPO3_CONF_VARS['SYS']['devIPmask'] = '192.168.*,127.0.0.1,71.255.125.178';
// $TYPO3_CONF_VARS['SYS']['loginCopyrightWarrantyProvider'] = 'Cannonbose, LLC';
// $TYPO3_CONF_VARS['SYS']['loginCopyrightWarrantyURL'] = 'http://www.cannonbose.com/typo3-support.html';

?>
Author: darmabum
Posted: Jun 07 2007 - 05:25 PM
Subject: re: FATAL ERROR with mwimagemap
OK, I ran a test on a backup site (which is basically a copy that uses the same db as my main site). This site once had the mwimagemap plugin installed but then removed after the crash by deleting references in localconf and removing temp_CACHE and the ext/imagemap dir. I thought I'd remove cbstarter and then re-install mwimagemap and see what's what.

Wellll.....as soon as I clicked the cbstarter extension remove button it blew-up, giving me the dreaded "no user logged in" error and locking me out completely.

So...I went back to my main site, which uses the identical db at the above site but has *never* had the mwimagemap plugin installed. First I tested by removing an arbitrary extension (task center), and found that this worked fine.

So then I went to remove cbstarter in order to install mwimagemap and test it, and (surprise) it blew-up too as soon as I clicked the deinstall icon.

Looks like it may be a conflict between imagemap and cbstarter at the db level.

bummer.
Author: mediatech
Posted: Jun 07 2007 - 01:54 PM
Subject: re: FATAL ERROR with mwimagemap
darmabum wrote:
(the last time I rebuilt from scratch, so it appears the conflict is with something connected to zwire).


Keep in mind that Zen Wireframe is an XHTML template with TypoScript so technically it cannot act directly on the database or corrupt it. More than likely it is a 3rd party "extension" that is the culprit here not the XHTML or TS.

Have you tried installing Zen Wireframe and mwimagemap without the other extensions in install.txt like Cannonbose Site Starter ( cbstarter )?

Are you using cbstarter or any other extensions like Page Template Selector in install.txt on your other sites that use mwimagemap?

Please let us know so we all can have a chance to notify the extension author(s) if one or more extension are the cause.

Disclaimer
http://typo3.org/extensions/what-are-reviews/

The extensions in our repository are free to use. Although they are reviewed for possible security issues their installation might cause problems in your TYPO3 installation or work not as expected. Neither the respective authors, the reviewers, nor the providers of this website or TYPO3 take any responsibility for problems resulting from the use of code provided by this repository.


Gregory Remington
Mediatech Consulting, Inc.
Phone : +1 (760) 525-1770 . Fax: +1 (760) 542-1990 . Skype: gremington
Author: darmabum
Posted: Jun 07 2007 - 02:47 AM
Subject: re: FATAL ERROR with mwimagemap
FWIW, I rescued my site by having the forsite to tar.gz my typo3conf directory as soon as the site was operational and before I started experimenting. By replacing that dir I'm back to being operational and all the data is intact! (tho I expect there may be some ext tables that are now superfluous).

Guess I'll steer clear of MW imagemap for now...

Author: darmabum
Posted: Jun 06 2007 - 11:38 PM
Subject: FATAL ERROR with mwimagemap
OK, this is the second time I locked myself out after installing the mwimagemap extension (the last time I rebuilt from scratch, so it appears the conflict is with something connected to zwire). I have the same extension on other sites with a variety of other extensions and it works fine.

Symptom: After installing mwimagemap, the admin user is logged out and subsequent logins are greeted with

Login-error or session timed-out

No user logged in! Sorry, I can't proceed then!

(You must have cookies enabled!)

Trying to log in continues the same loop. Deleting the tem_CACHE files does not help, nor does removing references to mwimagemap in localconf.php. (nor does deleting all cookies, FWIW).

The error occurred immediately after the extension made the following db changes:

ALTER TABLE tx_mwimagemap_area CHANGE color color char(7) NOT NULL default '#00ff00';
Current value: varchar(7) default '#00ff00'
ALTER TABLE tt_content CHANGE tx_mwimagemap tx_mwimagemap varchar(255) NOT NULL;

Any idea how I can recover?

jb
Total Posts: 5 - Pages (1): [1]
You must login to post a message to this conference.

 

CHC Forum provided by Cast Iron Coding

TYPO3 Support