Problem: Fatal error: Cannot redeclare render

Asked By 0 points N/A Posted on -
qa-featured

 

I just installed Oracle Enterprise Linux 6.2. Before this I had 6.1 so I upgraded to the 6.2 version. At this time I am facing a problem in Drupal 7 install. An error message occurs during Drupal 7 install which you can see in the below attached image. Can anybody suggest me what should I do now? Thanks in advance.

Fatal error

Problem: Fatal error: Cannot redeclare render () in /var/www/html/includes/common Inc on the line 5757.

SHARE
Answered By 30 points N/A #175394

Problem: Fatal error: Cannot redeclare render

qa-featured

Hi there Mario M Fischer,

Things like this happens sometimes after the upgrade as not all the modules and components are compatible with the newer version of the installed part.

There are few things you can do to fix the problem – you can troubleshoot what module causes the problem. It is most likely the graohviz, as it is known that module has issues with the Oracle Enterprise Linux 6.2. To disable it follow the next steps:

Open your FTP manager and connect to the server. Follow the path: /etc/php.d and locate the file named graphviz.ini. Depending on your FTP manager, either download it or open it directly from the server to edit it and find the lines:

Enable graphviz extension module
extension=gv.so

Comment those lines using the ';' so they look like this:
;Enable graphviz extension module
;extension=gv.so

Save the file, upload it again and confirm rewrite.

In case you don't feel comfortable doing this, you can always downgrade the Oracle Enterprise Linux to  6.1 versions and wait till this is fixed.

Best regards,
Drake Vivian

Related Questions