Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Youtube Videos
05-08-2010, 03:55 PM
Post: #11
RE: Youtube Videos
No, just white empty page.
Find all posts by this user
Quote this message in a reply
05-08-2010, 06:56 PM
Post: #12
RE: Youtube Videos
If possible can you open the keywords.php and
Find
Code:
<?php
add after
Code:
ini_set("display_errors",1);
And try again and post back any errors if they are shown.
Find all posts by this user
Quote this message in a reply
05-08-2010, 11:33 PM (This post was last modified: 05-09-2010 02:14 AM by caravan_saray.)
Post: #13
RE: Youtube Videos
Added the code you provided, it displays back just nothing. Tried to go directly to /admin/keywords.php?k=1&action=update_youtube and still nothing. By looking into PHP log found the following warning and error:

[08-May-2010 19:31:27] PHP Warning: require_once(Zend/Gdata/Media.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in C:\KWC\includes\Zend\Zend\Gdata\YouTube.php on line 25

[08-May-2010 19:31:27] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'Zend/Gdata/Media.php' (include_path='.;C:\php5\pear:C:\KWC//includes/Zend/:') in C:\KWC\includes\Zend\Zend\Gdata\YouTube.php on line 25
Find all posts by this user
Quote this message in a reply
05-09-2010, 02:33 AM
Post: #14
RE: Youtube Videos
Found and fixed problem on my own. The line of code in includes\_global.php following the '// Setup Zend for Youtube' comment needs to be changed to:

ini_set('include_path',ini_get('include_path').';' . BASE_DIRECTORY . '/includes/Zend/;');

Original code was:

ini_set('include_path',ini_get('include_path').':' . BASE_DIRECTORY . '/includes/Zend/:');
Find all posts by this user
Quote this message in a reply
05-09-2010, 01:53 PM
Post: #15
RE: Youtube Videos
Ah I see what is now. bah for php Windows = ; for path separator while linux = : I was using : since that was in the docs that I was looking at. Will now use the PATH_SEPARATOR constant instead.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: