[TYPO3] realurl issue
4mails at gmx.de
4mails at gmx.de
Wed Jan 9 22:49:11 CET 2008
Thanks Dmitry for your advice,
As far as I think it cannot be an issue the the php.ini, since there are
other typo3 installations working with realurl on the same server. Or am I
missing something?
We still get errors with the realurl extension; some pages work fine,
however we have troubles when trying to access the 2nd and 3th menu levels.
Enabling this line in typo3conf
$TYPO3_CONF_VARS['SYS']['displayErrors'] = '1';
we get the following errors, also when we are not logged into the BE:
---BEGIN---
Warning: mb_ereg_replace() [function.mb-ereg-replace]: mbregex compile err:
premature end of char-class in
/var/www/vhosts/naxus.info/httpdocs/typo3conf/ext/realurl/class.tx_realurl_a
dvanced.php on line 744
Warning: Cannot modify header information - headers already sent by (output
started at
/var/www/vhosts/naxus.info/httpdocs/typo3conf/ext/realurl/class.tx_realurl_a
dvanced.php:744) in
/var/www/vhosts/naxus.info/httpdocs/typo3conf/ext/realurl/class.tx_realurl.p
hp on line 1005
Warning: Cannot modify header information - headers already sent by (output
started at
/var/www/vhosts/naxus.info/httpdocs/typo3conf/ext/realurl/class.tx_realurl_a
dvanced.php:744) in
/var/www/vhosts/naxus.info/httpdocs/typo3conf/ext/realurl/class.tx_realurl.p
hp on line 1006
---END---
Please note the last two errors here are new!
I get also some warnings when I try to save the configuration through the
Extension Manager. There appear to be some errors in the database's
structure:
---BEGIN---
Database status: Table error! Probably one or more required
fields/tables are missing in the database!
Flags: Module
Module+
TCA
Config template? Yes
TypoScript files:
Language files: locallang_db.php
modfunc1/locallang.php
Upload folder:
Create directories:
Module names: xMOD_tx_realurl_test
Class names: tx_realurl
tx_realurl_advanced
tx_realurl_autoconfgen
tx_realurl_dummy
tx_realurl_userfunctest
tx_realurl_modfunc1
Code warnings:
(developer-relevant) Some tables or fields are missing! No XCLASS
inclusion code found in file "class.tx_realurl_userfunctest.php"
Naming annoyances:(developer-relevant) modname 0
xMOD_tx_realurl_test
---END---
I tried to update the database in Install / Database Analyzer / Compare.
There are some lines that could not be processed after pressing WRITE IN
DATABASE:
---BEGIN---
ALTER TABLE tx_aahbook_entries CHANGE sorting sorting int(10) unsigned
NOT NULL;
Current value: int(10) unsigned default '0'
ALTER TABLE tx_aahbook_entries CHANGE deleted deleted
tinyint(4) unsigned NOT NULL;
Current value: tinyint(4) unsigned default '0'
ALTER TABLE tx_aahbook_entries CHANGE title title tinytext
NOT NULL default "";
Current value: tinytext
ALTER TABLE tx_aahbook_entries CHANGE name name varchar(100)
NOT NULL default "";
Current value: varchar(100) default ''
ALTER TABLE tx_aahbook_entries CHANGE email email
varchar(100) NOT NULL default "";
Current value: varchar(100) default ''
ALTER TABLE tx_aahbook_entries CHANGE url url varchar(200)
NOT NULL default "";
Current value: varchar(200) default ''
ALTER TABLE tx_realurl_uniqalias DROP KEY bk_realurl02;
ALTER TABLE tx_realurl_uniqalias ADD KEY bk_realurl02
(tablename,field_alias,field_id,value_alias(220),expire);
---END---
Finally, when accessing the extension over the EM, under the title "Update
needed:" I get these two lines:
---BEGIN---
ALTER TABLE tx_realurl_uniqalias DROP KEY bk_realurl02;
ALTER TABLE tx_realurl_uniqalias ADD KEY bk_realurl02
(tablename,field_alias,field_id,value_alias(220),expire);
---END---
I've also made this changes directly over PHPMyAdmin, however the problem
still persists.
Thanks for helping us to solve this issue,
Miguel
-----Mensaje original-----
De: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] En nombre de Dmitry
Dulepov [typo3]
Enviado el: Martes, 08 de Enero de 2008 2:46
Para: typo3-english at lists.netfielders.de
Asunto: Re: [TYPO3] realurl issue
Hi!
4mails at gmx.de wrote:
> Now we're getting an error like this (enabling SQLDebug in Typo3):
>
> Warning: mb_ereg_replace() [function.mb-ereg-replace]: mbregex compile
err:
> premature end of char-class in
>
/var/www/vhosts//<domain.com>/httpdocs/typo3conf/ext/realurl/class.tx_realur
> l_advanced.php on line 744
Firsts, sqlDebug has nothing to do with it because this is not SQL error.
It appears that you have enabled mb_* overloading in php.ini. TYPO3 needs
this options to be turned off. It makes all necessary conversions when
necessary. By enabling this option you do double conversions.
Found this:
> #PHP_VALUE mbstring.func_overload 7
Commented here but what about php.ini?
In vhosts:
> php_admin_value allow_url_fopen 1
Useless. This value cannot be changed outside php.ini. Read PHP manual about
it. If you set this value to 1, you create a big security risk on your
server. Enable curl extension instead in PHP and in TYPO3 install tool.
--
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list