After upgrade, need to disable 'parsing URL's?

Discuss phpBB 3.0.x in general.
Forum rules
Please post any phpBB 3.1.x related topics in the forum.
User avatar
Trinity
New member
New member
Posts: 21
Joined: 15 May 2007, 17:31
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

After upgrade, need to disable 'parsing URL's?

Postby Trinity » 08 Jun 2007, 21:00

Hi, gang.

I have a question. After an upgrade, is there any way I can go into the database and automatically make every archive post NOT parse URL's? I've noticed that even though I created the appropriate bBcode before I upgraded my 2.x installation to 3, it's not displaying properly because phpBB 3 is parsing all the URL's in every post.

Any chance I could have every post in my forum not parsed URL-wise?

Please help. :)

User avatar
D-Shadow
New member
New member
Posts: 12
Joined: 13 Feb 2007, 03:03
Contact:

Re: After upgrade, need to disable 'parsing URL's?

Postby D-Shadow » 09 Jun 2007, 09:48

Last edited by D-Shadow on 10 Jun 2007, 04:51, edited 1 time in total.

User avatar
Trinity
New member
New member
Posts: 21
Joined: 15 May 2007, 17:31
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: After upgrade, need to disable 'parsing URL's?

Postby Trinity » 09 Jun 2007, 15:08

Thank you. Is there any way to run a query that can update all my posts to be able to not have this in them? Just curious. :)

User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: After upgrade, need to disable 'parsing URL's?

Postby igorw » 09 Jun 2007, 15:52

Hello, D-shadows query should do just that ;)

- we're poor!

User avatar
Trinity
New member
New member
Posts: 21
Joined: 15 May 2007, 17:31
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: After upgrade, need to disable 'parsing URL's?

Postby Trinity » 09 Jun 2007, 15:58


User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: After upgrade, need to disable 'parsing URL's?

Postby igorw » 09 Jun 2007, 16:06

Well the query provided by D-Shadow would set the option for all posts currently in the database (your upgraded ones). For future posts it needs to be done in the posting screen, just tick that checkbox.

- we're poor!

User avatar
Trinity
New member
New member
Posts: 21
Joined: 15 May 2007, 17:31
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: After upgrade, need to disable 'parsing URL's?

Postby Trinity » 09 Jun 2007, 16:46


User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: After upgrade, need to disable 'parsing URL's?

Postby igorw » 09 Jun 2007, 16:53

Oh now i get it, you need a separate one for phpbb_posts. I didn't read it properly and thought it was posts in the first place. Sorry for the confusion!

- we're poor!

User avatar
Trinity
New member
New member
Posts: 21
Joined: 15 May 2007, 17:31
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: After upgrade, need to disable 'parsing URL's?

Postby Trinity » 09 Jun 2007, 19:16

Hm, so do I have to do something else?

User avatar
D-Shadow
New member
New member
Posts: 12
Joined: 13 Feb 2007, 03:03
Contact:

Re: After upgrade, need to disable 'parsing URL's?

Postby D-Shadow » 10 Jun 2007, 04:50


User avatar
Trinity
New member
New member
Posts: 21
Joined: 15 May 2007, 17:31
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: After upgrade, need to disable 'parsing URL's?

Postby Trinity » 10 Jun 2007, 20:42


User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: After upgrade, need to disable 'parsing URL's?

Postby igorw » 10 Jun 2007, 20:58

I think that's because the bbcode uids were removed durin conversion. Perhaps it'd be possible to buid a script that ran through all posts and readded them. If i recall correctly, it was in this format:
[bbcode:123456]Content[/bbcode]
123456 would be the bbcode uid, that is also a db field for the posts table afaik.

- we're poor!

User avatar
Trinity
New member
New member
Posts: 21
Joined: 15 May 2007, 17:31
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: After upgrade, need to disable 'parsing URL's?

Postby Trinity » 10 Jun 2007, 21:01

Ick, what a drag. :(

User avatar
D-Shadow
New member
New member
Posts: 12
Joined: 13 Feb 2007, 03:03
Contact:

Re: After upgrade, need to disable 'parsing URL's?

Postby D-Shadow » 12 Jun 2007, 11:20

Last edited by D-Shadow on 25 Aug 2008, 03:53, edited 1 time in total.

User avatar
Trinity
New member
New member
Posts: 21
Joined: 15 May 2007, 17:31
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: After upgrade, need to disable 'parsing URL's?

Postby Trinity » 12 Jun 2007, 13:27

Thanks for the post. I still think it's interesting to think about, because I guarantee that other people are facing the same problem if they had BBcode additions in their BB (which a lot of BB's had). If anyone has a script or idea they could share, please post it! I'm at a loss here. :)


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “phpBB 3.0.x "Olympus" discussion”

Who is online

Users browsing this forum: No registered users and 4 guests