That line does not belong in that file. That's why Solidjeuh asked. <?php is the first line of a language file. Remove that root@ line.
3.1 & 3.2 Extensions Database 3.1 / 3.2 ⇒ Pretty Topic
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
ArraySniper_E
- VIP

- Status: Offline
- User theme: Dark
- Posts: 1160
- Joined: Oct 14th, '14, 17:01
Re: Pretty Topic
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Arraykamaleon
- Users

- Status: Offline
- User theme: Dark
- Posts: 50
- Joined: Jul 26th, '15, 08:56
Re: Pretty Topic
That line is NOT in the file.
cat is a linux command to show the contents of a file. All the cat common.php is NOT in the file.
Here is an explation of cat command in linux: https://www.tecmint.com/13-basic-cat-co ... -in-linux/
IF it were in the file, it would give an error most probably and phpBB would not load.
Any other ideas how to fix this?
cat is a linux command to show the contents of a file. All the cat common.php is NOT in the file.
Here is an explation of cat command in linux: https://www.tecmint.com/13-basic-cat-co ... -in-linux/
IF it were in the file, it would give an error most probably and phpBB would not load.
Any other ideas how to fix this?
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
ArraySniper_E
- VIP

- Status: Offline
- User theme: Dark
- Posts: 1160
- Joined: Oct 14th, '14, 17:01
Re: Pretty Topic
Why you are having problems is bean me.
Disable the pretty topic extension in acp. Delete the data for that extension. Delete the ext/dmzx/prettytopic/ folder from your server.
Download the latest version of prettytopic and Upload it to your server in the ext/dmzx/ folder.
On the server rename the ext/dmzx/prettytopic/language/en/ -TO- ext/dmzx/prettytopic/language/es/
Then from your local copy... copy the prettytopic/language/en/ folder back over to your server files.
Do EXACTLY THAT and then Enable pretty topic extension in acp. Report back any problems you see.
DO ABOVE TEST FIRST BEFORE EDITING ANYTHING
If all looks fine then edit the ext/dmzx/prettytopic/language/es/common.php language file and save.
And try to edit your server files with a free text program like Notepad++
Just in case you editing files with a linux command is the problem. Something else to look for.
Disable the pretty topic extension in acp. Delete the data for that extension. Delete the ext/dmzx/prettytopic/ folder from your server.
Download the latest version of prettytopic and Upload it to your server in the ext/dmzx/ folder.
On the server rename the ext/dmzx/prettytopic/language/en/ -TO- ext/dmzx/prettytopic/language/es/
Then from your local copy... copy the prettytopic/language/en/ folder back over to your server files.
Do EXACTLY THAT and then Enable pretty topic extension in acp. Report back any problems you see.
DO ABOVE TEST FIRST BEFORE EDITING ANYTHING
If all looks fine then edit the ext/dmzx/prettytopic/language/es/common.php language file and save.
And try to edit your server files with a free text program like Notepad++
Just in case you editing files with a linux command is the problem. Something else to look for.
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Arraykamaleon
- Users

- Status: Offline
- User theme: Dark
- Posts: 50
- Joined: Jul 26th, '15, 08:56
Re: Pretty Topic
Still not working.
I picked the file this time from this forum and it has already all the languages in it.
Still, nothing is getting translated into Spanish.
I just edit the en version and it changes on my Spanish board.
Anyways, I will just do that, translate the en version to Spanish :)
I picked the file this time from this forum and it has already all the languages in it.
Still, nothing is getting translated into Spanish.
I just edit the en version and it changes on my Spanish board.
Anyways, I will just do that, translate the en version to Spanish :)
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Arraykamaleon
- Users

- Status: Offline
- User theme: Dark
- Posts: 50
- Joined: Jul 26th, '15, 08:56
Re: Pretty Topic

I just changed the en version to Announcement2 and it changes...
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Arraymanigopal
- Users

- Status: Offline
- User theme: Dark
- Posts: 1
- Joined: Dec 30th, '18, 06:47
Re: Pretty Topic
How to add the topic prefix manually other than
Change topic type to:
Normal Sticky Announce Global
say for eg : games,apps,general etc ?
if this ext is not kinda ..share the exact ext for achieving my need
Change topic type to:
Normal Sticky Announce Global
say for eg : games,apps,general etc ?
if this ext is not kinda ..share the exact ext for achieving my need
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
ArraySniper_E
- VIP

- Status: Offline
- User theme: Dark
- Posts: 1160
- Joined: Oct 14th, '14, 17:01
Re: Pretty Topic
You can change the names of all of them just like kamaleon did. I think it should be in the extension's language file.
kamaleon wrote: Dec 14th, '18, 17:31
I just changed the en version to Announcement2 and it changes...
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
ArrayBBBenj
- Users

- Status: Offline
- User theme: Dark
- Posts: 48
- Joined: Mar 10th, '17, 09:59
Re: Pretty Topic
Thanks a lot!
I works perfectly in phpBB 3.3.5.
I still have a question. I use the style "element" which offers possibility to add some colours here and there. Is it possible to modify the code in order change the button colours to colours corresponding to the style, please?
I works perfectly in phpBB 3.3.5.
I still have a question. I use the style "element" which offers possibility to add some colours here and there. Is it possible to modify the code in order change the button colours to colours corresponding to the style, please?
-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Arrayumi
- Users

- Status: Offline
- User theme: Dark
- Posts: 89
- Joined: Aug 5th, '19, 12:18
Re: Pretty Topic
Not working on phpBB 3.3.9:
Code: Select all
Fatal error: Uncaught Twig\Error\LoaderError: Looks like you try to load a template outside configured directories (../theme/prettytopic.css) in "@dmzx_prettytopic/event/overall_header_head_append.html" at line 1.-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Arraymartin
- Admin

- Status: Offline
- User theme: Dark
- Posts: 5116
- Joined: Apr 6th, '14, 14:12
Re: Pretty Topic
Try this.
3.3.9 calls for the css file using twig almost all extensions will need an update (Mine wont as i used twig for a while now)
3.3.9 calls for the css file using twig almost all extensions will need an update (Mine wont as i used twig for a while now)
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

-
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Arrayumi
- Users

- Status: Offline
- User theme: Dark
- Posts: 89
- Joined: Aug 5th, '19, 12:18
Re: Pretty Topic
Working perfect martin!!martin wrote: Dec 7th, '22, 00:13 Try this.
3.3.9 calls for the css file using twig almost all extensions will need an update (Mine wont as i used twig for a while now) Pretty_Topic_v1.0.1.zip
Thanks
Last edited by umi on Dec 7th, '22, 10:34, edited 1 time in total.
Subscribers
