Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6944569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:19:25+00:00 2026-05-27T13:19:25+00:00

The Problem Drupal 6.22 install with REST server and Services modules. I do a

  • 0

The Problem

  • Drupal 6.22 install with REST server and Services modules.

  • I do a POST to http://domainname.co.uk/rest/users/logout and I get a 500 error.

  • In the Logs:

    PHP Fatal error:  Call to undefined function services_resource_uri_formatter() in /home/organicd/public_html/domainname.co.uk/live/public/sites/all/modules/rest_server/includes/RESTServer.inc on line 15
    

Background

I had the Drupal install with REST server installed and working perfectly. The whole install was moved to a different server (not by me). I was told that all folders have been kept intact. The only difference was that the old server had an SSL certificate.

With the old server, I could do a POST using REST Console to https://domainname.co.uk/rest/users/logout and it would logout the current user. Now I get a 500 error with the log entry above.

What I’ve Tried

  • Disabling REST Server. I read that Services 3.0 has REST built into it. When I disable REST Server and Services, then re-enable Services, I get:

     The plugin definition of services_ctools_export_ui cannot locate schema services_endpoint.
    

    and I don’t see anywhere in administer by module that I can setup the REST settings.

  • Different version of Services. Tried updating from 6.x-3.0-rc1 to 6.x-3.0 but it doesn’t make any difference

  • Hacking the code. I found a version of the services.module that has the services_resource_uri_formatter() function. I added that in, but got a similar error saying it couldn’t find another function. I sense this road leads to madness.

Versions

  • Drupal 6.22
  • Ctools 6.x-1.x-dev
  • REST Server 6.x-2.0-beta3
  • Services 6.x-3.0-rc1 (also tried latest version of 6.x-3.0)

Question

How do I get Drupal 6.22 REST to work once again? What am I doing wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T13:19:26+00:00Added an answer on May 27, 2026 at 1:19 pm

    Thanks John and Mir,

    We realized that what happened in our case was a conflict between the rest_server single module and the rest server capability that is included on the services module itself.

    We had our module dependent on the rest_server module and we were enabling and loading it. This module was broken regarding services.

    The solution for our case was to disable the single rest_server and delete it. Disable services and enable again. there should appear another rest_server version 3 which is the one that comes with services.

    Then we enable this rest server module and it all works like magic.

    Regards.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem with the following implementation of hook_cron in Drupal 6.1.3. The
im gonna install a drupal multisite behavior: common codebase and one database per site.
I am trying to migrate a test website on drupal onto a live server
I'm installing Drupal like I've always done and I start to see this error
can I easily move my drupal installation from Apache to Microsoft server, or I
I have some problem in drupal registration page. I want to change whole user
I am attempting a fresh install of Drupal 6.14 on a Ubuntu 9.10 machine
I've a problem with drupal paths in one view that I building. Right now
I'm new to Drupal and am experiencing this strange problem with my testing Drupal
Hopefully someone can help me with this problem. I'm starting to work with Drupal

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.