[Solved] 3.2 upgrade problem : Could not find matching pattern start for right parenthesis at pos 21

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
User avatar
alhitary
Registered User
Posts: 868
Joined: Wed Jan 17, 2007 7:51 am
Location: ROY
Name: Basil Taha Alhitary
Contact:

[Solved] 3.2 upgrade problem : Could not find matching pattern start for right parenthesis at pos 21

Post by alhitary »

What version of phpBB are you using? phpBB 3.1.10
What is your board's URL? www.alhitary.net
Who do you host your board with? resellerzoom
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Update from a previous version of phpBB3
Is registration required to reproduce this issue? No
Do you have any MODs installed? No
Do you have any extensions installed? No
What version of phpBB3 did you update from? phpBB 3.1.10
What styles do you currently have installed? prosilver
What language(s) is your board currently using? Eng and Arabic
Which database type/version are you using? MySQL 5
What is your level of experience? Comfortable with PHP and phpBB
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? update my 3.1.10 forum to 3.2
Please describe your problem. My php version is 5.6.29 as I asked recently my hosting to upgrade it
and now it shown in phpinfo ACP.

The process of update is hang on 63% as shown in the bellow photos.
There is an error says : Could not find matching pattern start for right parenthesis at pos 21

1.jpg

And when I log in to my ACP, the Board version shows 3.2.0-dev
and also shows bellow : Your phpBB installation has not been correctly updated. More information ??

2.jpg

Bellow is shown during Update database…

Code: Select all

Installing Data: \phpbb\db\migration\data\v320\text_reparser.
Installed Schema: \phpbb\db\migration\data\v320\text_reparser; Time: 0.00 seconds
Installing Schema: \phpbb\db\migration\data\v320\text_reparser.
Installed Data: \phpbb\db\migration\data\v320\oauth_states; Time: 0.00 seconds
Installing Data: \phpbb\db\migration\data\v320\oauth_states.
Installed Schema: \phpbb\db\migration\data\v320\oauth_states; Time: 0.44 seconds
Installing Schema: \phpbb\db\migration\data\v320\oauth_states.
Installed Data: \phpbb\db\migration\data\v320\v320a1; Time: 0.00 seconds
Installing Data: \phpbb\db\migration\data\v320\v320a1.
Installed Schema: \phpbb\db\migration\data\v320\v320a1; Time: 0.00 seconds
Installing Schema: \phpbb\db\migration\data\v320\v320a1.
Installed Data: \phpbb\db\migration\data\v320\notifications_board; Time: 0.02 seconds
Installing Data: \phpbb\db\migration\data\v320\notifications_board.
Installed Schema: \phpbb\db\migration\data\v320\notifications_board; Time: 0.00 seconds
Installing Schema: \phpbb\db\migration\data\v320\notifications_board.
Installed Data: \phpbb\db\migration\data\v320\remove_outdated_media; Time: 0.00 seconds
Installing Data: \phpbb\db\migration\data\v320\remove_outdated_media.
Installed Schema: \phpbb\db\migration\data\v320\remove_outdated_media; Time: 0.00 seconds
Installing Schema: \phpbb\db\migration\data\v320\remove_outdated_media.
Installed Data: \phpbb\db\migration\data\v320\log_post_id; Time: 0.00 seconds
Installing Data: \phpbb\db\migration\data\v320\log_post_id.
Installed Schema: \phpbb\db\migration\data\v320\log_post_id; Time: 0.55 seconds
Installing Schema: \phpbb\db\migration\data\v320\log_post_id.
Installed Data: \phpbb\db\migration\data\v320\icons_alt; Time: 0.00 seconds
Installing Data: \phpbb\db\migration\data\v320\icons_alt.
Installed Schema: \phpbb\db\migration\data\v320\icons_alt; Time: 0.15 seconds
Installing Schema: \phpbb\db\migration\data\v320\icons_alt.
Installed Data: \phpbb\db\migration\data\v320\font_awesome_update; Time: 0.00 seconds
Installing Data: \phpbb\db\migration\data\v320\font_awesome_update.
Installed Schema: \phpbb\db\migration\data\v320\font_awesome_update; Time: 0.00 seconds
Installing Schema: \phpbb\db\migration\data\v320\font_awesome_update.
Installed Data: \phpbb\db\migration\data\v320\remove_profilefield_wlm; Time: 0.00 seconds
Installing Data: \phpbb\db\migration\data\v320\remove_profilefield_wlm.
Installed Schema: \phpbb\db\migration\data\v320\remove_profilefield_wlm; Time: 0.63 seconds
Installing Schema: \phpbb\db\migration\data\v320\remove_profilefield_wlm.
Installed Data: \phpbb\db\migration\data\v320\announce_global_permission; Time: 0.02 seconds
Installing Data: \phpbb\db\migration\data\v320\announce_global_permission.
Installed Schema: \phpbb\db\migration\data\v320\announce_global_permission; Time: 0.00 seconds
Installing Schema: \phpbb\db\migration\data\v320\announce_global_permission.
Installed Data: \phpbb\db\migration\data\v320\allowed_schemes_links; Time: 0.00 seconds
Installing Data: \phpbb\db\migration\data\v320\allowed_schemes_links.
Installed Schema: \phpbb\db\migration\data\v320\allowed_schemes_links; Time: 0.00 seconds
Installing Schema: \phpbb\db\migration\data\v320\allowed_schemes_links.
Installed Data: \phpbb\db\migration\data\v320\dev; Time: 0.00 seconds
Installing Data: \phpbb\db\migration\data\v320\dev.
Installed Schema: \phpbb\db\migration\data\v320\dev; Time: 0.00 seconds
Installing Schema: \phpbb\db\migration\data\v320\dev.
Installed Data: \phpbb\db\migration\data\v31x\remove_duplicate_migrations; Time: 0.00 seconds
Installing Data: \phpbb\db\migration\data\v31x\remove_duplicate_migrations.
Installed Schema: \phpbb\db\migration\data\v31x\remove_duplicate_migrations; Time: 0.00 seconds
Installing Schema: \phpbb\db\migration\data\v31x\remove_duplicate_migrations.
Installed Data: \phpbb\db\migration\data\v31x\increase_size_of_emotion; Time: 0.00 seconds
Installing Data: \phpbb\db\migration\data\v31x\increase_size_of_emotion.
Installed Schema: \phpbb\db\migration\data\v31x\increase_size_of_emotion; Time: 0.14 seconds
Installing Schema: \phpbb\db\migration\data\v31x\increase_size_of_emotion.
Skip “installer.update_filesystem.download_updated_files” task
Skip “installer.update_filesystem.update_files” task
Skip “installer.update_filesystem.show_file_status” task
Skip “installer.update_filesystem.diff_files” task
Skip “installer.update_filesystem.check_task” task
Skip “installer.obtain_data.update_ftp_settings” task
Skip “installer.obtain_data.update_files” task
Skip “installer.obtain_data.file_updater_method” task
Last edited by alhitary on Sun Jan 15, 2017 8:42 am, edited 1 time in total.
User avatar
janus_zonstraal
Registered User
Posts: 5491
Joined: Sat Aug 30, 2014 1:30 pm

Re: 3.2 upgrade problem : Could not find matching pattern start for right parenthesis at pos 21

Post by janus_zonstraal »

try to run the database update again from the /install/
Sorry! My English is bat ;) !!!
User avatar
alhitary
Registered User
Posts: 868
Joined: Wed Jan 17, 2007 7:51 am
Location: ROY
Name: Basil Taha Alhitary
Contact:

Re: 3.2 upgrade problem : Could not find matching pattern start for right parenthesis at pos 21

Post by alhitary »

I checked the error_log that exist in forum directory. It contains the bellow error :-

Code: Select all

[14-Jan-2017 03:22:39 America/New_York] PHP Fatal error:  Uncaught exception 'RuntimeException' with message 'Could not find matching pattern start for right parenthesis at pos 21' in /home/alhitary/public_html/community/vendor/s9e/text-formatter/src/Configurator/Helpers/RegexpParser.php:204
Stack trace:
#0 /home/alhitary/public_html/community/vendor/s9e/text-formatter/src/Configurator/JavaScript/RegexpConvertor.php(16): s9e\TextFormatter\Configurator\Helpers\RegexpParser::parse('/(?>\\(--|\\)-(?>...')
#1 /home/alhitary/public_html/community/vendor/s9e/text-formatter/src/Plugins/Emoticons/Configurator.php(108): s9e\TextFormatter\Configurator\JavaScript\RegexpConvertor::toJS('/(?>\\(--|\\)-(?>...', true)
#2 /home/alhitary/public_html/community/vendor/s9e/text-formatter/src/Configurator.php(622): s9e\TextFormatter\Plugins\Emoticons\Configurator->asConfig()
#3 /home/alhitary/public_html/community/vendor/s9e/text-formatter/src/Configurator.php(5167): s9e\TextFormatter\Configurator\Helpers\ConfigHelper::toArray(Array, true)
#4 /home/alhitary/public_html/community/vendor/ in /home/alhitary/public_html/community/vendor/s9e/text-formatter/src/Configurator/Helpers/RegexpParser.php on line 204
[14-Jan-2017 03:22:57 America/New_York] PHP Fatal error:  Uncaught exception 'RuntimeException' with message 'Could not find matching pattern start for right parenthesis at pos 21' in /home/alhitary/public_html/community/vendor/s9e/text-formatter/src/Configurator/Helpers/RegexpParser.php:204
Stack trace:
#0 /home/alhitary/public_html/community/vendor/s9e/text-formatter/src/Configurator/JavaScript/RegexpConvertor.php(16): s9e\TextFormatter\Configurator\Helpers\RegexpParser::parse('/(?>\\(--|\\)-(?>...')
#1 /home/alhitary/public_html/community/vendor/s9e/text-formatter/src/Plugins/Emoticons/Configurator.php(108): s9e\TextFormatter\Configurator\JavaScript\RegexpConvertor::toJS('/(?>\\(--|\\)-(?>...', true)
#2 /home/alhitary/public_html/community/vendor/s9e/text-formatter/src/Configurator.php(622): s9e\TextFormatter\Plugins\Emoticons\Configurator->asConfig()
#3 /home/alhitary/public_html/community/vendor/s9e/text-formatter/src/Configurator.php(5167): s9e\TextFormatter\Configurator\Helpers\ConfigHelper::toArray(Array, true)
#4 /home/alhitary/public_html/community/vendor/ in /home/alhitary/public_html/community/vendor/s9e/text-formatter/src/Configurator/Helpers/RegexpParser.php on line 204
User avatar
janus_zonstraal
Registered User
Posts: 5491
Joined: Sat Aug 30, 2014 1:30 pm

Re: 3.2 upgrade problem : Could not find matching pattern start for right parenthesis at pos 21

Post by janus_zonstraal »

Did you ask your host?
Sorry! My English is bat ;) !!!
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 27491
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: 3.2 upgrade problem : Could not find matching pattern start for right parenthesis at pos 21

Post by Paul »

Do you have any custom BBCodes added to your board? I wonder if one of them contains a invalid syntax.
User avatar
alhitary
Registered User
Posts: 868
Joined: Wed Jan 17, 2007 7:51 am
Location: ROY
Name: Basil Taha Alhitary
Contact:

Re: 3.2 upgrade problem : Could not find matching pattern start for right parenthesis at pos 21

Post by alhitary »

Paul wrote:
Sat Jan 14, 2017 8:38 pm
Do you have any custom BBCodes added to your board? I wonder if one of them contains a invalid syntax.
I have as bellow :

3.jpg

Shall I delete them all and try re-update my forum by install ?
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 27491
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: 3.2 upgrade problem : Could not find matching pattern start for right parenthesis at pos 21

Post by Paul »

Well, that will cause all your current posts to break, so that might be the last resort.

I wonder if Joshy (The creator of textformatter) has a idea, before we try that.
JoshyPHP wrote:See above
User avatar
JoshyPHP
Code Contributor
Posts: 1276
Joined: Mon Jul 11, 2011 12:28 am

Re: 3.2 upgrade problem : Could not find matching pattern start for right parenthesis at pos 21

Post by JoshyPHP »

That's an issue with some smilies. Export your smilies.pak from the Admin Control Panel and attach it here so I can take a look.
I wrote the library that handles markup in phpBB 3.2+.
User avatar
alhitary
Registered User
Posts: 868
Joined: Wed Jan 17, 2007 7:51 am
Location: ROY
Name: Basil Taha Alhitary
Contact:

Re: 3.2 upgrade problem : Could not find matching pattern start for right parenthesis at pos 21

Post by alhitary »

JoshyPHP wrote:
Sat Jan 14, 2017 9:05 pm
That's an issue with some smilies. Export your smilies.pak from the Admin Control Panel and attach it here so I can take a look.

Code: Select all

'36_1_1.gif', '20', '20', '1', 'Very Happy', ':D', 
'36_1_65.gif', '25', '25', '1', 'Smile', ':)', 
'36_1_39.gif', '25', '25', '1', 'Smile', ':smile:', 
'36_7_6.gif', '25', '25', '1', 'Sad', ':-(', 
'36_3_11.gif', '25', '25', '1', 'Surprised', ':eek:', 
'36_1_44.gif', '25', '25', '1', 'Confused', ':?', 
'36_13_3.gif', '25', '25', '1', 'Confused', ':???:', 
'36_6_8.gif', '25', '25', '1', 'Cool', '8)', 
'36_11_20.gif', '30', '30', '1', 'ok', '/ok>/0254-_', 
'36_6_3.gif', '25', '25', '1', 'Mad', ':mad:', 
'36_1_27.gif', '25', '25', '1', 'Razz', ':-P', 
'36_1_55.gif', '25', '25', '1', 'shokran', '(--', 
'36_1_1.gif', '25', '25', '1', 'smile', 'L/L', 
'36_1_17.gif', '25', '25', '1', 'aaa', 'a//g', 
'36_1_19.gif', '25', '25', '1', 'asa', 'a/-/a', 
'36_11_6.gif', '25', '25', '1', 'asdf54', 'fun_541//', 
'36_1_30.gif', '25', '25', '1', 'hg', '//_//kj5421', 
'36_1_11.gif', '25', '25', '1', 'Mr. Green', '/-26?//', 
'36_1_10.gif', '25', '25', '1', 'a', '/L;', 
'36_1_34.gif', '25', '25', '1', 'Neutral', ':|', 
'36_1_20.gif', '25', '25', '1', 'saa', 'as/s', 
'36_1_28.gif', '25', '25', '1', 'sads', 'sa21//--', 
'36_1_37.gif', '25', '25', '1', 'glasses', '/_/jhg', 
'36_1_4.gif', '25', '25', '1', 'sadd', '/sad/-', 
'36_1_5.gif', '25', '25', '1', '2451', '45_/547', 
'36_11_5.gif', '25', '25', '1', '541_514', 'asdf//_4512', 
'36_13_1.gif', '25', '25', '1', 'jh4552', 'cal//_4251', 
'36_3_13.gif', '25', '25', '1', 'aaa', 'a//?_5421', 
'36_6_2.gif', '25', '25', '1', '??//5421??_//', 'lkj//_548736', 
'36_9_3.gif', '25', '25', '1', 'يبي', '؟ظ-5421_ظظ', 
'36_7_3.gif', '25', '25', '1', 'lk_/12587', '/?_12397', 
'36_1_33.gif', '25', '25', '0', 'magnoon', ')-(', 
'36_3_12.gif', '25', '25', '0', 'hh', 'h//_54//', 
'36_1_21.gif', '25', '25', '0', 'sass', 'sa/-/s', 
'36_1_24.gif', '25', '25', '0', 'بيسش', 'a/sd54', 
'36_1_31.gif', '25', '25', '0', 'fdf', 'fdf//00//', 
'36_1_40.gif', '25', '25', '0', 'nuress', 'nur/_sa', 
'36_11_13.gif', '25', '25', '0', 'Confused', ':-?', 
'36_1_44.gif', '25', '25', '0', 'fdas', 'asd_/5421', 
'36_11_7.gif', '25', '25', '0', 'sdd', 'ds/??//-542', 
'36_6_4.gif', '25', '25', '0', '/?54_541', 'fd/??-546', 
'36_1_27.gif', '25', '25', '0', 'sds', 's/ds14', 
'36_3_3.gif', '25', '25', '0', 'kjj', 'j/_??54214-', 
'36_1_12.gif', '25', '25', '0', 'Crying or Very sad', ':cry:', 
'36_3_5.gif', '25', '25', '0', 'Twisted Evil', ':twisted:', 
'36_1_6.gif', '25', '25', '0', '542_54', 'a_//5421', 
'36_11_11.gif', '25', '25', '0', 'asd542-254', '541_sdf//_542', 
'36_13_1.gif', '25', '25', '0', 'THINKING', '/_THINK_/', 
'36_11_5.gif', '25', '25', '0', 'Razz', ':P', 
'36_1_25.gif', '25', '25', '0', 'Mad', ':x', 
'36_7_8.gif', '25', '25', '0', 'Razz', ':razz:', 
'36_11_8.gif', '25', '25', '0', 'asdf321', 's21-//_', 
'36_3_14-.gif', '25', '25', '0', 'Very Happy', ':grin:', 
'36_1_3.gif', '25', '25', '0', 'Sad', ':(', 
'36_3_9.gif', '25', '25', '0', 'Mad', ':-x', 
'36_1_42.gif', '25', '25', '0', 'fda', 'sdf/', 
'36_6_5.gif', '25', '25', '0', 'lkj', 'jkh??//-0254', 
'36_19_4.gif', '25', '25', '0', 'Shocked', ':shock:', 
'36_22_1.gif', '25', '25', '0', 'Cool', '8-)', 
'36_1_43.gif', '25', '25', '0', 'Laughing', ':lol:', 
'36_7_1.gif', '25', '25', '0', 'Evil or Very Mad', ':evil:', 
'8_5_12.gif', '25', '25', '0', 'Rolling Eyes', ':roll:', 
'36_9_4.gif', '25', '25', '0', 'Question', ':?:', 
'36_1_15.gif', '25', '25', '0', 'Neutral', ':-|', 
'36_1_46.gif', '25', '25', '0', 'Neutral', ':neutral:', 
'36_11_1.gif', '25', '25', '0', 'tasle7', ')--', 
'36_1_35.gif', '25', '25', '0', 'links', ')--(', 
'36_7_11.gif', '25', '25', '0', 'koorah', '0-0-0', 
'36_1_26.gif', '25', '25', '0', 'dsad', 'as/sda21', 
'36_1_29.gif', '25', '25', '0', 'angry', '_/asd', 
'36_1_41.gif', '25', '25', '0', 'bird', 'bi/_rks24', 
'36_1_7.gif', '25', '25', '0', '541-542', 'sa//_54278', 
'36_11_15.gif', '25', '25', '0', 'asdf541', 'asdf/__//542', 
'36_13_4.gif', '25', '25', '0', 'fdsa', 'a/_542/_', 
'36_13_5.gif', '25', '25', '0', 'dsss', '54_//54/_', 
'36_6_10.gif', '25', '25', '0', 'ssss', 'ss/_214//-', 
'36_1_54.gif', '25', '25', '0', 'ddd25', '//_5421-?', 
'36_15_6.gif', '25', '25', '0', 'kj', 'j/_//54789', 
'36_1_36.gif', '25', '25', '0', 'sssss', 's//?5421', 
'36_3_14.gif', '25', '25', '0', 'fff', 'f/?-2145', 
'36_3_2.gif', '25', '25', '0', 'ddd', 'w/_542?/', 
'36_6_1.gif', '25', '25', '0', '//??_5412', 'lk_//??5421', 
'36_6_7.gif', '25', '25', '0', 'sddg', '/?/?5421-', 
'36_9_1.gif', '25', '25', '0', 'فقثث', '؟_؟ظظ5421', 
'36_7_7.gif', '25', '25', '0', 'koora', '_//??_5412', 
'36_7_4.gif', '25', '25', '0', 'kjd', '?_/?2549?_', 
'36_6_9.gif', '25', '25', '0', 'gfd', '/?-_25437', 
'36_6_2.gif', '25', '25', '0', 'Arrow', ':arrow:', 
'36_3_13.gif', '25', '25', '0', 'Wink', ':wink:', 
'36_1_37.gif', '25', '25', '0', 'Wink', ';)', 
'36_9_3.gif', '25', '25', '0', 'Wink', ';-)', 
'36_1_5.gif', '25', '25', '0', 'Idea', ':idea:', 
'36_7_3.gif', '25', '25', '0', 'Embarassed', ':oops:', 
'36_3_4.gif', '25', '25', '0', 'Exclamation', ':!:', 
'36_13_3.gif', '25', '25', '0', 'fds', '//_asdf-542', 
'36_7_6.gif', '25', '25', '0', 'lkj', '/?_25834//??', 
User avatar
JoshyPHP
Code Contributor
Posts: 1276
Joined: Mon Jul 11, 2011 12:28 am

Re: 3.2 upgrade problem : Could not find matching pattern start for right parenthesis at pos 21

Post by JoshyPHP »

Hmm, that seems wrong. Instead of copy/pasting the content can you save the page in a text file and attach it here?
I wrote the library that handles markup in phpBB 3.2+.
User avatar
alhitary
Registered User
Posts: 868
Joined: Wed Jan 17, 2007 7:51 am
Location: ROY
Name: Basil Taha Alhitary
Contact:

Re: 3.2 upgrade problem : Could not find matching pattern start for right parenthesis at pos 21

Post by alhitary »

JoshyPHP wrote:
Sat Jan 14, 2017 9:15 pm
Hmm, that seems wrong. Instead of copy/pasting the content can you save the page in a text file and attach it here?
See plz :
Attachments
smiles.txt
(5.08 KiB) Downloaded 24 times
User avatar
JoshyPHP
Code Contributor
Posts: 1276
Joined: Mon Jul 11, 2011 12:28 am

Re: 3.2 upgrade problem : Could not find matching pattern start for right parenthesis at pos 21

Post by JoshyPHP »

Ok, so you do use _//??_5412 and lk_//??5421 as smilies apparently? I'll see if I can reproduce the error on my test board.
I wrote the library that handles markup in phpBB 3.2+.
User avatar
alhitary
Registered User
Posts: 868
Joined: Wed Jan 17, 2007 7:51 am
Location: ROY
Name: Basil Taha Alhitary
Contact:

Re: 3.2 upgrade problem : Could not find matching pattern start for right parenthesis at pos 21

Post by alhitary »

JoshyPHP wrote:
Sat Jan 14, 2017 9:23 pm
Ok, so you do use _//??_5412 and lk_//??5421 as smilies apparently? I'll see if I can reproduce the error on my test board.
I used it randomly since 3.0 and got no problem when upgrade to 3.1
I appreciate your help
Thanks
Post Reply

Return to “[3.2.x] Support Forum”