CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Error after moving
Pages: [1]

Author Topic: Error after moving  (Read 1350 times)

RobinVNL91

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Drupal 7.9
  • MySQL version: 5.1.58
  • PHP version: 5
Error after moving
December 22, 2011, 06:55:25 am
Hello,

I ran CiviCRM on a local server (WAMP) in a folder called "drupal-7.9". When I moved it to a real webserver, I've a problem.
I did everything as the documentation says. But in the CiviCRM menu, the links still contains ".../drupal-7.9/index.php?....". I cannot find this somewhere in the PHP code or in the database. Can someone help me?  ??? ???

Thanks a lot.

Robin

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Error after moving
December 22, 2011, 07:05:58 am
Run /index.php?q=civicrm/menu/rebuild?reset=1
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

RobinVNL91

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Drupal 7.9
  • MySQL version: 5.1.58
  • PHP version: 5
Re: Error after moving
December 22, 2011, 07:42:54 am
Thanks! It worked!!  ;D

RobinVNL91

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Drupal 7.9
  • MySQL version: 5.1.58
  • PHP version: 5
Re: Error after moving
December 27, 2011, 06:26:53 am
When I want to access it now, I see the following error statement:

Code: [Select]
Fatal error: Call to undefined function user_access() in /var/www/qb105316/data/www/fanf.robinv-web.nl/includes/menu.inc on line 619
Does someone know an answer?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Error after moving
December 27, 2011, 07:16:34 am
Quote from: RobinVNL91 on December 27, 2011, 06:26:53 am
When I want to access it now...

Access what? What URL?

Do other URLs on the site work?

Try to flush all Drupal caches.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

RobinVNL91

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Drupal 7.9
  • MySQL version: 5.1.58
  • PHP version: 5
Re: Error after moving
December 27, 2011, 08:24:36 am
I was trying to access Drupal at all.

How do I flush the Drupal cache?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Error after moving
December 27, 2011, 08:30:50 am
There are a few ways to flush the cache: http://www.google.com/search?q=flush+the+Drupal+cache

But can you access your home page???
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

RobinVNL91

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Drupal 7.9
  • MySQL version: 5.1.58
  • PHP version: 5
Re: Error after moving
December 28, 2011, 08:48:43 am
Nope! Not even that!
see http://fanf.robinv-web.nl

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Error after moving
December 28, 2011, 08:53:30 am
I would say, make a directory called drupal-7.9 and put an empty Drupal there. Then see if you can login. If so, do that and THEN try to flush all caches. Try installing the admin_menu module as the top left menu has "clear all caches" in it.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Error after moving

This forum was archived on 2017-11-26.