Wordpress ProPlayer (most popular media plugin for WP) support in x10hosting

Status
Not open for further replies.

woayumi71

New Member
Messages
26
Reaction score
0
Points
0
Wordpress offers ProPlayer media plugin for it's users. It is one most popular media plugin for wordpress, but since wordpress has been updated to 3.2.1, this plugin shows error, because it was made for previous engine: "This Playlist is not a valid XML file".

Plugin creator gone south, but people say, that this error can be fixed easily by entering
Code:
[COLOR=#333333][FONT=Verdana]error_reporting = E_ALL & ~E_DEPRECATED[/FONT][/COLOR]
into php.ini file.

I tried to enter it through "PHP Variables Manager", but it shows error: "Variable error_reporting = E_ALL & ~E_DEPRECATED unknown!
After I tried this few more times, it gave nothing, but people say, it helps them.

I need to enter this into php.ini somehow, to make ProPlayer plugin work.

Help Wordpress users to make stuff work, my friends.

http://www.pressessentials.com/2009/08/proplayer-this-playlist-is-not-a-valid-xml-file/
 
Last edited:

calistoy

Free Support Volunteer
Community Support
Messages
5,602
Reaction score
87
Points
48
error_reporting = E_ALL & ~E_DEPRECATED

Try this instead in the php variables manager:

error_reporting(0)

php.ini is not accessible to any free hosting users. It's set server wide and can not be changed on an individual account basis.
 
Last edited by a moderator:

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Add:

error_reporting(E_ALL & ~E_DEPRECATED);

at the top of the PHP section of your home page (for wordpress it should be index.php).
 

woayumi71

New Member
Messages
26
Reaction score
0
Points
0
Here's how I did it:

PHP:
error_reporting(E_ALL & ~E_DEPRECATED);
<?php get_header(); ?>
<?php get_sidebar(); ?>

<div id="wrapper" class="clearfix" > 
<div id="maincol" >


<?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>

<h2 class="contentheader"><?php the_title(); ?></h2>
<div class="content">
<div class="permalink"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">Permanent Link</a></div>
<?php the_content('Read more &raquo;'); ?>


<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
<div id="postinfotext">
Posted: <?php the_time('F jS, Y') ?><br/>
Categories: <?php the_category(', ') ?><br/>
Tags: <?php the_tags(''); ?><br/>
Comments: <a href="<?php comments_link(); ?>"><?php comments_number('No Comments','1 Comment','% Comments'); ?></a>.
</div>

</div>    
<?php endwhile; ?>

<div class="navigation">
<span class="prevlink"><?php next_posts_link('Previous entries') ?></span>
<span class="nextlink"><?php previous_posts_link('Next entries') ?></span>
</div>
        
<?php else : ?>
<h2 class="contentheader">Not found!</h2>
<p>Could not find the requested page. Use the navigation menu to find your target, or use the search box below:</p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>



</div>
</div>

<?php get_footer(); ?>
 
Last edited:

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
The statement error_reporting(E_ALL & ~E_DEPRECATED); is a PHP statement -- it needs to go between <?php and ?> tags.
 

woayumi71

New Member
Messages
26
Reaction score
0
Points
0
I tried then to take it into <?php and ?> tags, but it does not work anyway.
What should I do?
 
Last edited:

calistoy

Free Support Volunteer
Community Support
Messages
5,602
Reaction score
87
Points
48
Could you copy and paste what you did to put it in between <?php and ?> tags again after the last instruction?
 

woayumi71

New Member
Messages
26
Reaction score
0
Points
0
Sure!

PHP:
<?php error_reporting(E_ALL & ~E_DEPRECATED); ?>
<?php get_header(); ?>
<?php get_sidebar(); ?>

<div id="wrapper" class="clearfix" > 
<div id="maincol" >


<?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>

<h2 class="contentheader"><?php the_title(); ?></h2>
<div class="content">
<div class="permalink"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">Permanent Link</a></div>
<?php the_content('Read more &raquo;'); ?>


<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
<div id="postinfotext">
Posted: <?php the_time('F jS, Y') ?><br/>
Categories: <?php the_category(', ') ?><br/>
Tags: <?php the_tags(''); ?><br/>
Comments: <a href="<?php comments_link(); ?>"><?php comments_number('No Comments','1 Comment','% Comments'); ?></a>.
</div>

</div>	
<?php endwhile; ?>

<div class="navigation">
<span class="prevlink"><?php next_posts_link('Previous entries') ?></span>
<span class="nextlink"><?php previous_posts_link('Next entries') ?></span>
</div>
		
<?php else : ?>
<h2 class="contentheader">Not found!</h2>
<p>Could not find the requested page. Use the navigation menu to find your target, or use the search box below:</p>
<?php include (TEMPLATEPATH . "/searchform.php"); ?>
<?php endif; ?>



</div>
</div>

<?php get_footer(); ?>
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Now go to public_html and do what I told you to do.
 

woayumi71

New Member
Messages
26
Reaction score
0
Points
0
can you please explain, what should I do in public_html folder?

I supposed, I should've edited index.php in public_html folder, so I also edited that file too:
<?php error_reporting(E_ALL & ~E_DEPRECATED); ?>
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/

/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);

/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');
?>
 
Last edited:
Status
Not open for further replies.
Top