Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By rrajan on
I am getting a below error when i try to configure a new theme. I get the following error
Fatal error: Only variables can be passed by reference in /www/modules/system.module on line 649
Any help will be appreciated.
Comments
Replace...
1) Replace
file_check_directory(variable_get('file_directory_path', 'files'), FILE_CREATE_DIRECTORY, 'file_directory_path');
with:
2) or search the patches on the Drupal site (can be a hard job)
3) or downgrade you php to 5.0.3 (5.0.4?)
Another Error Again
Thanks for the reply above. That fixed the problem at line 649. Now i have the same issue in line 25.
Fatal error: Only variables can be passed by reference in /www/thesarbanes-oxley/modules/system.module on line 25
I am unable to downgrade php 5.0.3 because i am unable to find the source!!! very bad with me
Line 25 Error fix
Just incase you havent found out.. downloading the CVS just shows
Line 25 being replaces with
which fixes it for me.. :-D
~Rob Douglas
http://sn0n.com/
thanks, for me as well!
thanks, for me as well!