Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#41 2010-06-15 21:26:00
- Zanza
- Plugin Author
- Registered: 2005-08-18
- Posts: 699
- Website
Re: rah_post_versions: Revision control for articles, forms and pages
I must say that this plugin is awesome and it is a great step forward for TXP itself! Filled a gap between other CMS. Thank so much!
Z-
Offline
#42 2010-06-16 16:02:40
- Grégocentrique
- Plugin Author
- From: Rouen, France
- Registered: 2009-12-19
- Posts: 28
- Website
Re: rah_post_versions: Revision control for articles, forms and pages
Hi,
I don’t tried your plugin yet, but it seems a great and very useful one.
Do you think that it will be possible to work with multiple environment (dev, testing, production) thank to it? Or maybe did you plan a feature like this?
Last edited by Grégocentrique (2010-06-16 16:03:35)
Offline
#43 2010-06-16 16:53:44
- Gocom
- Plugin Author
- From: Helsinki, Finland
- Registered: 2006-07-14
- Posts: 4,533
- Website
Re: rah_post_versions: Revision control for articles, forms and pages
Grégocentrique wrote:
I don’t tried your plugin yet, but it seems a great and very useful one.
I sure hope so :-)
Do you think that it will be possible to work with multiple environment (dev, testing, production) thank to it? Or maybe did you plan a feature like this?
Sorry, I’m not really following :-) Maybe I’m bit dummy and my eyes are transfering your question as mambo-jambo. Wouldn’t be the first nor the last time.
Are you asking if the plugin works in all production modes? Then yes. But I supose that wasn’t what you meant.
If you are asking if it allows you to run multiple enviroments of one install (site), then no. It’s a revision manager; it stores revisions and comes with a revision browser. That sort of development enviroment is not what the plugin is ment to do and is not planned.
If you are asking if saving revision could optinally turned off based on the production status, then why not. That can be implemented.
Offline
#44 2010-06-19 23:17:13
- TJ
- Member
- From: Alton, Missouri USA
- Registered: 2010-01-14
- Posts: 23
- Website
Re: rah_post_versions: Revision control for articles, forms and pages
Hello and thank you for this great concept and plug in.
I’m getting these errors when I click on the “event” = “write” and I click on one of the instances…
Notice: Array to string conversion in /home/myDir/public_html/mysite.com/textpattern/lib/txplib_misc.php(594) : eval()'d code on line 1110
Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/myDir/public_html/mysite.com/textpattern/lib/txplib_misc.php(594) : eval()'d code on line 1120
Anyone else getting this?
Thank you in advance.
TJ
“…freely ye have received, freely give.” | www.PublishingAWebsite.com
Offline
#45 2010-06-19 23:49:50
- Gocom
- Plugin Author
- From: Helsinki, Finland
- Registered: 2006-07-14
- Posts: 4,533
- Website
Re: rah_post_versions: Revision control for articles, forms and pages
TJ wrote:
Hello and thank you for this great concept and plug in.
Thanks you, TJ :-)
I’m getting these errors when I click on the “event” = “write” and I click on one of the instances…
What are you meaning exactly? What is the URL requested (/textpattern/?foo=bar) when that happens, or could take screenshot, so I could get a clearer look of what you’re meaning. I will be happy look at it as soon as I know where it happens.
Offline
#46 2010-06-20 01:10:40
- TJ
- Member
- From: Alton, Missouri USA
- Registered: 2010-01-14
- Posts: 23
- Website
Re: rah_post_versions: Revision control for articles, forms and pages
Hi!
OK, when I click on Extensions/Post Versions/ I see the list of saved versions.
When I click on a saved version that is in the “Write” category (as opposed to “Forms” for example) and then click on any of the saved versions, I receive the errors I posted before.
The errors show up on the top of the screen above the menu bar.
Here is a couple of address bar locations.
textpattern/?event=rah_post_versions&step=rah_post_versions_view&group_id=3&id=36
and another…
textpattern/?event=rah_post_versions&step=rah_post_versions_view&group_id=2&id=2
Thanks.
TJ
Last edited by TJ (2010-06-20 01:16:00)
“…freely ye have received, freely give.” | www.PublishingAWebsite.com
Offline
#47 2010-06-20 01:25:01
- Gocom
- Plugin Author
- From: Helsinki, Finland
- Registered: 2006-07-14
- Posts: 4,533
- Website
Re: rah_post_versions: Revision control for articles, forms and pages
TJ wrote:
When I click on a saved version that is in the “Write” category (as opposed to “Forms” for example) and then click on any of the saved versions, I receive the errors I posted before.
I see. Then that probably means that the revision somehow saved an array, which means that the form had an array in it (inputs with name="foo[]"
).
What plugin you have installed?
Anyway, I probably have to add check if the post data contains an array, and if so, loop that too.
Offline
#48 2010-06-20 01:59:53
- TJ
- Member
- From: Alton, Missouri USA
- Registered: 2010-01-14
- Posts: 23
- Website
Re: rah_post_versions: Revision control for articles, forms and pages
OK. I’ll get you a list of the plug-ins…
aam_zcr_clearcache
ajw_comment_alt
ajw_comment_num
ajw_if_comment_owner
aks_header
arc_twitter
arc_youtube
asy_jpcache
asy_wondertag
bot_show_image
gbp_admin_library
gbp_permanent_links
hak_tinymce
jbx_multiple_image_upload
jmd_sitemap
mem_postmaster
mem_postmaster_library
rah_comments
rah_comment_spam
rah_metas
rah_post_versions
rss_auto_excerpt
rss_suparchive
rss_unlimited_categories
rvm_privileged
smd_lately
smd_prefalizer
upm_image
wet_haystack
wet_peex
wet_quicklink
wyn_recent_comments
zem_contact_lang
zem_contact_reborn
zem_nth
I know it’s a lot, but I can’t help myself…
You’ll probably want me to cycle through the plugins and see if I can find the “one” causing the array. And, yes, I’ll be happy to.
Thanks,
TJ
“…freely ye have received, freely give.” | www.PublishingAWebsite.com
Offline
#49 2010-06-20 02:22:55
- Gocom
- Plugin Author
- From: Helsinki, Finland
- Registered: 2006-07-14
- Posts: 4,533
- Website
Re: rah_post_versions: Revision control for articles, forms and pages
Released version 0.6. Changelog:
- Fixed: instances of missing HTML escaping (POST keys).
- Fixed: now the plugin checks if the revisioned data contains an array (
<input name="foo[bar]" />
etc) and shows it correctly. Thank you for reporting, TJ.
TJ wrote:
You’ll probably want me to cycle through the plugins and see if I can find the “one” causing the array. And, yes, I’ll be happy to.
Heh, no need to :-) I was just wondering what could possibly have added it there. Arrays are valid data that forms can send, and It’s really no plugins fault, except rah_post_versions’. From those atleast rss_unlimited_categories submits arrays.
v0.6 should fix the issues. Let me know if it works.
Last edited by Gocom (2010-06-20 02:28:53)
Offline
#50 2010-06-20 02:55:34
- TJ
- Member
- From: Alton, Missouri USA
- Registered: 2010-01-14
- Posts: 23
- Website
Re: rah_post_versions: Revision control for articles, forms and pages
Hi again!
I’ve gone through all plugins and shut them down one at a time. Then I shut groups with dependencies (i.e. libraries etc.) Then I shut all plugins down. (except for rah_post_versions, of course)
I still received the errors. Only on the write tab (so far).
I use <if_custom_field> in my write tab. Let me check if that might affect anything.
Thanks,
TJ
“…freely ye have received, freely give.” | www.PublishingAWebsite.com
Offline