I want to configure the URL alias patterns on my site. When I try visiting the http://localhost/mysite/admin/config/search/path/patterns,
I get an error saying "The website encountered an unexpected error. Please try again later."
All other paths work fine with the exception of the above. Any ideas on what could possibly be the course?
-
1Is anything present in reports ? localhost/mysite/admin/reports/dblog– GaydaburaCommented Oct 14, 2012 at 16:29
-
there is nothing in the reports– Nana AkwasiCommented Oct 14, 2012 at 20:12
-
I have the same issue. The report message is: Recoverable fatal error: Argument 2 passed to _token_token_tree_format_row() must be of the type array, string given, called in /.../sites/all/modules/token/token.pages.inc on line 130 and defined в функции _token_token_tree_format_row() (line 179 in file /.../sites/all/modules/token/token.pages.inc). Any ideas?– Petr LozovitskiiCommented Feb 12, 2014 at 3:41
-
1The unexpected error usually means that the actual error is supressed by the server settings. Have you updated the token module in major version recently? Have you run the update.php script?– Alexei RayuCommented Apr 16, 2014 at 8:07
Add a comment
|
1 Answer
Usually this is due to the php memory being set too low.
Instead of increasing for the entire site, you could target the specific page by adding this to the settings.php file in your sites folder.
if (isset($_GET['q']) && strpos($_GET['q'], 'admin/config/search/path/patterns') === 0) { ini_set('memory_limit', '512M'); }