2012-03-01 1 views
0

サイトをテストする別のサーバーに移動します。私はhttp://www.mysite/randomstuff は、私はこのエラーここ320行のmy-path-to-root/my-site/includes/entity.incの未定義関数field_attach_load()を呼び出す

Fatal error: Call to undefined function user_access() in /home/borsodas3/digipowers.devserver2012.com/modules/overlay/overlay.module on line 130

Fatal error: Call to undefined function node_access_needs_rebuild() in /home/borsodas3/digipowers.devserver2012.com/sites/all/modules/taxonomy_access/taxonomy>_access.module on line 598

に取得subdirectryにアクセスしようとした場合

...

Call to undefined function field_attach_load() in my-path-to-root/my-site/includes/entity.inc on line 320

奇妙な、このエラーが発生している取得したファイルphp.info 2

  • このサーバーに行く[http://www.freeenergymedia.com/phpinfo-to.htm] [1]
  • この1 [http://www.freeenergymedia.com/phpinfo-from.htm][2]から

私はこのようになりますから移行していますサイトからDrupalの状況報告...

Info 
Drupal 7.8 
OK 
Access to update.php Protected 
Error 
CTools CSS Cache Unable to create 
The CTools CSS cache directory, ctools/css could not be created due to a misconfigured files directory. Please ensure that the files directory is correctly configured and that the webserver has permission to create directories. 
OK 
Configuration file Protected 
OK 
Credit card encryption Credit card data is encrypted during checkout for maximum security. 
OK 
Cron maintenance tasks Last run 26 min ago 
You can run cron manually. 
To run cron from outside the site, go to mysite.com 
OK 
Database system MySQL, MariaDB, or equivalent 
OK 
Database system version 5.1.57-log 
OK 
Database updates Up to date 
OK 
Date API System date settings 
The timezone has been set to America/New_York. The first day of the week has been set to Monday. The medium date format has been set to to F j, Y - g:ia. 
Error 
Drupal core update status Not secure! (version 7.12 available) 
There is a security update available for your version of Drupal. To ensure the security of your server, you should update immediately! See the available updates page for more information and to install your missing updates. 
OK 
File system Writable (public download method) 
OK 
Fitvids library Installed 
Fitvids Javascript Library. Download it from here, copy it to the module directory, and rename it to jquery.fitvids.js. 
OK 
GD library PNG support bundled (2.0.34 compatible) 
OK 
GD library rotate and desaturate effects bundled (2.0.34 compatible) 
OK 
Images Product image support has been automatically configured by Ubercart. 
Error 
Module and theme update status Not secure! 
There are security updates available for one or more of your modules or themes. To ensure the security of your server, you should update immediately! See the available updates page for more information and to install your missing updates. 
OK 
Node Access Permissions 1832 permissions in use 
If the site is experiencing problems with permissions to content, you may have to rebuild the permissions cache. Rebuilding will remove all privileges to content and replace them with permissions based on the current modules and settings. Rebuilding may take some time if there is a lot of content or complex permission settings. After rebuilding has completed, content will automatically use the new permissions. Rebuild permissions 
OK 
PHP 5.3.2 (more information) 
OK 
PHP extensions Enabled 
OK 
PHP memory limit 300M 
OK 
PHP register globals Disabled 
Warning 
Unicode library Standard PHP 
Operations on Unicode strings are emulated on a best-effort basis. Install the PHP mbstring extension for improved Unicode support. 
OK 
Update notifications Enabled 
Info 
Upload progress Not enabled 
Your server is capable of displaying file upload progress through APC, but it is not enabled. Add apc.rfc1867 = 1 to your php.ini configuration. Alternatively, it is recommended to use PECL uploadprogress, which supports more than one simultaneous upload. 
OK 
Web server Apache/2.2.3 (CentOS) 
OK 
cURL Enabled 

答えて

1

最初に行うのは、Drupal Coreの最新バージョンへのアップデートです。あなたが見ているエラーメッセージは、コアから来ていますが、contribモジュールからのものである可能性があります。あなたのDrupalコアが古いものであれば、すべてのモジュールを更新してください。 Drupal 7.8にセキュリティ上の問題があり、状況に影響を与える可能性のあるその他の問題が解決された可能性があります。現在のバージョンのDrupalは7.12で、Drupal 7.8からリリースされてから約6ヶ月前に修正されたので、コアをアップグレードしたいと思っています。異なるマシン上で異なるバージョンのコアを実行している可能性もありますか?もしそうなら、データベースは互換性がないかもしれません。特に、新しいデータベース(最新のモジュールとコア)を使用して古いモジュール/コアを持つシステムにロードしている場合には、互換性がありません。

他のcontribモジュールをアップデートして、適切なタイミングでupdate.phpを実行した後でも、問題が引き続き発生する場合は、実際にどのモジュールが責任を負っているかを特定するために "divide and conquer" contribモジュールのグループを削除し、問題がどこに消えているのかを確認し、どれが問題になっているのかを絞り込みます。互換性の問題または構成上の問題でもあります。または、コードが更新されたモジュールがあるかもしれませんが、update.phpは実行されていないのでデータベースは必要ではありません。また、Develモジュールなどのツールを使用して問題を追跡することもできますが、サイトがどのように「壊れているか」によって異なります。 「致命的なエラー」が発生している場合は、先にそれを回避するために何ができるかを見たいかもしれません。

私はまた、あなたがCSSのキャッシュが(他のタスクの中でWebサーバがやろうとすることができるし、それはまた、あなたが経験しているエラーが発生に関与することができる)場所を取ることができるように適切にあなたのファイルのディレクトリのパーミッション/所有権を設定する必要があります注意してくださいたとえ "致命的な誤り"の根源ではないとしても。

トラブルシューティングに役立つ希望は、時には痛みになることがあります。

0

私が最初にインストールしたときに、「新しいデータベースを作成」にチェックを入れず、同じバッグを321行目に入れました。enter image description here

関連する問題