Hi all,
thanks for your suggestions. I finally found the problem, which was
surprisingly not related to oxConfig or oxShopControl.
I use a custom module to decode the SEO-URL, which uses the following query:
$oDb->select("select oxstdurl, oxlang from oxseo where oxseourl=" .
$oDb->quote( $sSeoUrl ) . " and oxshopid='$iShopId' limit 1")
If an user adds an URL-encoded UTF-8 character to the URL, the following
exception is thrown:
mysql:EXECUTE error: [1267: Illegal mix of collations
(latin1_bin,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=']
in EXECUTE with parameters select oxstd
url, oxlang from oxseo where oxseourl='�^C/offline.html' and
oxshopid='oxbaseshop' limit 1
I fixed this by utf8-decoding the variable $sSeoUrl-variable and now the
message in the error.log disappeared and no exceptions are thrown.
Hope this will help somebody else, too.
Best regards
Maximilian
Am 15.07.2014 17:32, schrieb Maximilian Walter:
Hello everybody,
I noticed today the following PHP-error in the log-files
[Tue Jul 15 16:03:02 2014] [error] [client x.x.x.x] PHP Fatal error:
Call to a member function pageClose() on a non-object in
/path/to/core/oxconfig.php on line 642, referer: http://example.com/
I can't explain the errors. I'm also not able to reproduce it, although
they appear quite frequently. I checked the access-log and didn't found
anything suspicious, only status-code 200 and no requests to offline.html.
Has anybody experience with an similar problem?
We use OXID Professional Edition 4.8.6 with some custom modules.
Thanks in advance.
Best regards,
Maximilian
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general