Skip to content
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

Samples don't work #504

Open
AminothepIV opened this issue Mar 18, 2015 · 2 comments
Open

Samples don't work #504

AminothepIV opened this issue Mar 18, 2015 · 2 comments

Comments

@AminothepIV
Copy link

AminothepIV commented Mar 18, 2015

Hi altogether. I have just found phpWord and would love to install it, but I am facing some difficulties. Hope someone can help.

I have manually installed phpWord onto the server, but I don't get it to work properly (or at all).

When I go to samples, the requirement check looks like this:
PHP 5.3.3 ... passed
PHP extension XML ... passed
Temp folder "/tmp" is writable ... passed
PHP extension ZipArchive (optional) ... passed
PHP extension GD (optional) ... passed
PHP extension XMLWriter (optional) ... passed
PHP extension XSL (optional) ... failed

If I choose a Sample from the menu, it will display the Header and
Sample 03 Sections
11:39:56 Create new PhpWord object
(that's it).

I also tried to alter the code of the file like
require_once '../src/PhpWord/Autoloader.php';
\PhpOffice\PhpWord\Autoloader::register();
or other possible options
Unfortunately no effect at all.

Can you identify where I got wrong?

Thanks in advance!


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@meowmeowgrr
Copy link

requires write permission.
for running sample, give permission 777 to PHPWord directory and it's subdirectory. it'll work fine.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If this is still an issue for you, please try to help by debugging it further and sharing your results.
Thank you for your contributions.

@github-actions github-actions bot added the Stale label Nov 18, 2022
@Progi1984 Progi1984 removed the Stale label Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants