Hi,

I'm using a Postgree database. Node deploying is correct but I'm having lot of errors with content types:

.array_fill() [function.array-fill]: Number of elements must be positive in ...\includes\database.inc on line 253.

.implode() [function.implode]: Invalid arguments passed in ...\database.inc on line 253

.array_keys() [function.array-keys]: The first argument should be an array in ...\modules\user\user.module on line 513.

.pg_query() [function.pg-query]: Query failed: ERROR: syntax error near «)» LINE 1: ... JOIN drupal_permission p ON p.rid = r.rid WHERE r.rid IN () ^ in ...\includes\database.pgsql.inc on line 139.

.query: SELECT p.perm FROM drupal_role r INNER JOIN drupal_permission p ON p.rid = r.rid WHERE r.rid IN () in ...\modules\user\user.module on line 513.

anyone have the same problem or know what is happening? thanks

CommentFileSizeAuthor
#4 node1.jpg43.56 KBnamita21

Comments

dixon_’s picture

Hmm... I've never tested the Deploy/Services setup with PostgreSQL. Maybe we have some issues there. That sound most likely to be the case here. Anyway, are you sure the user you are deploying with have permissions on the target site to administer content types?

Do you have more logging info to provide or more exact steps on how to reproduce this bug?

dixon_’s picture

Status: Active » Postponed (maintainer needs more info)
adytmro’s picture

Hy,

same thing happens on Oracle.

I am using admin user to deploy the content type ... it should have permissions to administer content types.

namita21’s picture

Title: "Access denied" deploying content types » "Access denied" deploying
Version: 6.x-1.x-dev » 6.x-1.0-alpha2
Status: Postponed (maintainer needs more info) » Active
StatusFileSize
new43.56 KB

Done with all the configuration mentioned in Deploy project page and then when trying to push node, the deployment process starts with a blue bar but ends up showing up the error of access denied. Both sites source and destination are on same server.
Configuration:
Deployment 6.x-1.0-alpha2
Drupal 6.22
Services 6.x-2.4

Deployment Log Details:
Module Description Result Message
node page: Testing Deployment module Error Access denied
I have used user#1 login information for deploying node to destination server, do I need to change anything on server?
I have tried disabling upload module .
Source site: http://example1.com, Destination http://example2.com/services/xmlrpc
Also tried to go to http://example2.com/services/xmlrpc and getting message :
XML-RPC server accepts POST requests only.
but none of them working for me, any solutions?

qasimzee’s picture

+1

lionsharz’s picture

+1

nikolas.tatianenko’s picture

This is authentication problem

I solved this problem by editing services on client site
1) Go to admin - structure - services on client site
2) if there is no service - create it
path must be the same as path of endpoint on site from what you want to send content
select server type
and set checkbox session authentication
3) if service already exists click on in operations dropdown menu and click on 'Edit' item
and set checkbox session authentication

After this operations server site deploying content successfully