Jump to content

Transistor

New Members
  • Posts

    8
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

Transistor's Achievements

Newbie

Newbie (1/5)

0

Reputation

1

Community Answers

  1. Thanks, guys. I didn't get back to this for a week. I found that there was an error in the folder names after unpacking the files. The sample files all include `Sample_Header.php` (located in the samples folder. This has the lines, if (is_file(__DIR__ . '/../../Common/src/Common/Autoloader.php')) { include_once __DIR__ . '/../../Common/src/Common/Autoloader.php'; PhpOffice\Common\Autoloader::register(); } else { throw new Exception('Can not find the vendor or the common folder!'); } but the extraction of the install files created `Common-master`. Renaming the higher-level folder to `Common` seems to have resolved the problem. Hopefully this will help someone else.
  2. [PhpPresentation was formerly called PhpPowerpoint but renamed to avoid any issues with Microsoft.] The installation instructions, https://phppowerpoint.readthedocs.io/en/stable/installing.html, give the following instructions: require_once 'path/to/PhpPresentation/src/PhpPresentation/Autoloader.php'; \PhpOffice\PhpPresentation\Autoloader::register(); require_once 'path/to/PhpOffice/Common/src/Common/Autoloader.php'; \PhpOffice\Common\Autoloader::register(); I've downloaded and unzipped the files onto my cPanel (reseller account - so no CLI). Where do I put the lines of code? There are no instructions on the site. Many thanks.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.