blank modules page after adding gallery.module
mswnt
Joined: 2006-08-19
Posts: 3 |
Posted: Sat, 2006-08-19 08:52 |
Hello. I have setup the following enviroment: OpenSuSe Linux 10.0 Drupal and Gallery are working fine separately. I followed the instructions in "install.txt" from gallery.module. When I try to open the modules page in Drupal to configure/activate the gallery.module I get a blank page. When I look in the logs from Drupal I see the following error: _________________________________________________________________________________________ The following error is logged in the apache-logfile: _________________________________________________________________________________________ [client 10.0.0.23] PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'modules/gallery/gallery_base.inc' (include_path='/usr/share/php5') in /srv/www/htdocs/modules/gallery/gallery.module on line 6 I have already increased the memory limit for PHP. So this is not the cause for the problem. The folder for Gallery2 is named "Gallery2". So this is not the cause too. I have not setup a custom Drupal-site. I use the default site. Could this be the cause for the error? If someone could give me a solution or lead me to the correct trail, I would be realy happy! Thanks in advance. Andreas |
|
Posts: 189
It is looking for gallery_base.inc and not finding it. This is a required file for gallery.module. Is it present? Check to make sure that the permissions are correct (it must be readable).
Posts: 3
Hello.
This is my understanding too. But the file is present. I also tried granting 777-rights - same error. Also I can open the file in the browser.
Andreas
Posts: 3
Hello.
Got the solution from Antony in Drupals-Forum.
After adding the current directory into php.ini I can load the modules page and activate the gallery.module.
include_path='.:/usr/share/php5'
Andreas