-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XML Writer error #126
Comments
@niklas-agethen You are not using 0.4.0 but the develop version. Normally, you should have the package PhpOffice\Common in version 0.2.0
|
Any way to make 0.4.0 work properly? |
@niklas-agethen The version 0.4.0 runs without problem. (https://travis-ci.org/PHPOffice/PHPPowerPoint/builds/69867965). Could you show me your composer.json ? and the part of your code ? Please :) |
Hello! I have this problem too! Mac OS El Captain, Apache/2.4.16, PHP 5.5.29 Composer: Code: Sample 01 Complex (as is) |
Thank you! |
@niklas-agethen Have you always got the same problem ? |
@Progi1984 sorry, I'm confused! This problem has not been solved! In 127 using Composer (include 'vendor/autoload.php';), but i can't use it. Can i use PHPPresentation without Composer? This code in Sample_Header: error_reporting(E_ALL); require_once DIR . '/../src/PhpPresentation/Autoloader.php'; // Set writers But: |
@Progi1984 require_once DIR . '/../../Common/src/Common/Autoloader.php'; And problem has resolved. |
Perfect. I have not understand that you have downloaded directly from GIthub. |
@Nedobr Can you please tell me where have you stroed the files of Common Library? I am not getting in which directory should i copy it. |
When saving the generated PowerPoint-file, the following error occurs:
PHP Fatal error: Class 'PhpOffice\Common\XMLWriter' not found in ...\src\PhpPresentation\Writer\PowerPoint2007\AbstractPart.php on line 74
Working with current version (0.4.0) in connection with XAMPP on Windows.
Version 0.3.0 is working fine.
The text was updated successfully, but these errors were encountered: