- Posts: 27
COMMUNITY FORUM
[SOLVED] PHP error
- Dominik Kaptur
- Topic Author
- Offline
- Junior Member
Less
More
10 years 6 months ago #55265
by Dominik Kaptur
PHP error was created by Dominik Kaptur
Hi. I have some php error in article view.
Warning: preg_replace() [function.preg-replace]: Unknown modifier 't' in public_html/plugins/content/jw_allvideos/jw_allvideos.php on line 390
and the line 390 is:
Now movie is not displaing.
Why it is happening?
Thank you.
Warning: preg_replace() [function.preg-replace]: Unknown modifier 't' in public_html/plugins/content/jw_allvideos/jw_allvideos.php on line 390
and the line 390 is:
// Output
$row->text = preg_replace("#{".$plg_tag."}".preg_quote($tagcontent)."{/".$plg_tag."}#s", $getTemplate , $row->text);
} // End second foreach
Now movie is not displaing.
Why it is happening?
Thank you.
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 6 months ago #55273
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic PHP error
Hi. Which version of AllVideos are you using? What's the PHP version of your server?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Alex
- Offline
- New Member
Less
More
- Posts: 3
10 years 6 months ago #55294
by Alex
Replied by Alex on topic PHP error
Hi.
The same thing.
Warning: preg_replace() [function.preg-replace]: Unknown modifier '5' in /home/a1137382/public_html/plugins/content/jw_allvideos/jw_allvideos.php on line 390
390 line
$row->text = preg_replace("#{".$plg_tag."}".preg_quote($tagcontent)."{/".$plg_tag."}#s", $getTemplate , $row->text);
Joomla! 2.5.20
PHP version 5.2.*
AllVideos' Plugin v4.5.0 for Joomla! also tried v4.4
The same thing.
Warning: preg_replace() [function.preg-replace]: Unknown modifier '5' in /home/a1137382/public_html/plugins/content/jw_allvideos/jw_allvideos.php on line 390
390 line
$row->text = preg_replace("#{".$plg_tag."}".preg_quote($tagcontent)."{/".$plg_tag."}#s", $getTemplate , $row->text);
Joomla! 2.5.20
PHP version 5.2.*
AllVideos' Plugin v4.5.0 for Joomla! also tried v4.4
Please Log in or Create an account to join the conversation.
- Alex Walker
- Offline
- New Member
Less
More
- Posts: 14
10 years 6 months ago #55295
by Alex Walker
Replied by Alex Walker on topic PHP error
Hi I am getting the same message as well
Warning: preg_replace() [function.preg-replace]: Unknown modifier '0' in /home/XXXXX/public_html/XXXXXXX/plugins/content/jw_allvideos/jw_allvideos.php on line 390
Allvideos 4.5.0
Joomla 3.3.0
PHP 5.3.28
Mysql 5.5.36-34.2
Warning: preg_replace() [function.preg-replace]: Unknown modifier '0' in /home/XXXXX/public_html/XXXXXXX/plugins/content/jw_allvideos/jw_allvideos.php on line 390
Allvideos 4.5.0
Joomla 3.3.0
PHP 5.3.28
Mysql 5.5.36-34.2
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 6 months ago #55299
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic PHP error
@Alex
@Alex Walker
Can you please provide a link to your site demonstrating the issue? Check again the content inserted in the AllVideos tags.
@Alex Walker
Can you please provide a link to your site demonstrating the issue? Check again the content inserted in the AllVideos tags.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Alex Walker
- Offline
- New Member
Less
More
- Posts: 14
10 years 6 months ago - 10 years 6 months ago #55304
by Alex Walker
Replied by Alex Walker on topic PHP error
www.alexwalker.co.uk/chaplaincy/index.php/news
All the content is not displayed because of this error. I have used this for the parameters in the article
{mp3remote}s3-eu-west-1.amazonaws.com/lancasteruniversity/audio/TerryEagletonLecture.mp3{/mp3remote}
All the content is not displayed because of this error. I have used this for the parameters in the article
{mp3remote}s3-eu-west-1.amazonaws.com/lancasteruniversity/audio/TerryEagletonLecture.mp3{/mp3remote}
Last edit: 10 years 6 months ago by Alex Walker. Reason: url change
Please Log in or Create an account to join the conversation.
- Alex
- Offline
- New Member
Less
More
- Posts: 3
10 years 6 months ago #55305
by Alex
Replied by Alex on topic PHP error
rwave.ru/index.php/o-kompanii
All the content is not displayed because of this error.
article
{dailymotion}x1teeyv{/dailymotion}
{dailymotion}x1i9zu5{/dailymotion}
{dailymotion}x1i9zmo{/dailymotion}
All the content is not displayed because of this error.
article
{dailymotion}x1teeyv{/dailymotion}
{dailymotion}x1i9zu5{/dailymotion}
{dailymotion}x1i9zmo{/dailymotion}
Please Log in or Create an account to join the conversation.
- Alex Walker
- Offline
- New Member
Less
More
- Posts: 14
10 years 6 months ago #55306
by Alex Walker
Replied by Alex Walker on topic PHP error
OK not sure why, but the audio file is now working www.alexwalker.co.uk/chaplaincy
All I did was to highlight the actual link of the file and then go to the url link icon and paste the url in there. Save and it now works ! I can't recall having to do that before but I may be mistaken.
All I did was to highlight the actual link of the file and then go to the url link icon and paste the url in there. Save and it now works ! I can't recall having to do that before but I may be mistaken.
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
10 years 6 months ago #55310
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic PHP error
@Alex
@Alex Walker
You might need to check again the plugin tags you are using. Sometimes the WYSIWYG editors are placing HTML markup inside the tag which causes the plugin to break. Try to use the view source button of the editor to verify that the tag is clean and contains no HTML markup.
@Alex Walker
You might need to check again the plugin tags you are using. Sometimes the WYSIWYG editors are placing HTML markup inside the tag which causes the plugin to break. Try to use the view source button of the editor to verify that the tag is clean and contains no HTML markup.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Alex
- Offline
- New Member
Less
More
- Posts: 3
10 years 6 months ago - 10 years 6 months ago #55315
by Alex
Thanks, the problem is solved =)
Replied by Alex on topic PHP error
Lefteris wrote:
Sometimes the WYSIWYG editors are placing HTML markup inside the tag which causes the plugin to break. .
Thanks, the problem is solved =)
Last edit: 10 years 6 months ago by Alex.
Please Log in or Create an account to join the conversation.