[DigitalPoint] App for Cloudflare®

[DigitalPoint] App for Cloudflare® 1.8.8

No permission to download
The command is run from your server. It looks at your XenForo config and more specifically the abstracted filesystem that’s active for it.

If you don’t have shell access on your server, you can’t run XenForo CLI commands.

That’s the only command line that I need to add and it will start the transfer of my images to my chosen bucket? I won’t need to add anything else? Again I apologize for all these questions and thanks.
 
I’m still trying to figure out the shell thingfor lol. I have it on my vps. i just have to figure out how to get it to work. Once I get that all figured out I’ll start with that command line.
 
That’s all you need to do (worry about being able to run the command line), anything else is just overthinking it and worrying about something that doesn’t need to be worried about. 😀
So I finally got it go with putty. I connect to my sever and paste php cmd.php dp:migrate-data. I then get an error message stating could not open input file: cmd.php. I know I'm probably doing something wrong on my end for sure. Any ideas what that might be?
 
Last edited:
So I finally got it go with putty. I connect to my sever and past php cmd.php dp:migrate-data --help. I then get an error message stating could not open input file: cmd.php. I know I'm probably doing something wrong on my end for sure. Any ideas what that might be?
You need to be in your XenForo root directory (where the cmd.php file is).
 
You need to be in your XenForo root directory (where the cmd.php file is).

Do I need to enter the name of the bucket?

[data] The public data directory (/data/*) where XenForo stores public data (for example avatars).
[internal_data/attachments] The private directory (/internal_data/attachments/*) where attachments are stored.
[internal_data/xfmg] The private directory (/internal_data/xfmg/*) where some XFMG files are stored.
 
Still overthinking it? 😀

If it needs something from you, it will ask.

Lol! So in other words I don't need to do anything with this that I posted below?

Which location would you like to migrate?
[data] The public data directory (/data/*) where XenForo stores public data (for example avatars).
[internal_data/attachments] The private directory (/internal_data/attachments/*) where attachments are stored.
[internal_data/xfmg] The private directory (/internal_data/xfmg/*) where some XFMG files are stored.
 
Lol! So in other words I don't need to do anything with this that I posted below?

Which location would you like to migrate?
[data] The public data directory (/data/*) where XenForo stores public data (for example avatars).
[internal_data/attachments] The private directory (/internal_data/attachments/*) where attachments are stored.
[internal_data/xfmg] The private directory (/internal_data/xfmg/*) where some XFMG files are stored.
The only thing you need to "do" is answer the question it's asking.

1726074133711.webp

I know the "keys" line isn't there for you... that's a different addon.
 
@digitalpoint

Getting this error when trying to use the spam cleaner from the front end with the check IPs option enabled. Seems everything else runs fine prior to the error.

Error Log

Code:
Server error log

    ErrorException: [E_DEPRECATED] Use of "parent" in callables is deprecated src/addons/DigitalPoint/Cloudflare/XF/Pub/View/SpamCleaner/CheckIps.php:40

    Generated by: Admin Sep 11, 2024 at 12:43 PM

Stack trace

#0 [internal function]: XF::handlePhpError(8192, '[E_DEPRECATED] ...', '/home/xf/p...', 40)
#1 src/addons/DigitalPoint/Cloudflare/XF/Pub/View/SpamCleaner/CheckIps.php(40): is_callable('parent::renderJ...')
#2 src/XF/Mvc/Renderer/AbstractRenderer.php(92): DigitalPoint\Cloudflare\XF\Pub\View\SpamCleaner\CheckIps->renderJson()
#3 src/XF/Mvc/Renderer/Json.php(65): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:SpamCleaner\\...', 'public:spam_cle...', Array)
#4 src/XF/Mvc/Dispatcher.php(471): XF\Mvc\Renderer\Json->renderView('XF:SpamCleaner\\...', 'public:spam_cle...', Array)
#5 src/XF/Mvc/Dispatcher.php(453): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#6 src/XF/Mvc/Dispatcher.php(412): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#7 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#8 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#9 src/XF.php(806): XF\App->run()
#10 index.php(23): XF::runApp('XF\\Pub\\App')
#11 {main}

Request state

array(4) {
  ["url"] => string(31) "/spam-cleaner/member.277/"
  ["referrer"] => string(52) "https://sub.domain.com/members/member.277/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(6) {
    ["_xfToken"] => string(8) "********"
    ["check_ips"] => string(1) "1"
    ["no_redirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
    ["_xfWithData"] => string(1) "1"
    ["_xfRequestUri"] => string(26) "/members/member.277/"
  }
}

Console

1726083944003.webp
 
The transition went smooth and I want to thank you for your help. The only issue I’m having now is when I upload attachments it won’t show up in the attachment manager as you can see but when I click insert it appears on the post. Any idea for a fix?

IMG_2819.webp
 
Back
Top Bottom