Thursday 10 April 2008 6:55:49 am
Hello forum, one of my sites which I recently upgraded to ez Publish (from 3.9.3 over 3.10.0 to 4.0.0) does not seem to act upon url aliases anymore. They just don't seem to have any effect.
Example:
In the admin interface under the "global URL aliases" I add a simple alias:
Alias: /test Destination: /content/view/full/2564 But http://mysite.com/test contains en empty page while http://mysite.com/content/view/full/2564 returns the desired content. Now what's interesting is the SQL Debug output:
Notice: eZMySQLDB::query(1 rows, 0.378 ms)
SELECT e0.id AS e0_id, e0.link AS e0_link, e0.text AS e0_text, e0.text_md5 AS e0_text_md5, e0.action AS e0_action, e0.is_alias AS e0_is_alias
FROM ezurlalias_ml e0
WHERE e0.parent = 0 AND (e0.lang_mask & 3 > 0) AND e0.text_md5 = MD5( 'test' ) LIMIT 0, 1
So the alias IS BEING FOUND in urlalias_ml as it returns one row! BUT it does not seem to be used in any way as just below I get this error in the debug output:
Error: error/view.php Error ocurred using URI: /test Interestingly enough the same happens when I define an URL wildcard alias instead.
Details on the site:
* Upgraded to from 3.9.3 to 3.10 and skipped running updateniceurls.php as described in the manual (for a direct 4.0 upgrade afterwards) * Ran updateniceurls.php in 4.0 and it seems to have populated urlalias_ml correctly Any idea?
|