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

installing standalone ???? (error)


  • Please log in to reply
1 reply to this topic

#1 James Murray

James Murray

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 23 January 2013 - 12:02 PM

Hello... I get this error.... Trying to run the examples.....

***** it this correct**** ??????

$tubepress_base_url = 'http://mywebsite.com/';

/*
* STEP 2/4
*
* Include TubePressPro.class.php. An absolute path on your filesystem is the least error prone.
*/
include 'http://mywebsite.com/src/main/php/classes/TubePressPro.php';
?>
*
*
*********************************
These are the errors......
*****************************************


Warning: include() [function.include]: URL file-access is disabled in the server configuration in /hermes/bosoraweb082/b1575/nf.casinosrus/public_html/mywebsite.com/examples/standalone_php.php on line 34

Warning: include(http://mywebsite.com...ss...essPro.php) [function.include]: failed to open stream: no suitable wrapper could be found in /hermes/bosoraweb082/b1575/nf.casinosrus/public_html/mywebsite.com/examples/standalone_php.php on line 34

Warning: include() [function.include]: Failed opening 'http://mywebsite.com/src/main/php/classes/TubePressPro.php' for inclusion (include_path='.:/usr/local/lib/php-5.2.17/lib/php') in /hermes/bosoraweb082/b1575/nf.casinosrus/public_html/mywebsite.com/examples/standalone_php.php on line 34

Fatal error: Class 'TubePressPro' not found in /hermes/bosoraweb082/b1575/nf.casinosrus/public_html/mywebsite.com/examples/standalone_php.php on line 47


Thanks
James

#2 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 23 January 2013 - 07:02 PM

Hi James,

If you are using TubePress 2.4.5, please carefully follow the instructions found here.

But based on what you've posted here it looks like you're using TubePress Pro 3.0.0.RC3? In that case, something like this should work:

$tubepress_base_url = 'http://mywebsite.com/';include '/hermes/bosoraweb082/b1575/nf.casinosrus/public_html/mywebsite.com/src/main/php/classes/TubePressPro.php';
Obviously you'll want to replace "mywebsite.com" with the actual URL of your site. Finally, and again this is only relevant if you're using TubePress Pro 3.0.0.RC3, please make the simple fix found here, which addresses a bug discovered in the past few days.

Give that a try and let us know? Thanks!