Hi
I have a website which was made in Drupal.. I have successfully installed and configured Apache, Drupal and mysql .. Then I have imported all the modules and themes used in website to my local system in Drupal ..
When I run ... it gives the following error:
Fatal error: require_once() [function.require]: Failed opening required 'sites/localhost.dta/modules/dta/dta.pages.inc' (include_path='.:/usr/share/php:/home/hs/ZendGdata-1.10.0/library:/var/www/drupal/sites/all/modules/custom/dta') in /var/www/drupal/includes/menu.inc on line 346
if I create this path "sites/localhost.dta/modules/dta/dta.pages.inc" and then it gives the error that this link example.com is broken..
Plz help me how I can fix this ??
Comments
Move from Dev to Live environment
To me it looks like it might be an issue that your custom module is using a local path different to your server path '/var/www...'
I would suggest that somewhere within the custom dta module, it is linking to 'sites/localhost.dta/modules/dta/dta.pages.inc', however, the module path given further on is '/var/www/drupal/sites/all/modules/custom/dta'. Try moving the files that are in 'sites/localhost.dta/modules/dta/dta.pages.inc' to '/var/www/drupal/sites/all/modules/custom/dta' or rewrite to custom module to reflect changes.