Hi Guys
I have a really frustratin issue. I have developed a site on Xampp. Using a Google API and the Zend Framework, I have created a page. This worked fine on Xampp and I set the include_path fine.
Now I have out all of my files to my liver server, I cannot change the include path on the php.ini file. I have tried different solutions, but they have not resolved the issue. I am proably doing something very stupid, but its getting frustrating that i cannot get this working. I get the following error when trying to run the page I want.
Warning: include(Zend/Loader.php) [function.include]: failed to open stream: No such file or directory in /home/escapis1/public_html/iit/picassaGallery.php on line 75
Warning: include(Zend/Loader.php) [function.include]: failed to open stream: No such file or directory in /home/escapis1/public_html/iit/picassaGallery.php on line 75
Warning: include() [function.include]: Failed opening 'Zend/Loader.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/public_html/iit/ZendGdata/library') in /home/escapis1/public_html/iit/picassaGallery.php on line 75
Fatal error: Class 'Zend_Loader' not found in /home/escapis1/public_html/iit/picassaGallery.php on line 80
I have tried adding to the include_path like it says in the PHP manual:
<?php
$path = '/public_html/iit/ZendGdata/library';
set_include_path(get_include_path() . PATH_SEPARATOR . $path);
?>
or
<?php
$path = 'usr/local/ZendGdata/library';
set_include_path(get_include_path() . PATH_SEPARATOR . $path);
?>
and I also tried just addin the path to in the require_once command like
require_once 'ZendGdata/library/Zend/Loader.php';
I don't kno what I need to do to get this working now. The path where the required file lives is : public_html/iit/ZendGdata/library.
Can anyone please help me or advise on how I can fix this issue. Thanks a lot for the help
kind regards