Fatal error: Call to undefined function file_scan_directory()

5 posts / 0 new
Last post
nahuel
nahuel's picture
Fatal error: Call to undefined function file_scan_directory()

Hello:
I'm tring to install newscenter but I get this when I load the files from zip files:
Fatal error: Call to undefined function file_scan_directory() in /home/nahuel/public_html_observatorio.cl.2/includes/common.inc on line 5386

support
support's picture
Hi Nahuel:

Hi Nahuel:

Seems your script couldn´t finish the installation process. Check these things before proceeding:

http://doublemthemes.com/comment/146#comment-146

If it does not solves the issue, then you can try going manually:

The .sql file you need to import to replace the one installed as default, is located under profiles/newscenter/newscenter.sql First clean the database you have, using phpmyadmin and then import it.

Usually, increasing PHP memory and max execution time solves the issue.

Let us know.

Best!

nahuel
nahuel's picture
It happen actually before

It happen actually before start installation, no db setup, just the extracted files :(

support
support's picture
Hi there Nahuel:

Hi there Nahuel:

Does your server has the minimal requirements for Drupal 7? https://drupal.org/requirements

At least for Drupal 7, it is required PHP 5.2.5 or higher (5.3 recommended).

If you could try installing a clean Drupal, it would be even much better. Maybe using Softaculous or manually.

Let me know.

Best!

nahuel
nahuel's picture
fixed

Weird thing, some files where 0 bytes. I just uploaded and unziped again and is installed ;)

Log in to post comments