2013-10-12 29 views
0

我试图使用PHPPowerPoint(我从http://phppowerpoint.codeplex.com/releases/view/26621下载);我下载了包含库和用于生成Powerpoint的测试代码的源文件。它工作正常如果我在Web表单应用程序中使用它; howerver我必须在CodeIgniter MVC应用程序中使用它,所以我把名为“classes”的库文件夹放置在codeigniter框架的“libraries”中,并且Im试图使用其中一个示例代码(它们提供用于生成Powerpoint)我的模特;但挣扎了几个小时后,我无法修复的要求这是我从smaple代码(01simple.php)获取路径和它给了我下面的错误:在MVC Codeigniter中使用PHPpowerpoint

Fatal error: require_once(): Failed opening required 'PHPPowerPoint.php' (include_path='.;C:\xampp\php\PEAR') in 

C:\xampp\htdocs\Project1\application\libraries\PHPPowerpoint\Classes\PHPPowerpoint\Slide.php on line 30

能否请你帮我怎么可以在MVC CodeIgniter中使用这个phppowerpoint库?我真的很感激,如果你能帮助我设置。对不起,如果我的问题含糊不清,请让我知道,我会提供更多信息

回答

1

它基本上看起来像你有你的路径问题。我会检查你要求的地方,与图书馆在服务器上实际存在的位置有关。你可能只需要玩弄你的要求陈述。

也许这个链接会帮忙吗? http://www.codingforums.com/archive/index.php/t-258928.html

+0

我在新的评论中添加了我的调试尝试;我真的很感谢你的帮助:) – user385729

+0

你在评论中的帮助解决了我的问题!谢谢:) – user385729