Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#205 2008-02-04 00:32:54
Re: [plugin] [ORPHAN] rss_admin_db_manager - database backups and more
Yes, you need publisher privileges. See also the fix shown in my previous post, which is required for using this plugin in TXP 4.0.6
Offline
#206 2008-02-04 15:05:52
Re: [plugin] [ORPHAN] rss_admin_db_manager - database backups and more
When I try to update the code for 4.0.6 i get this error
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Could someone update the plugin and provide a link?
Offline
#207 2008-02-04 17:03:26
Re: [plugin] [ORPHAN] rss_admin_db_manager - database backups and more
Hi swf. You can disable the plugin, upgrade and them enable it again…
Here is the upgraded one which provides compatibility with 4.0.6 anyway:)
YTo5OntzOjQ6Im5hbWUiO3M6MjA6InJzc19hZG1pbl9kYl9tYW5hZ2VyIjtzOjY6ImF1dGhvciI7czo5OiJSb2IgU2FibGUiO3M6MTA6ImF1dGhvcl91cmkiO3M6Mjc6Imh0dHA6Ly93d3cud2lsc2hpcmVvbmUuY29tLyI7czo3OiJ2ZXJzaW9uIjtzOjM6IjQuMyI7czoxMToiZGVzY3JpcHRpb24iO3M6Mjc6IkRhdGFiYXNlIG1hbmFnZW1lbnQgc3lzdGVtLiI7czo0OiJoZWxwIjtzOjM5NjQ6Igk8cD4KaDEuIFRleHRwYXR0ZXJuIERhdGFiYXNlIE1hbmFnZXI8L3A+CgoJPHA+VGhlIHJzc19hZG1pbl9kYl9tYW5hZ2VyIHBsdWdpbiBhZGRzIDMgbmV3IHRhYnMgdG8geW91ciBUZXh0cGF0dGVybiBhZG1pbiBpbnRlcmZhY2UuICBFYWNoIHRhYiBjb250YWlucyBkaWZmZXJlbnQgZnVuY3Rpb25hbGl0eSB0byBoZWxwIG1hbmFnZTxiciAvPgp5b3VyIDxhIGhyZWY9Imh0dHA6Ly93d3cubXlzcWwuY29tLyI+TXlTUUw8L2E+IGRhdGFiYXNlLiAgWW91IGNhbiB0aGluayBvZiB0aGlzIHBsdWdpbi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sNCiAgICAgICAgICAgIGlmICgkcnVuX3F1ZXJ5ICYmIG15c3FsX251bV9yb3dzKCRydW5fcXVlcnkpID4gMCkgew0KDQogICAgICAgICAgICAgIC8qIGdldCBjb2x1bW4gbWV0YWRhdGEgKi8NCiAgICAgICAgICAgICAgJGkgPSAwOw0KICAgICAgICAgICAgICAkaGVhZGVycyA9ICIiOw0KICAgICAgICAgICAgICB3aGlsZSAoJGkgPCBteXNxbF9udW1fZmllbGRzKCRydW5fcXVlcnkpKSB7DQogICAgICAgICAgICAgICAgICRtZXRhID0gbXlzcWxfZmV0Y2hfZmllbGQoJHJ1bl9xdWVyeSwgJGkpOw0KICAgICAgICAgICAgICAgICAkaGVhZGVycy49aGNlbGwoJG1ldGEtPm5hbWUpOw0KICAgICAgICAgICAgICAgICAkaSsrOw0KICAgICAgICAgICAgICB9DQoNCiAgICAgICAgICAgICAgJHJzZFtdID0NCiAgICAgICAgICAgICAgJzxkaXYgY2xhc3M9InNjcm9sbFdyYXBwZXIiPicuc3RhcnRUYWJsZSgnbGlzdCcsICcnLCAnc2Nyb2xsYWJsZScpLg0KICAgICAgICAgICAgICAnPHRoZWFkPicudHIoJGhlYWRlcnMpLic8L3RoZWFkPjx0Ym9keT4nOw0KDQogICAgICAgICAgICAgIHdoaWxlICgkYSA9IG15c3FsX2ZldGNoX2Fzc29jKCRydW5fcXVlcnkpKSAkb3V0W10gPSAkYTsNCiAgICAgICAgICAgICAgbXlzcWxfZnJlZV9yZXN1bHQoJHJ1bl9xdWVyeSk7DQoNCiAgICAgICAgICAgICAgZm9yZWFjaCAoJG91dCBhcyAkYikgew0KICAgICAgICAgICAgICAgICRkYXRhID0gIiI7DQogICAgICAgICAgICAgICAgZm9yZWFjaCAoJGIgYXMgJGYpIHsNCiAgICAgICAgICAgICAgICAgICRkYXRhLj10ZCgkZik7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgICRyc2RbXSA9IHRyKCRkYXRhKTsNCiAgICAgICAgICAgICA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IChzdHJsZW4oJGJ5dGVzKSA+PSAxMCkgew0KICAgICAgcmV0dXJuIG51bWJlcl9mb3JtYXQoJGJ5dGVzIC8gMTA3Mzc0MTgyNCwyKS4iIEdCIjsNCiAgfQ0KICByZXR1cm4gbnVtYmVyX2Zvcm1hdCgkYnl0ZXMgLyAxMDI0LDIpLiIgS0IiOw0KfQ0KDQpmdW5jdGlvbiBpc19mb2xkZXJfZW1wdHkoJGRpcikgew0KICBpZiAoaXNfZGlyKCRkaXIpKSB7DQogICAgJGRsPW9wZW5kaXIoJGRpcik7DQogICAgaWYgKCRkbCkgew0KICAgICAgd2hpbGUoJG5hbWUgPSByZWFkZGlyKCRkbCkpIHsNCiAgICAgICAgaWYgKCFpc19kaXIoIiRkaXIvJG5hbWUiKSkgew0KICAgICAgICAgIHJldHVybiBmYWxzZTsNCiAgICAgICAgICBicmVhazsNCiAgICAgIH0NCiAgICB9DQogICAgY2xvc2VkaXIoJGRsKTsNCiAgICB9DQogICAgcmV0dXJuIHRydWU7DQogIH0gZWxzZSByZXR1cm4gdHJ1ZTsNCn0NCiI7czo0OiJ0eXBlIjtzOjE6IjEiO3M6MzoibWQ1IjtzOjMyOiJiYTA0ZjM2MDcyMTY1YmU5ZmI2Mjk0MTkxMjA1NDI4MiI7fQ==
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#208 2008-02-04 17:58:40
Offline
#209 2008-02-05 20:20:37
Re: [plugin] [ORPHAN] rss_admin_db_manager - database backups and more
same problem here, thanks for the fix.
Offline
#210 2008-02-06 00:28:28
Re: [plugin] [ORPHAN] rss_admin_db_manager - database backups and more
iblastoff wrote:
rob hasn’t posted in this forum for nearly half a year now. anyone know if hes still active with TXP-related stuffs?
Not sure about that – but I did send him an email about his shopping cart solution on popularweddingfavors.com a while back through his consulting site. He emailed me back within about a week.
Swim Kitten, A Magento Site
When nothing but incredibly revealing dresses and swimwear will do
Offline
#211 2008-02-07 15:09:43
Re: [plugin] [ORPHAN] rss_admin_db_manager - database backups and more
Is the patched version for 4.0.6 compatible with 4.0.5?
Features: And I would love to see an extended version (automation, scheduler, send by mail). Any chance to get this into TXP core or into the plug-in?
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#212 2008-02-07 15:45:35
Re: [plugin] [ORPHAN] rss_admin_db_manager - database backups and more
merz1 wrote:
Is the patched version for 4.0.6 compatible with 4.0.5?
yes it is. In fact when I posted it here, it was compiled in a 4.0.5 install.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#213 2008-02-07 16:13:38
Re: [plugin] [ORPHAN] rss_admin_db_manager - database backups and more
Scheduling is best done with a CRON job (on *NIX servers). Far more efficient, simple and reliable than trying to reproduce similar behaviour in a web application, IMHO.
Offline
#214 2008-02-14 00:48:06
Re: [plugin] [ORPHAN] rss_admin_db_manager - database backups and more
Colak: Many thanks for posting the patched version for 4.0.6.
Offline
#215 2008-03-27 08:39:33
- azw
- Member
- Registered: 2007-01-29
- Posts: 279
Re: [plugin] [ORPHAN] rss_admin_db_manager - database backups and more
Recently the admin_db_manager tabs haven’t been appearing in my admin section tabs. I last used it without problem about two weeks ago.
I’m using 4.0.6, so I deleted the plugin and reinstalled it the new version, but still don’t see the tabs.
The plugin is activated. I’m stumped.
What should I try next?
Offline
#216 2008-03-27 08:47:11
Re: [plugin] [ORPHAN] rss_admin_db_manager - database backups and more
You need to read Ruud’s post which concerns new privileges coding in 4.0.6
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline