I am new to Drupal. I added a new content type and a view that points in the google map for the locations I entered

This worked fine in my local site. I implemented the same in the live site. But that gave a page not found error for every page and all the pages are redirected to some another unneccessary page.

Please let me know if adding a view can cause this kind of errors.

I used these modules: Location Map, Geocoder, geoPHP , Geofield and Geomap.

Or did this effect occure because of using these modules?

  • Have you tried clearing cache ..?
    – Bipin K
    Commented Jul 29, 2015 at 5:02

2 Answers 2


Check if anything in this list of typical things might help:

Another option is to check the logs. If you find errors there (like PHP Fatal errors), then try to narrow down that error to the module that causes the error and disable that module (and report it in its issue queue on Drupal.org). If you don't know which module is causing it, then first disable all modules, and enable them one by one again. If at some point the error then comes back, then that must be the problem module causing your problem. Then disable that module again and re-enable all others.

  • Hi..thank you for the reply.I checked the logs and found the error that reported as below " PHP Fatal error: [] operator not supported for strings in ..../../includes/common.inc at the line that contains code below $options['attributes']['class'][] = 'active'; "
    – MaArc
    Commented Jul 29, 2015 at 23:24
  • I enhanced my answer related to the error you mentioned. Commented Jul 30, 2015 at 5:50

'Page not found' is exactly what it refers to. That means that particular url is still not created. There are multiple ways to do that in Drupal 7 depending on your approach.

Since you indicated views, for views you would set the page at Path: under the Page Settings tab incase a Page Level view is being added.

Here is a link that can introduce some of those concepts.

If this does not help, please add the link where you would like to display the view at?

  • .Thank you for the reply.I have added \path for the view in the page settings tab only.I tried that in local which worked fine ..I am facing the issue when i am doing the same in the production site.
    – MaArc
    Commented Jul 29, 2015 at 23:31
  • Are you able to share the link that you are trying to load? Additionally a screenshot of the view and the error page would help as well
    – pal4life
    Commented Jul 30, 2015 at 16:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.