Failed message when trying to add a Pay to Publish Plan

14 replies [Last post]
gbmcarrie
Offline
Joined: 02/17/2012
Status: 
Answered

I am trying to make new Pay to Publish Plans, but everytime i make one, it says "Failed" and doesn't appear in the list. Here is a screenshot of my setup and error message. 

http://i40.tinypic.com/142uh7c.png

http://i43.tinypic.com/a17go7.png

I have tried many different ways and I cannot seem to get it to work no matter what I try. 

gbmcarrie
Offline
Joined: 02/17/2012
Perhaps it's the unzipping? I

Perhaps it's the unzipping? I keep trying to download and untar then unzip and somewhere in the process perhaps the files are getting messed up? Is there anyway to just get a .zip file of the module?

Leighton Whiting
Offline
Joined: 06/02/2009
That error usually means

That error usually means there is an issue with the database tables... Are there any other errors showing in the Recent Log Entries section?

Sincerely,

-Leighton

gbmcarrie
Offline
Joined: 02/17/2012
There is a few different

There is a few different logs. I tried uninstalling and reinstalling (deleting and uploading again) the pay to publish module and I got this error after trying to activate Pay to Publish: 

Fatal error: Cannot redeclare class rules_data_type_pid in /sites/all/modules/ms_paypublish/ms_paypublish.rules.inc on line 315

Please help. I don't know how to make this work and I think I have tried everything I could. If you need access to the site to look it over. I can give that to you. Let me know. Thanks. 

gbmcarrie
Offline
Joined: 02/17/2012
What is weird is on one

What is weird is on one server it's giving me that error when I try to activate the pay & publish module. So I made a test site. With the minimal setup (Token, Ms Core & Pay to Publish + admin menu) it works fine. Now what I am thinking is perhaps some older modules that are on the main site I am working on are not reacting well. Like perhaps the Ubercart module. So on my test site I am going to load all the modules from the other site to here except Ubercart and see what happens. I will let you know what happens.

Leighton Whiting
Offline
Joined: 06/02/2009
It sounds like another module

It sounds like another module could use the same name: rules_data_type_pid. I admit this name is too generic. I'll change it in the next release. If you email me at support@moneyscripts.net I can send you an advance copy of the file for you to test.

-Leighton

gbmcarrie
Offline
Joined: 02/17/2012
Thanks, email has been sent.

Okay got the file in your email, thank you!!!!

 

When I uploaded the new file to the site I get this error: 

user warning: Table 'ms_paypublish_nodes' doesn't exist query: SELECT * FROM ms_paypublish_nodes WHERE nid=7 in /sites/all/modules/ms_paypublish/ms_paypublish.module on line 1169. 

and then I got another error for the ms_paypublish_plans table not being there.

So I ended up creating the databases by exporting from my test site and putting it on the website having the issues. I am doing some more things. I got those errors to go away, now let's see if I can get it working! :-) 

So far I've been able to create a plan and now I am adding content types to use. I will update if any new things happen. 

gbmcarrie
Offline
Joined: 02/17/2012
new error

 

 

warning: array_merge() [function.array-merge]: Argument #2 is not an array in /sites/all/modules/ms_core/ms_core.module on line 6816.

When going to: /admin/content/ms_paypublish_nodes/list

 

Leighton Whiting
Offline
Joined: 06/02/2009
Hmmm, make sure that you are

Hmmm, make sure that you are using the latest version of both MS Core and Pay to Publish. That table should definitely not be missing. Also try running update.php and see if that helps any.

Sincerely,

Leighton Whiting

gbmcarrie
Offline
Joined: 02/17/2012
As far as I know I am running

As far as I know I am running the latest versions of both modules. And running updates didn't make the error go away. Or flushing the caches either. 

indigi
Offline
Joined: 12/09/2011
Fatal Error

We keep getting a fatal error like below.

[07-Mar-2012 14:46:16 UTC] PHP Fatal error:  Cannot redeclare classrules_data_type_pid in/home/rapp/www/sites/all/modules/ms_paypublish/ms_paypublish.rules.inc on

line 315 Things started going wonky when I got to intalling UserPoints modules so there may be a conflict there but not sure yet. Any suggestions? We have the latest MoneyScripts modules installed. thx

indigi
Offline
Joined: 12/09/2011
Fatal Error

We keep getting a fatal error like below.

[07-Mar-2012 14:46:16 UTC] PHP Fatal error:  Cannot redeclare classrules_data_type_pid in/home/rapp/www/sites/all/modules/ms_paypublish/ms_paypublish.rules.inc on line 315

 Things started going wonky when I got to intalling UserPoints modules so there may be a conflict there but not sure yet. Any suggestions? We have the latest MoneyScripts modules installed. 

  1. thx

indigi
Offline
Joined: 12/09/2011
Did A Search

We did a search and my guy says conflicting declaration is in this file:

/home/rapp/www/sites/all/modules/ms_core/ms_products/ms_products.rules.inc

Hope this helps.

thx

Leighton Whiting
Offline
Joined: 06/02/2009
This should already be fixed

This should already be fixed in the latest release of Pay to Publish (yesterday). Can you try that?

-Leighton

indigi
Offline
Joined: 12/09/2011
Thank you

Will install latest release. Wonderful service as always.

thx

Twitter Feed