Images Hijacked by Photobucket?

Discussion of non-phpBB related topics with other phpBB.com users.
Forum rules
General Discussion is a bonus forum for discussion of non-phpBB related topics with other phpBB.com users. All site rules apply.
User avatar
Walther
Registered User
Posts: 265
Joined: Fri Jul 09, 2004 5:21 pm
Location: The Netherlands

Re: Images Hijacked by Photobucket?

Post by Walther » Sun Oct 15, 2017 4:39 pm

urhm, with what phpbb version is the extract-external-links script supposed to run?
I have 3.1.10 and error out with

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/scripts/extract_external_links.php on line 15: include(../phpbb/db/tools/tools_interface.php): failed to open stream: No such file or directory
Further inspection learns there is a file called tools.php in phpbb/db/ but no directory /tools in phpbb/db :?


Could i (temporary) take the phpbb/db/tools/* from the phpbb3.2.1 package :|

User avatar
david63
Jr. Extension Validator
Posts: 12971
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Images Hijacked by Photobucket?

Post by david63 » Sun Oct 15, 2017 5:50 pm

If it is looking for a file called tools.php then I suspect that it is probably phpBB 3.0.x

User avatar
Walther
Registered User
Posts: 265
Joined: Fri Jul 09, 2004 5:21 pm
Location: The Netherlands

Re: Images Hijacked by Photobucket?

Post by Walther » Sun Oct 15, 2017 5:57 pm

david63 wrote:
Sun Oct 15, 2017 5:50 pm
If it is looking for a file called tools.php then I suspect that it is probably phpBB 3.0.x
???

It is not looking for a file tools.php
The phpbb version now in use is 3.1.10 , and that version has phpbb/db/tools.php instead of phpbb/db/tools/*.*

User avatar
Walther
Registered User
Posts: 265
Joined: Fri Jul 09, 2004 5:21 pm
Location: The Netherlands

Re: Images Hijacked by Photobucket?

Post by Walther » Tue Oct 17, 2017 9:39 am

....silence....guess nobody has the answer then?

But, there is a chrome extension that bypass the photobucket ransom: https://chrome.google.com/webstore/deta ... fnflicjjgj :)

(open source: https://github.com/kzahel/photobucket-embed-fix )

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20364
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Images Hijacked by Photobucket?

Post by RMcGirr83 » Tue Oct 17, 2017 10:09 am

Walther wrote:
Sun Oct 15, 2017 4:39 pm
urhm, with what phpbb version is the extract-external-links script supposed to run?
3.2 or you could just change this line

https://github.com/v12mike/fetch-extern ... ks.php#L15

to suit your version.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
Walther
Registered User
Posts: 265
Joined: Fri Jul 09, 2004 5:21 pm
Location: The Netherlands

Re: Images Hijacked by Photobucket?

Post by Walther » Tue Oct 17, 2017 10:34 am

So you say i can change

Code: Select all

include($phpbb_root_path . 'phpbb/db/tools/tools_interface.' . $phpEx);
in

Code: Select all

include($phpbb_root_path . 'phpbb/db/tools.' . $phpEx);
safely?

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20364
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Images Hijacked by Photobucket?

Post by RMcGirr83 » Tue Oct 17, 2017 1:51 pm

No, the script is written for 3.2. You would have to be running 3.2.

I was simply stating why it wasn't working for you.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
Walther
Registered User
Posts: 265
Joined: Fri Jul 09, 2004 5:21 pm
Location: The Netherlands

Re: Images Hijacked by Photobucket?

Post by Walther » Tue Oct 17, 2017 2:24 pm

seemed to do the trick though:
...All Done!!
1937 files (photobucket only) 251.020.156 bytes

v12mike
Registered User
Posts: 143
Joined: Thu Jul 09, 2015 5:03 pm

Re: Images Hijacked by Photobucket?

Post by v12mike » Tue Oct 24, 2017 7:33 am

Sorry I wasn't around to answer this, we had a server failure that took all of my time for a week or so.

Funny that no-one else reported that problem. I know that the scripts have been run on phpBB 3.0 forums, and I thought 3.1. Maybe others found the fix themselves.

Post Reply

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 38 guests

cron