Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

3 Warnings and an error - PHP Standalone installation


  • Please log in to reply
1 reply to this topic

#1 Vida Perez Velazquez

Vida Perez Velazquez

    Member

  • Members
  • PipPip
  • 12 posts

Posted 26 October 2011 - 11:05 AM

Not sure what I'm doing wrong. Please advise. Thanks in advance

My PHP code

<?php
  
    $tubepress_base_url = "http://vidaperez.com/tpro";
  
    include "http://vidaperez.com/tpro/sys/classes/TubePressPro.class.php";
?>
  
<html>
    <head>
        <title>Praying As An Intercerder by Juanita Bynum</title>
  
        <?php print TubePressPro::getHtmlForHead(true); ?>
         
    </head>
    <body>
          
        <?php print TubePressPro::getHtmlForShortcode('mode="playlist" playlistValue="8CB614097A6396EC"'); ?>
 
    </body>
</html>

The errors (http://vidaperez.com/interceder.php)

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /homepages/32/d210244991/htdocs/vidaperez/interceder.php on line 5

Warning: include(http://vidaperez.com.../T....class.php) [function.include]: failed to open stream: no suitable wrapper could be found in /homepages/32/d210244991/htdocs/vidaperez/interceder.php on line 5

Warning: include() [function.include]: Failed opening 'http://vidaperez.com/tpro/sys/classes/TubePressPro.class.php' for inclusion (include_path='.:/usr/lib/php5') in /homepages/32/d210244991/htdocs/vidaperez/interceder.php on line 5

Fatal error: Class 'TubePressPro' not found in /homepages/32/d210244991/htdocs/vidaperez/interceder.php on line 12

#2 Vida Perez Velazquez

Vida Perez Velazquez

    Member

  • Members
  • PipPip
  • 12 posts

Posted 26 October 2011 - 03:15 PM

Sorted.