- Posts: 27
COMMUNITY FORUM
[SOLVED] PHP error
- Dominik Kaptur
-
Topic Author
- Offline
- Junior Member
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
- Posts: 8743
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
- Posts: 3
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
- Posts: 14
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
- Posts: 8743
@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
- Posts: 14
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}
Please Log in or Create an account to join the conversation.
- Alex
-
- Offline
- New Member
- Posts: 3
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
- Posts: 14
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
- Posts: 8743
@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
- Posts: 3
Lefteris wrote:
Sometimes the WYSIWYG editors are placing HTML markup inside the tag which causes the plugin to break. .
Thanks, the problem is solved =)
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Moderator
- Posts: 8743
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.